[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC V5 09/11] quorum: Add quorum_getlength().
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [RFC V5 09/11] quorum: Add quorum_getlength(). |
Date: |
Mon, 27 Aug 2012 12:03:48 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 08/27/2012 01:30 AM, Benoît Canet wrote:
> Signed-off-by: Benoit Canet <address@hidden>
> ---
> block/quorum.c | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
Say I'm using a 2/3 quorum. What happens if:
image A and B agree on initial content, but not length
image B and C agree on length, but not content
Does disagreeing with quorum consensus invalidate that member of the
quorum from influencing further decisions? If there is a length
discrepancy, should we declare the quorum failed rather than relying on
a mere majority vote? Or, if there is a length discrepancy, does
reading the contents beyond the end of the shorter files consider the
contents to be okay if the longer files have only NUL bytes in the extra
length? I'm worried that you haven't fully thought through all the
scenarios here.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [RFC V5 04/11] quorum: Add quorum_aio_writev and its dependencies., (continued)
- [Qemu-devel] [RFC V5 04/11] quorum: Add quorum_aio_writev and its dependencies., Benoît Canet, 2012/08/27
- [Qemu-devel] [RFC V5 03/11] quorum: Add quorum_open() and quorum_close()., Benoît Canet, 2012/08/27
- [Qemu-devel] [RFC V5 07/11] quorum: Add quorum_aio_readv., Benoît Canet, 2012/08/27
- [Qemu-devel] [RFC V5 08/11] quorum: Add quorum mechanism., Benoît Canet, 2012/08/27
- [Qemu-devel] [RFC V5 06/11] quorum: Add quorum_co_flush()., Benoît Canet, 2012/08/27
- [Qemu-devel] [RFC V5 10/11] quorum: Add quorum_invalidate_cache()., Benoît Canet, 2012/08/27
- [Qemu-devel] [RFC V5 11/11] quorum: Add quorum_co_is_allocated., Benoît Canet, 2012/08/27
- [Qemu-devel] [RFC V5 09/11] quorum: Add quorum_getlength()., Benoît Canet, 2012/08/27
- Re: [Qemu-devel] [RFC V5 09/11] quorum: Add quorum_getlength().,
Eric Blake <=