qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/1] change quorum vote rules for 64-bits hash
@ 2016-02-16  2:15 Changlong Xie
  2016-02-16  2:15 ` [Qemu-devel] [PATCH v2 1/1] quorum: Change vote rules for 64 bits hash Changlong Xie
  0 siblings, 1 reply; 17+ messages in thread
From: Changlong Xie @ 2016-02-16  2:15 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 | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2016-02-23  2:54 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-16  2:15 [Qemu-devel] [PATCH v2 0/1] change quorum vote rules for 64-bits hash Changlong Xie
2016-02-16  2:15 ` [Qemu-devel] [PATCH v2 1/1] quorum: Change vote rules for 64 bits hash Changlong Xie
2016-02-18 10:00   ` Dr. David Alan Gilbert
2016-02-18 15:16   ` Alberto Garcia
2016-02-19  8:26     ` Wen Congyang
2016-02-19 11:24       ` Alberto Garcia
2016-02-20 14:28         ` Max Reitz
2016-02-22  3:17           ` Changlong Xie
2016-02-22  9:02             ` Dr. David Alan Gilbert
2016-02-22  9:52               ` Changlong Xie
2016-02-22  9:59                 ` Dr. David Alan Gilbert
2016-02-22 10:34               ` Kevin Wolf
2016-02-22 10:39                 ` Dr. David Alan Gilbert
2016-02-23  2:55                 ` Changlong Xie
2016-02-22 13:31           ` Alberto Garcia
2016-02-22 13:43             ` Alberto Garcia
2016-02-22 16:37             ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).