From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SztHg-0003s9-1U for qemu-devel@nongnu.org; Fri, 10 Aug 2012 13:46:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SztHe-00026X-1z for qemu-devel@nongnu.org; Fri, 10 Aug 2012 13:46:03 -0400 Received: from paradis.irqsave.net ([109.190.18.76]:43559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SztHd-00024k-Px for qemu-devel@nongnu.org; Fri, 10 Aug 2012 13:46:01 -0400 Date: Fri, 10 Aug 2012 19:45:51 +0200 From: =?iso-8859-1?Q?Beno=EEt?= Canet Message-ID: <20120810174550.GA2033@irqsave.net> References: <1344347073-7773-1-git-send-email-benoit@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 00/10] Quorum disk image corruption resiliency List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: kwolf@redhat.com, =?iso-8859-1?Q?Beno=EEt?= Canet , stefanha@linux.vnet.ibm.com, qemu-devel@nongnu.org, blauwirbel@gmail.com, anthony@codemonkey.ws, pbonzini@redhat.com, eblake@redhat.com, afaerber@suse.de Le Wednesday 08 Aug 2012 =E0 15:55:58 (+0100), Stefan Hajnoczi a =E9crit = : > On Tue, Aug 7, 2012 at 2:44 PM, Beno=EEt Canet = wrote: > > This patchset create a block driver implementing a quorum using three= qemu disk > > images. Writes are mirrored on the three files. > > For the reading part the three files are read at the same time and a = vote is > > done to determine which is the majority qiov version. It then return = this > > majority version to the upper layers. > > When three differents versions of the data are returned by the lower = layer the > > quorum is broken and the read return -EIO. >=20 > If you make the quorum setting configurable, then this can replace > blkverify. n=3D2 is blkverify, n=3D3 is your current patch series, n/m= is > also possible where n=3Dnumber of mirrors and m=3Dthreshold needed to > achieve quorum. I am working on making the quorum settings configurable. I will post the new patchset next week. Beno=EEt >=20 > Stefan >=20