diff options
author | Alberto Garcia <berto@igalia.com> | 2016-03-10 13:55:25 +0200 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:49:37 -0600 |
commit | cd55c806128960ee4ab0d75427520764ce1bd4f9 (patch) | |
tree | 07a82e3ccdb6df804db5049566ff160ef6f589dc /target-cris/crisv32-decode.h | |
parent | e36c44e1a88ef83675a37a03d34ce6dca6ccc019 (diff) | |
download | hqemu-cd55c806128960ee4ab0d75427520764ce1bd4f9.zip hqemu-cd55c806128960ee4ab0d75427520764ce1bd4f9.tar.gz |
monitor: Separate QUORUM_REPORT_BAD events according to the node name
The QUORUM_REPORT_BAD event is emitted whenever there's an I/O error
in a child of a Quorum device. This event is emitted at a maximum rate
of 1 per second. This means that an error in one of the children will
mask errors in the other children if they happen within the same 1
second interval.
This patch modifies qapi_event_throttle_equal() so QUORUM_REPORT_BAD
events are kept separately if they come from different children.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: b989c0cb3755bc4b6696e796fa8ed2ef6c56606a.1457610443.git.berto@igalia.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'target-cris/crisv32-decode.h')
0 files changed, 0 insertions, 0 deletions