From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agD4A-00037D-G3 for qemu-devel@nongnu.org; Wed, 16 Mar 2016 11:08:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agD45-0003k4-HA for qemu-devel@nongnu.org; Wed, 16 Mar 2016 11:08:54 -0400 References: From: Max Reitz Message-ID: <56E976F2.2030408@redhat.com> Date: Wed, 16 Mar 2016 16:08:34 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2miMi6nx8NMNUMmx8ftC8DJpeGO4VhSng" Subject: Re: [Qemu-devel] [PATCH 1/2] quorum: Emit QUORUM_REPORT_BAD for reads in fifo mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia , qemu-devel@nongnu.org Cc: Changlong Xie , qemu-block@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2miMi6nx8NMNUMmx8ftC8DJpeGO4VhSng Content-Type: multipart/mixed; boundary="bGGrkBTOT454l1KUXbQjhChK1cRwP8ARf" From: Max Reitz To: Alberto Garcia , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Changlong Xie , Wen Congyang Message-ID: <56E976F2.2030408@redhat.com> Subject: Re: [PATCH 1/2] quorum: Emit QUORUM_REPORT_BAD for reads in fifo mode References: In-Reply-To: --bGGrkBTOT454l1KUXbQjhChK1cRwP8ARf Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 15.03.2016 10:41, Alberto Garcia wrote: > 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=3Dfifo. This patch fixes this problem. >=20 > Signed-off-by: Alberto Garcia > --- > block/quorum.c | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) Reviewed-by: Max Reitz --bGGrkBTOT454l1KUXbQjhChK1cRwP8ARf-- --2miMi6nx8NMNUMmx8ftC8DJpeGO4VhSng Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJW6XbyAAoJEDuxQgLoOKyt9aEIAKMMy3yMxwCUGITkn4h3eGGQ kmhN0l+c/rmLgKBm7K+2k/z5a9DGdhQdWmbTX2SwROgYDgheix0g9/90lM/aYiHg 5WCa3F4WMApR4DOtHtZyYELSjC1kGuG1WU6JZg1tjppvARl3b1FCOGFJds4NSdBK 44L8mAaT2cvv9gaGLgHC8IoeWvPwMzJVnVbZxbHiO4RmwVzE+6imOCi7WnSFxe65 lcHiX3TdBIcm3w3JCcjGC6HJgmFSo1gRq1lyz0xJspBRYvXaXVRq3G0ClYXHp7ZL YB5x8WLl4i61kZns+SorvSNNp+ZWcapS6hy0/VY/cKFp0+GsRcDScV8APX/ElL8= =8Li3 -----END PGP SIGNATURE----- --2miMi6nx8NMNUMmx8ftC8DJpeGO4VhSng--