qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 2/2] qapi: add read-pattern support for quoru


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v3 2/2] qapi: add read-pattern support for quorum
Date: Tue, 15 Jul 2014 06:22:14 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 07/15/2014 12:34 AM, Liu Yuan wrote:
> Cc: Eric Blake <address@hidden>
> Signed-off-by: Liu Yuan <address@hidden>
> ---
>  qapi/block-core.json | 19 ++++++++++++++++++-
>  1 file changed, 18 insertions(+), 1 deletion(-)
> 
> diff --git a/qapi/block-core.json b/qapi/block-core.json
> index e378653..22491bc 100644
> --- a/qapi/block-core.json
> +++ b/qapi/block-core.json
> @@ -1384,6 +1384,18 @@
>              'raw': 'BlockdevRef' } }
>  
>  ##
> +# @QuorumReadPattern
> +# An enumeration of quorum read pattern.

s/pattern/patterns/

> +#
> +# @quorum: read all the children and do a quorum vote on reads
> +#
> +# @fifo: read a single child and try next child in FIFO order if read fails.

Inconsistent on whether you are ending a line with '.'.  I'm not quite
sure if this reads well; maybe:

@fifo: read only from the first child that has not failed

I also wonder if 'single' might be a better name than 'fifo', especially
if we later add a 'round-robin' for read load balancing.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]