qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] RFC: Tweak the NBD_OPT_SET_META_CONTEXT layout
@ 2018-03-31 12:24 Eric Blake
  2018-03-31 12:27 ` [Qemu-devel] [PATCH qemu] RFC: nbd: Separate namespace from leaf-name for metadata contexts Eric Blake
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Blake @ 2018-03-31 12:24 UTC (permalink / raw)
  To: Qemu-devel@nongnu.org, qemu block, nbd list,
	Vladimir Sementsov-Ogievskiy, Wouter Verhelst

As mentioned in earlier email threads, I experimented with an 
alternative layout to the structs sent across the wire during 
NBD_OPT_{LIST,SET}_META_CONTEXT, on the grounds that having the 
namespace and leaf-name combined into one string that requires further 
parsing on each end is not as nice as having two separate fields.  I'm 
replying to this mail with two RFC patches, one for the NBD spec, and 
one for the qemu implementation.

If we like the idea, this has to go into qemu 2.12, so we have less than 
a week.  Or, we can ignore the RFC, keep qemu the way it is currently 
coded, and when it is released, it will be time to promote the NBD 
extension-blockstatus to current as there will be an existing 
implementation to be interoperable with.

Note that I intentionally changed the value of NBD_OPT_SET_META_CONTEXT 
so that the existing Virtuozzo of OPT 10 will not get confused by the 
new layout (both new server and old client, as well as old server and 
new client, will merely fail to negotiate block status, and then be 
unable to use NBD_CMD_BLOCK_STATUS).  I didn't bother changing 
NBD_OPT_LIST_META_CONTEXT, as it looks like the existing Virtuozzo 
implementation did not use that option as a client.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-12 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-31 12:24 [Qemu-devel] RFC: Tweak the NBD_OPT_SET_META_CONTEXT layout Eric Blake
2018-03-31 12:27 ` [Qemu-devel] [PATCH qemu] RFC: nbd: Separate namespace from leaf-name for metadata contexts Eric Blake
2018-03-31 12:28 ` [Qemu-devel] [PATCH nbd] RFC: doc: " Eric Blake
2018-04-12 15:48 ` [Qemu-devel] Withdrawn: Tweak the NBD_OPT_SET_META_CONTEXT layout Eric Blake

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).