Re: [Nbd] [PATCH v5] doc: Add NBD_CMD_BLOCK_STATUS extension (part 2)
- To: Alex Bligh <alex@...872...>
- Cc: "nbd-general@lists.sourceforge.net" <nbd-general@lists.sourceforge.net>, Kevin Wolf <kwolf@...696...>, Vladimir Sementsov-Ogievskiy <vsementsov@...2319...>, "qemu-devel@...530..." <qemu-devel@...530...>, Pavel Borzenkov <pborzenkov@...2319...>, "Stefan stefanha@...2321... com" <stefanha@...696...>, "Denis V. Lunev" <den@...2317...>, Markus Pargmann <mpa@...1897...>, Paolo Bonzini <pbonzini@...696...>, John Snow <jsnow@...696...>
- Subject: Re: [Nbd] [PATCH v5] doc: Add NBD_CMD_BLOCK_STATUS extension (part 2)
- From: Wouter Verhelst <w@...112...>
- Date: Tue, 13 Dec 2016 15:33:44 +0100
- Message-id: <20161213143344.rgcasv4e3waeha5u@...3...>
- In-reply-to: <4B4EF198-ABE9-4517-A19D-8058AB117342@...872...>
- References: <20161212204313.anhjire2gkwd6gzi@...3...> <4B4EF198-ABE9-4517-A19D-8058AB117342@...872...>
On Tue, Dec 13, 2016 at 02:12:48PM +0000, Alex Bligh wrote:
>
> > On 12 Dec 2016, at 20:43, Wouter Verhelst <w@...112...> wrote:
> >
> > +- `NBD_OPT_SET_META_CONTEXT` (11)
> > +
> > + Change the set of active metadata contexts. Issuing this command
> > + replaces all previously-set metadata contexts; clients must ensure
> > + that all metadata contexts they're interested in are selected with
> > + the final query that they sent.
> > +
> > + Data:
> > + - 32 bits, length of query
> > + - String, query to select metadata contexts. The syntax of this
> > + query is implementation-defined, except that it MUST start with a
> > + namespace. This namespace may be one of the following:
> > + - `base:`, for metadata contexts defined by this document;
> > + - `nbd-server:`, for metadata contexts defined by the
> > + implementation that accompanies this document (none
> > + currently);
> > + - `x-*:`, where `*` can be replaced by any random string not
> > + containing colons, for local experiments. This SHOULD NOT be
> > + used by metadata contexts that are expected to e widely used.
> > + - third-party implementations can register additional
> > + namespaces by simple request to the mailinglist.
>
> Surely also we need to specify multiple queries?
Yes. See my reply to Stefan's mail ;-)
--
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
people in the world who think they really understand all of its rules,
and pretty much all of them are just lying to themselves too.
-- #debian-devel, OFTC, 2016-02-12
Reply to: