]> git.proxmox.com Git - mirror_qemu.git/commit
quorum: Emit QUORUM_REPORT_BAD for reads in fifo mode
authorAlberto Garcia <berto@igalia.com>
Tue, 15 Mar 2016 09:41:35 +0000 (11:41 +0200)
committerMax Reitz <mreitz@redhat.com>
Thu, 17 Mar 2016 15:43:30 +0000 (16:43 +0100)
commit6049490df4e1d89e239b7d9908b3f3213f73bdc5
tree8a59673e6d816bebaa5701f77a75ce5e2a1d5423
parent8896e08814a99ad9e3f25ad1fd0b51721c3baa77
quorum: Emit QUORUM_REPORT_BAD for reads in fifo mode

If there's an I/O error in one of Quorum children then QEMU
should emit QUORUM_REPORT_BAD. However this is not working with
read-pattern=fifo. This patch fixes this problem.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-id: d57e39e8d3e8564003a1e2aadbd29c97286eb2d2.1458034554.git.berto@igalia.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/quorum.c