Re: [Nbd] [PATCH v4 1/2] doc: Use sequence of replies for NBD_OPT_INFO/GO

2016-04-15 Thread Alex Bligh
Eric, > -Both options have identical formats for requests and replies. The > -only difference is that after a successful reply to `NBD_OPT_GO` > -(i.e. an `NBD_REP_SERVER`), transmission mode is entered immediately. > -Therefore these commands share common documentation. > +Both options have

Re: [Nbd] [PATCH v4 1/2] doc: Use sequence of replies for NBD_OPT_INFO/GO

2016-04-15 Thread Wouter Verhelst
Hi, On Thu, Apr 14, 2016 at 09:09:19PM -0600, Eric Blake wrote: [...] > The reply to an `NBD_OPT_GO` is identical to the reply to `NBD_OPT_INFO` > -save that if the reply indicates success (i.e. is `NBD_REP_SERVER`), > +save that if the reply indicates success (i.e. ends with

[Nbd] [PATCH v4 1/2] doc: Use sequence of replies for NBD_OPT_INFO/GO

2016-04-14 Thread Eric Blake
Since NBD_OPT_INFO and NBD_OPT_GO are experimental, we still have a chance to fix them up before promoting them to stable. Attempting to reuse NBD_OPT_SERVER as the reply to NBD_OPT_INFO and NBD_OPT_GO has a few problems: clients must be prepared to parse two different styles of the reply, based