qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Liu Yuan <namei.unix@gmail.com>
To: Eric Blake <eblake@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
	qemu-devel@nongnu.org, Stefan Hajnoczi <stefanha@redhat.com>,
	Benoit Canet <benoit@irqsave.net>
Subject: Re: [Qemu-devel] [PATCH v3 2/2] qapi: add read-pattern support for quorum
Date: Wed, 16 Jul 2014 10:23:22 +0800	[thread overview]
Message-ID: <20140716022322.GE15811@ubuntu-trusty> (raw)
In-Reply-To: <20140716022220.GD15811@ubuntu-trusty>

On Wed, Jul 16, 2014 at 10:22:20AM +0800, Liu Yuan wrote:
> On Tue, Jul 15, 2014 at 06:22:14AM -0600, Eric Blake wrote:
> > 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.
> 
> Both fifo and round-robin in our context indicate a single read.
> 
> but either one looks okay to me. We need to reach agreement on the name before I
> send the next version, single or fifo or any other suggested, Benoit, Kevin,
> Stefan?

Cc others mentioned.

      reply	other threads:[~2014-07-16  2:23 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
2014-07-16  2:22     ` Liu Yuan
2014-07-16  2:23       ` Liu Yuan [this message]

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=20140716022322.GE15811@ubuntu-trusty \
    --to=namei.unix@gmail.com \
    --cc=benoit@irqsave.net \
    --cc=eblake@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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).