summary refs log tree commit diff stats
path: root/scripts/git-submodule.sh
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2023-06-08 08:56:33 -0500
committerEric Blake <eblake@redhat.com>2023-07-19 15:25:27 -0500
commit66d4f4fe2f1c282a34a429f61aa4283e60336500 (patch)
treefba4d59f0706638ae3e07023b6431030c312d86f /scripts/git-submodule.sh
parenta7c8ed36bf9d3b7f75faefb5bb01535eb818e260 (diff)
downloadfocaccia-qemu-66d4f4fe2f1c282a34a429f61aa4283e60336500.tar.gz
focaccia-qemu-66d4f4fe2f1c282a34a429f61aa4283e60336500.zip
nbd/server: Refactor to pass full request around
Part of NBD's 64-bit headers extension involves passing the client's
requested offset back as part of the reply header (one reason it
stated for this change: converting absolute offsets stored in
NBD_REPLY_TYPE_OFFSET_DATA to relative offsets within the buffer is
easier if the absolute offset of the buffer is also available).  This
is a refactoring patch to pass the full request around the reply
stack, rather than just the handle, so that later patches can then
access request->from when extended headers are active.  Meanwhile,
this patch enables us to now assert that simple replies are only
attempted when appropriate, and otherwise has no semantic change.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20230608135653.2918540-5-eblake@redhat.com>
Diffstat (limited to 'scripts/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions