Received: from eggs.gnu.org ([2001:4830:134:3::10]:33278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNPfI-0000l2-Az for qemu-devel@nongnu.org; Tue, 11 Mar 2014 12:36:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNPfC-0002Qu-W1 for qemu-devel@nongnu.org; Tue, 11 Mar 2014 12:36:28 -0400 Received: from lnantes-156-75-100-125.w80-12.abo.wanadoo.fr ([80.12.84.125]:56027 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNPfC-0002Qf-PT for qemu-devel@nongnu.org; Tue, 11 Mar 2014 12:36:22 -0400 From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Tue, 11 Mar 2014 17:36:17 +0100 Message-Id: <1394555780-27665-1-git-send-email-benoit.canet@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/3] Quorum maintainance operations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, =?UTF-8?q?Beno=C3=AEt=20Canet?= , stefanha@redhat.com, mreitz@redhat.com Hello, This series for 2.1 add the missing maintainance feature for Quorum. The first patch allows quorum to correct corrupted reads by rewriting the= m. The second add the drive-mirror-replace command to be used on a drive-mir= rored device to replace a target bs by the mirror. The series apply on top of Fam's NBD image feecing patches. Best regards Beno=C3=AEt Beno=C3=AEt Canet (3): quorum: Add the rewrite-corrupted parameter to quorum. block: Add drive-mirror-replace command to repair quorum files. qemu-iotests: Add 088 new test for drive-mirror-replace. block.c | 6 +- block/mirror.c | 115 +++++++++++++++++++++- block/quorum.c | 97 ++++++++++++++++-- blockdev.c | 27 ++++++ include/block/block.h | 3 + include/block/block_int.h | 15 +++ qapi-schema.json | 38 +++++++- qmp-commands.hx | 5 + tests/qemu-iotests/041 | 34 +------ tests/qemu-iotests/081 | 14 +++ tests/qemu-iotests/081.out | 11 ++- tests/qemu-iotests/088 | 221 ++++++++++++++++++++++++++++++++++++= ++++++ tests/qemu-iotests/088.out | 5 + tests/qemu-iotests/group | 1 + tests/qemu-iotests/iotests.py | 33 +++++++ trace-events | 1 + 16 files changed, 579 insertions(+), 47 deletions(-) create mode 100755 tests/qemu-iotests/088 create mode 100644 tests/qemu-iotests/088.out --=20 1.8.3.2