diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:36:17 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:50 +0100 |
commit | 9dcbe9a7e8e3bd40315c00682ff3f42b832dd435 (patch) | |
tree | d52ec7bc3249f61203eb98466d9a1c90ca690a1a | |
parent | 449dbec15a39da4f8c2d7e9178a997c5b486f397 (diff) |
qmp-events: move 'QUORUM_FAILURE' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r-- | docs/qmp-events.txt | 19 | ||||
-rw-r--r-- | qapi/event.json | 9 |
2 files changed, 9 insertions, 19 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index f8e777ce89..c0a3bb8fd4 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -36,25 +36,6 @@ Example: }, "timestamp": { "seconds": 1265044230, "microseconds": 450486 } } -QUORUM_FAILURE --------------- - -Emitted by the Quorum block driver if it fails to establish a quorum. - -Data: - -- "reference": device name if defined else node name. -- "sector-num": Number of the first sector of the failed read operation. -- "sectors-count": Failed read operation sector count. - -Example: - -{ "event": "QUORUM_FAILURE", - "data": { "reference": "usr1", "sector-num": 345435, "sectors-count": 5 }, - "timestamp": { "seconds": 1344522075, "microseconds": 745528 } } - -Note: this event is rate-limited. - QUORUM_REPORT_BAD ----------------- diff --git a/qapi/event.json b/qapi/event.json index c131a4ff20..af69331c94 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -504,7 +504,16 @@ # # @sectors-count: failed read operation sector count # +# Note: This event is rate-limited. +# # Since: 2.0 +# +# Example: +# +# <- { "event": "QUORUM_FAILURE", +# "data": { "reference": "usr1", "sector-num": 345435, "sectors-count": 5 }, +# "timestamp": { "seconds": 1344522075, "microseconds": 745528 } } +# ## { 'event': 'QUORUM_FAILURE', 'data': { 'reference': 'str', 'sector-num': 'int', 'sectors-count': 'int' } } |