[PATCH v5 00/17] qemu patches for 64-bit NBD extensions

Eric Blake posted 17 patches 9 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230810173646.17695-19-eblake@redhat.com
Maintainers: Eric Blake <eblake@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
There is a newer version of this series
docs/interop/nbd.txt                          |   1 +
include/block/nbd.h                           | 147 +++--
nbd/nbd-internal.h                            |   8 +-
block/nbd.c                                   | 105 +++-
nbd/client-connection.c                       |   4 +-
nbd/client.c                                  | 140 +++--
nbd/common.c                                  |  12 +-
nbd/server.c                                  | 558 +++++++++++++-----
qemu-nbd.c                                    |   8 +-
block/trace-events                            |   3 +-
nbd/trace-events                              |  19 +-
tests/qemu-iotests/223.out                    |  18 +-
tests/qemu-iotests/233.out                    |   4 +
tests/qemu-iotests/241.out                    |   3 +
tests/qemu-iotests/307.out                    |  15 +-
.../tests/nbd-qemu-allocation.out             |   3 +-
16 files changed, 762 insertions(+), 286 deletions(-)
[PATCH v5 00/17] qemu patches for 64-bit NBD extensions
Posted by Eric Blake 9 months, 1 week ago
v4 was here:
https://lists.gnu.org/archive/html/qemu-devel/2023-06/msg01898.html
(1-8/24 of that series made it into 8.1; this is the rest)

v5 addresses Vladimir's review comments; and the amount of change is
smaller, so this is probably ready to merge in once 8.1 is out the
door and the remaining patches get R-b tags.  The biggest change is
probably the split of v4 13/24 into a split 5 and 6 here, which had
knock-on effects to patch 17.

001/17:[0006] [FC] 'nbd: Replace bool structured_reply with mode enum'
002/17:[----] [--] 'nbd/client: Pass mode through to nbd_send_request'
003/17:[----] [--] 'nbd: Add types for extended headers'
004/17:[0018] [FC] 'nbd: Prepare for 64-bit request effect lengths'
005/17:[down] 'nbd/server: Refactor handling of command sanity checks'
006/17:[down] 'nbd/server: Support a request payload'
007/17:[----] [--] 'nbd/server: Prepare to receive extended header requests'
008/17:[0004] [FC] 'nbd/server: Prepare to send extended header replies'
009/17:[0004] [FC] 'nbd/server: Support 64-bit block status'
010/17:[0002] [FC] 'nbd/server: Enable initial support for extended headers'
011/17:[0002] [FC] 'nbd/client: Plumb errp through nbd_receive_replies'
012/17:[0004] [FC] 'nbd/client: Initial support for extended headers'
013/17:[0010] [FC] 'nbd/client: Accept 64-bit block status chunks'
014/17:[----] [--] 'nbd/client: Request extended headers during negotiation'
015/17:[----] [-C] 'nbd/server: Refactor list of negotiated meta contexts'
016/17:[0006] [FC] 'nbd/server: Prepare for per-request filtering of BLOCK_STATUS'
017/17:[0053] [FC] 'nbd/server: Add FLAG_PAYLOAD support to CMD_BLOCK_STATUS'

Eric Blake (17):
  nbd: Replace bool structured_reply with mode enum
  nbd/client: Pass mode through to nbd_send_request
  nbd: Add types for extended headers
  nbd: Prepare for 64-bit request effect lengths
  nbd/server: Refactor handling of command sanity checks
  nbd/server: Support a request payload
  nbd/server: Prepare to receive extended header requests
  nbd/server: Prepare to send extended header replies
  nbd/server: Support 64-bit block status
  nbd/server: Enable initial support for extended headers
  nbd/client: Plumb errp through nbd_receive_replies
  nbd/client: Initial support for extended headers
  nbd/client: Accept 64-bit block status chunks
  nbd/client: Request extended headers during negotiation
  nbd/server: Refactor list of negotiated meta contexts
  nbd/server: Prepare for per-request filtering of BLOCK_STATUS
  nbd/server: Add FLAG_PAYLOAD support to CMD_BLOCK_STATUS

 docs/interop/nbd.txt                          |   1 +
 include/block/nbd.h                           | 147 +++--
 nbd/nbd-internal.h                            |   8 +-
 block/nbd.c                                   | 105 +++-
 nbd/client-connection.c                       |   4 +-
 nbd/client.c                                  | 140 +++--
 nbd/common.c                                  |  12 +-
 nbd/server.c                                  | 558 +++++++++++++-----
 qemu-nbd.c                                    |   8 +-
 block/trace-events                            |   3 +-
 nbd/trace-events                              |  19 +-
 tests/qemu-iotests/223.out                    |  18 +-
 tests/qemu-iotests/233.out                    |   4 +
 tests/qemu-iotests/241.out                    |   3 +
 tests/qemu-iotests/307.out                    |  15 +-
 .../tests/nbd-qemu-allocation.out             |   3 +-
 16 files changed, 762 insertions(+), 286 deletions(-)


base-commit: 64d3be986f9e2379bc688bf1d0aca0557e0035ca
-- 
2.41.0