From: Eric Blake <eblake@redhat.com>
To: Wouter Verhelst <w@uter.be>
Cc: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>,
Alex Bligh <alex@alex.org.uk>, nbd list <nbd@other.debian.org>,
Kevin Wolf <kwolf@redhat.com>,
qemu-devel@nongnu.org, Pavel Borzenkov <pborzenkov@virtuozzo.com>,
stefanha@redhat.com, "Denis V . Lunev" <den@openvz.org>,
Markus Pargmann <mpa@pengutronix.de>,
Paolo Bonzini <pbonzini@redhat.com>, John Snow <jsnow@redhat.com>
Subject: Re: [Qemu-devel] [Nbd] [PATCH] Further tidy-up on block status
Date: Wed, 28 Feb 2018 14:26:56 -0600 [thread overview]
Message-ID: <cf2357b2-deed-46d3-3306-5eabf0a0abae@redhat.com> (raw)
In-Reply-To: <20180228130816.GA19355@grep.be>
On 02/28/2018 07:08 AM, Wouter Verhelst wrote:
>> Or, we can revert the change in commit 56c77720, and keep
>> NBD_REPLY_TYPE_BLOCK_STATUS at 5 (it leaves a hole in the NBD_REPLY_TYPE
>> numbering, where 3 and 4 might be filled in by other future extensions, or
>> permanently skipped). This works IF there are no OTHER incompatible changes
>> made to the rest of the block status extension as part of promoting it to
>> current (where we still haven't finished that debate, given my question on
>> whether 32-bit lengths and colon-separated namespace:leaf in a single string
>> is the best representation).
>>
>> So, I'd like some feedback from Alex or Wouter on which alternatives seem
>> nicest at this point.
>
> I'm thinking that reverting at least the number change seems like a good
> idea. If Vladimir can shed some light on what's been published so far,
> we can see what damage has been done and try to limit further damage.
>
> It makes no sense to ignore that the spec has been implemented; the
> whole point of writing a spec is so that third parties can implement it
> and be compatible. If we ignore that just because there was a
> misunderstanding, then I think we're throwing away the kid with the
> bathwater.
>
> Since I don't think a gap in numbers is that much of a problem, I'm
> happy reverting the renumbering part of 56c77720 and keep it at 5. I'd
> also like to know what it is exactly that Virtuozzo implemented, so we
> can update the extension-blockstatus (if necessary) and then merge that
> to master.
Okay, I've gone ahead and reverted the renumbering; NBD_INFO_BLOCK_SIZE
is back to 5 (we have a gap in the numbering, but it doesn't hurt).
There's still the open question of whether we want to keep a single
string that requires parsing into "namespace:leaf" sections, or to split
things into two separate strings for ease of handing an unknown
namespace; and whether a 16-bit length is sufficient instead of burning
32-bit length fields. But if we decide that any of those changes are
worth making, we'd also want to do something else to make it obviously
different from Virtuozzo's initial implementation (my idea about
reserving NBD_OPT_ value 10 as unused, and renumbering
NBD_OPT_SET_META_CONTEXT to 11 along with any other changes we make, is
still reasonable for that point).
I'd also like to promote extension-structured-reply to current (now that
it is implemented by qemu), while keeping extension-blockstatus as a
separate branch for just a bit longer.
I'll post another thread on other possible doc changes that have come up
during this thread.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
next prev parent reply other threads:[~2018-02-28 20:27 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-14 15:08 [Qemu-devel] [PATCH] Further tidy-up on block status Alex Bligh
2016-12-14 16:25 ` Vladimir Sementsov-Ogievskiy
2016-12-14 16:38 ` Alex Bligh
2016-12-14 17:05 ` Vladimir Sementsov-Ogievskiy
2016-12-14 17:36 ` Alex Bligh
2016-12-14 17:55 ` Vladimir Sementsov-Ogievskiy
2016-12-14 18:13 ` [Qemu-devel] [Nbd] " Wouter Verhelst
2016-12-14 18:18 ` Alex Bligh
2016-12-14 18:49 ` Wouter Verhelst
2016-12-14 19:01 ` Alex Bligh
2016-12-14 20:10 ` Wouter Verhelst
2016-12-26 15:57 ` Vladimir Sementsov-Ogievskiy
2016-12-29 16:08 ` Alex Bligh
2016-12-29 16:35 ` Vladimir Sementsov-Ogievskiy
2016-12-14 18:51 ` Alex Bligh
2016-12-14 20:18 ` Wouter Verhelst
2016-12-15 10:04 ` Alex Bligh
2016-12-15 15:03 ` Wouter Verhelst
2016-12-15 16:32 ` Alex Bligh
2016-12-15 16:49 ` Wouter Verhelst
2016-12-15 17:34 ` Alex Bligh
2016-12-16 15:52 ` Wouter Verhelst
2016-12-16 16:25 ` Alex Bligh
2016-12-17 8:34 ` Wouter Verhelst
2016-12-17 9:41 ` Alex Bligh
2016-12-14 18:17 ` [Qemu-devel] " Alex Bligh
2016-12-26 14:52 ` Vladimir Sementsov-Ogievskiy
2016-12-28 0:18 ` [Qemu-devel] [Nbd] " Wouter Verhelst
2016-12-29 16:04 ` Alex Bligh
2016-12-29 16:28 ` Vladimir Sementsov-Ogievskiy
2016-12-14 16:58 ` [Qemu-devel] " Eric Blake
2016-12-14 17:03 ` Alex Bligh
2016-12-14 17:09 ` [Qemu-devel] [Nbd] " Wouter Verhelst
2016-12-14 17:33 ` Vladimir Sementsov-Ogievskiy
2016-12-14 17:39 ` Alex Bligh
2016-12-14 20:47 ` John Snow
2018-05-03 16:18 ` Eric Blake
2018-05-03 17:26 ` Eric Blake
2018-05-04 6:40 ` Wouter Verhelst
2016-12-27 14:09 ` [Qemu-devel] " Vladimir Sementsov-Ogievskiy
2016-12-27 15:56 ` Eric Blake
2016-12-29 16:14 ` Alex Bligh
2017-01-11 15:31 ` Vladimir Sementsov-Ogievskiy
2017-01-11 19:00 ` Alex Bligh
2017-01-12 7:05 ` Vladimir Sementsov-Ogievskiy
2017-01-12 13:11 ` Alex Bligh
2017-01-13 9:48 ` Vladimir Sementsov-Ogievskiy
2017-01-13 10:29 ` Alex Bligh
2017-01-16 12:26 ` Vladimir Sementsov-Ogievskiy
2017-01-12 11:43 ` Vladimir Sementsov-Ogievskiy
2017-01-12 13:16 ` Alex Bligh
2017-01-20 17:04 ` Vladimir Sementsov-Ogievskiy
2017-01-20 18:00 ` Alex Bligh
2017-01-20 19:35 ` Eric Blake
2017-01-21 12:25 ` [Qemu-devel] [Nbd] " Wouter Verhelst
2018-02-16 12:35 ` Eric Blake
2018-02-16 13:53 ` Vladimir Sementsov-Ogievskiy
2018-02-16 16:10 ` Eric Blake
2018-02-28 13:08 ` Wouter Verhelst
2018-02-28 20:26 ` Eric Blake [this message]
2018-02-28 20:29 ` Eric Blake
2018-03-01 9:54 ` Vladimir Sementsov-Ogievskiy
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=cf2357b2-deed-46d3-3306-5eabf0a0abae@redhat.com \
--to=eblake@redhat.com \
--cc=alex@alex.org.uk \
--cc=den@openvz.org \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=mpa@pengutronix.de \
--cc=nbd@other.debian.org \
--cc=pbonzini@redhat.com \
--cc=pborzenkov@virtuozzo.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=vsementsov@virtuozzo.com \
--cc=w@uter.be \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.