From: Eric Blake <eblake@redhat.com>
To: Liu Yuan <namei.unix@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3 2/2] qapi: add read-pattern support for quorum
Date: Tue, 15 Jul 2014 06:22:14 -0600 [thread overview]
Message-ID: <53C51CF6.6070900@redhat.com> (raw)
In-Reply-To: <1405406098-30981-3-git-send-email-namei.unix@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1142 bytes --]
On 07/15/2014 12:34 AM, Liu Yuan wrote:
> Cc: Eric Blake <eblake@redhat.com>
> Signed-off-by: Liu Yuan <namei.unix@gmail.com>
> ---
> 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2014-07-15 12:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-15 6:34 [Qemu-devel] [PATCH v3 0/2] add read-pattern for block qourum Liu Yuan
2014-07-15 6:34 ` [Qemu-devel] [PATCH v3 1/2] block/quorum: add simple read pattern support Liu Yuan
2014-07-15 12:14 ` Eric Blake
2014-07-16 5:30 ` Liu Yuan
2014-07-15 6:34 ` [Qemu-devel] [PATCH v3 2/2] qapi: add read-pattern support for quorum Liu Yuan
2014-07-15 12:22 ` Eric Blake [this message]
2014-07-16 2:22 ` Liu Yuan
2014-07-16 2:23 ` Liu Yuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53C51CF6.6070900@redhat.com \
--to=eblake@redhat.com \
--cc=namei.unix@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).