All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/1] change quorum vote rules for 64-bits hash
@ 2016-02-15  9:52 Changlong Xie
  2016-02-15  9:52 ` [Qemu-devel] [PATCH 1/1] quorum: change vote rules for 64 bits hash Changlong Xie
  0 siblings, 1 reply; 4+ messages in thread
From: Changlong Xie @ 2016-02-15  9:52 UTC (permalink / raw)
  To: qemu devel, Alberto Garcia, Kevin Wolf, Eric Blake; +Cc: Dr. David Alan Gilbert

If quorum has two children(A, B). A do flush sucessfully, but 
B flush failed. We MUST choice A as winner, otherwise we will 
get following errors:

{"timestamp": {"seconds": 1455641588, "microseconds": 415937}, 
"event": "BLOCK_IO_ERROR", "data": {"device": "colo-disk", 
"nospace": false, "reason": "Bad file descriptor", "operation": 
"write", "action": "report"}}

And the filesystem of guest became read-only with following errors:

[xxx] end_request: I/O error, dev vda, sector 11159960
[xxx] Aborting journal on device vda3-8
[xxx] EXT4-fs error (device vda3): ext4_journal_start_sb:327: Detected abort journal
[xxx] EXT4-fs (vda3): Remounting filesystem read-only

[Ref] http://lists.nongnu.org/archive/html/qemu-devel/2016-01/msg05342.html 

Changlong Xie (1):
  quorum: change vote rules for 64 bits hash

 block/quorum.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-16  1:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-15  9:52 [Qemu-devel] [PATCH 0/1] change quorum vote rules for 64-bits hash Changlong Xie
2016-02-15  9:52 ` [Qemu-devel] [PATCH 1/1] quorum: change vote rules for 64 bits hash Changlong Xie
2016-02-15 17:10   ` Eric Blake
2016-02-16  1:37     ` Changlong Xie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.