spec: Clarify BLOCK_STATUS reply details
authorEric Blake <eblake@redhat.com>
Wed, 23 Mar 2022 16:01:49 +0000 (11:01 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 24 Jun 2022 20:32:25 +0000 (15:32 -0500)
commit9ed62752ae804546a01ce4694f1c35deebec2886
treed5980a98062e880563ad28181db6933816f85aee
parentd80518bda2dc6899b0ec2bd8f83e04f79a5a5203
spec: Clarify BLOCK_STATUS reply details

Our docs were inconsistent on whether a NBD_REPLY_TYPE_BLOCK_STATUS
reply chunk can exceed the client's requested length, and silent on
whether the lengths must be consistent when multiple contexts were
negotiated.  Clarify this to match existing practice as implemented in
qemu-nbd and nbdkit.  Clean up some nearby grammatical errors while at
it.

Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
doc/proto.md