Re: [Libguestfs] [PATCH v3 5/6] spec: Introduce NBD_FLAG_BLOCK_STATUS_PAYLOAD

2023-04-18 Thread Wouter Verhelst
On Thu, Apr 13, 2023 at 05:02:40PM -0500, Eric Blake wrote: [...] > +If extended headers were negotiated, a server MAY optionally > +advertise, via the transmission flag > +`NBD_FLAG_BLOCK_STATUS_PAYLOAD`, that it supports an alternative > +request form where the client sets `NBD_CM

[Libguestfs] [PATCH v3 5/6] spec: Introduce NBD_FLAG_BLOCK_STATUS_PAYLOAD

2023-04-13 Thread Eric Blake
NBD_CMD_BLOCK_STATUS currently forces the server to reply to all metacontext ids that the client negotiated via NBD_OPT_SET_META_CONTEXT. But since extended headers make it easy for the client to pass command payloads, we can allow for a client to negotiate multiple metacontexts up front but expre