From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOufk-0005LA-Mq for qemu-devel@nongnu.org; Sat, 15 Mar 2014 15:55:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOufc-0004u4-EP for qemu-devel@nongnu.org; Sat, 15 Mar 2014 15:55:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOufc-0004tu-6C for qemu-devel@nongnu.org; Sat, 15 Mar 2014 15:55:00 -0400 Message-ID: <5324B00B.1010407@redhat.com> Date: Sat, 15 Mar 2014 20:54:51 +0100 From: Max Reitz MIME-Version: 1.0 References: <1394810322-13237-1-git-send-email-benoit.canet@irqsave.net> <1394810322-13237-3-git-send-email-benoit.canet@irqsave.net> In-Reply-To: <1394810322-13237-3-git-send-email-benoit.canet@irqsave.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH V3 2/3] block: Add drive-mirror-replace command to repair quorum files. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Beno=EEt_Canet?= , qemu-devel@nongnu.org Cc: kwolf@redhat.com, Benoit Canet , stefanha@redhat.com On 14.03.2014 16:18, Beno=EEt Canet wrote: > When a quorum file is totally destroyed (broken NAS or SAN) the user ca= n start a > drive-mirror job on the quorum block backend and then replace the broke= n > quorum file with drive-mirror-replace given it has a node-name. > > Signed-off-by: Benoit Canet > --- > block.c | 8 ++-- > block/mirror.c | 116 +++++++++++++++++++++++++++++++++++++= +++++++-- > blockdev.c | 27 +++++++++++ > include/block/block.h | 3 ++ > include/block/block_int.h | 15 ++++++ > qapi-schema.json | 33 +++++++++++++ > qmp-commands.hx | 5 ++ > trace-events | 1 + > 8 files changed, 202 insertions(+), 6 deletions(-) Reviewed-by: Max Reitz