From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aflUS-0006KZ-4V for qemu-devel@nongnu.org; Tue, 15 Mar 2016 05:42:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aflUO-0002MR-Tm for qemu-devel@nongnu.org; Tue, 15 Mar 2016 05:42:12 -0400 From: Alberto Garcia Date: Tue, 15 Mar 2016 11:41:34 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/2] Emit QUORUM_REPORT_BAD for reads in fifo mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Changlong Xie , Alberto Garcia , qemu-block@nongnu.org, Max Reitz This is a follow-up to the "Separate QUORUM_REPORT_BAD events" series: https://lists.gnu.org/archive/html/qemu-devel/2016-03/msg02402.html 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. This applies on top of Kevin's block branch. Regards, Berto Alberto Garcia (2): quorum: Emit QUORUM_REPORT_BAD for reads in fifo mode iotests: Test QUORUM_REPORT_BAD in fifo mode block/quorum.c | 17 +++++++++-------- tests/qemu-iotests/148 | 17 +++++++++++++++-- tests/qemu-iotests/148.out | 4 ++-- 3 files changed, 26 insertions(+), 12 deletions(-) -- 2.7.0