diff options
| author | Changlong Xie | 2016-02-26 02:39:02 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2016-03-14 16:46:43 +0100 |
| commit | 924e8a2bbc7cc62b3996efe9a2a460f541c04520 (patch) | |
| tree | e8ffc54bf34296b6a80b8a72c17a17625ae8782e /blockdev.c | |
| parent | qmp event: Refactor QUORUM_REPORT_BAD (diff) | |
| download | qemu-924e8a2bbc7cc62b3996efe9a2a460f541c04520.tar.gz qemu-924e8a2bbc7cc62b3996efe9a2a460f541c04520.tar.xz qemu-924e8a2bbc7cc62b3996efe9a2a460f541c04520.zip | |
quorum: modify vote rules for flush operation
Keep flush interface the same logic as quorum read/write, Otherwise in
following scenario, we'll encounter unexpected errors.
Quorum has two children(A, B). A do flush sucessfully, but B flush failed.
This cause the filesystem of guest become read-only with following errors:
end_request: I/O error, dev vda, sector 11159960
Aborting journal on device vda3-8
EXT4-fs error (device vda3): ext4_journal_start_sb:327: Detected abort journal
EXT4-fs (vda3): Remounting filesystem read-only
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
