Re: [Qemu-devel] [RFC 00/12] Qorum disk image corruption resiliency

2012-08-03 Thread Benoît Canet
Le Friday 03 Aug 2012 à 16:14:51 (+), Blue Swirl a écrit : > On Thu, Aug 2, 2012 at 10:16 AM, Benoît Canet wrote: > > This patchset create a block driver implementing a qorum using three qemu > > disk > > images. Writes are mirrored on the three files. > > For the reading part the three files

Re: [Qemu-devel] [RFC 00/12] Qorum disk image corruption resiliency

2012-08-03 Thread Blue Swirl
On Thu, Aug 2, 2012 at 10:16 AM, Benoît Canet wrote: > This patchset create a block driver implementing a qorum 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 ma

Re: [Qemu-devel] [RFC 00/12] Qorum disk image corruption resiliency

2012-08-03 Thread Stefan Hajnoczi
On Thu, Aug 2, 2012 at 8:22 PM, Benoît Canet wrote: >> I'm not entirely sure I understand the use-case all that well. >> >> Wouldn't the more typical approach be RAID-5 and the use of parity >> instead of relying on voting? >> >> Quorum doesn't work well with an odd number of disks whereas RAID-5

Re: [Qemu-devel] [RFC 00/12] Qorum disk image corruption resiliency

2012-08-02 Thread Benoît Canet
> I'm not entirely sure I understand the use-case all that well. > > Wouldn't the more typical approach be RAID-5 and the use of parity > instead of relying on voting? > > Quorum doesn't work well with an odd number of disks whereas RAID-5 > does. You also get significantly more usable disk spac

Re: [Qemu-devel] [RFC 00/12] Qorum disk image corruption resiliency

2012-08-02 Thread Anthony Liguori
Benoît Canet writes: > This patchset create a block driver implementing a qorum 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 majoritary qiov version. It then

Re: [Qemu-devel] [RFC 00/12] Qorum disk image corruption resiliency

2012-08-02 Thread Benoît Canet
Le Thursday 02 Aug 2012 à 07:17:35 (-0600), Eric Blake a écrit : > How does this fit with snapshots? Does a snapshot of a quorum require > passing in three filenames, one for each of the three sources? For now quorum lives on top of qcow*/qed it doesn't fit well with snapshot: it a step before tu

Re: [Qemu-devel] [RFC 00/12] Qorum disk image corruption resiliency

2012-08-02 Thread Eric Blake
On 08/02/2012 04:16 AM, Benoît Canet wrote: > This patchset create a block driver implementing a qorum using three qemu disk s/qorum/quorum/g throughout the series, including subject line > images. Writes are mirrored on the three files. > For the reading part the three files are read at the same

[Qemu-devel] [RFC 00/12] Qorum disk image corruption resiliency

2012-08-02 Thread Benoît Canet
This patchset create a block driver implementing a qorum 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 majoritary qiov version. It then return this majoritary version