Skip to content

nbd block status base:allocation

Vladimir Sementsov-Ogievskiy qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 15 repliesIn review
  2. v19 patches 31 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8nbd/server: add nbd_opt_invalid helpernbd/server.c+36 -141 reply
2/8nbd/server: add nbd_read_opt_name helpernbd/server.c+42 -131 reply
3/8nbd: BLOCK_STATUS for standard get_block_status function: server partinclude/block/nbd.h nbd/server.c+312 -02 replies
4/8block/nbd-client: save first fatal error in nbd_iter_errorblock/nbd-client.c+3 -10 replies
5/8nbd: BLOCK_STATUS for standard get_block_status function: client partblock/nbd-client.c block/nbd-client.h block/nbd.c +2 more+273 -03 replies
6/8iotests.py: tiny refactor: move system imports uptests/qemu-iotests/iotests.py+3 -20 replies
7/8iotests: add file_path helpertests/qemu-iotests/iotests.py+32 -01 reply
8/8iotests: new test 209 for NBD BLOCK_STATUStests/qemu-iotests/209 tests/qemu-iotests/209.out tests/qemu-iotests/group+37 -01 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchEric Blake
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/8] nbd block status base:allocation

Hi all.

Here is minimal realization of base:allocation context of NBD block-status extension, which allows to get block status through NBD.

v2 changes are in each patch after "---" line.

Vladimir Sementsov-Ogievskiy (8):
nbd/server: add nbd_opt_invalid helper
nbd/server: add nbd_read_opt_name helper
nbd: BLOCK_STATUS for standard get_block_status function: server part block/nbd-client: save first fatal error in nbd_iter_error
nbd: BLOCK_STATUS for standard get_block_status function: client part iotests.py: tiny refactor: move system imports up
iotests: add file_path helper
iotests: new test 209 for NBD BLOCK_STATUS

 block/nbd-client.h            |   6 +
 include/block/nbd.h           |   5 +
 block/nbd-client.c            | 148 ++++++++++++++-
 block/nbd.c                   |   3 +
 nbd/client.c                  | 117 ++++++++++++
 nbd/server.c                  | 413 +++++++++++++++++++++++++++++++++++++++---
 tests/qemu-iotests/209        |  34 ++++
 tests/qemu-iotests/209.out    |   2 +
 tests/qemu-iotests/group      |   1 +
 tests/qemu-iotests/iotests.py |  37 +++-
 10 files changed, 737 insertions(+), 29 deletions(-)
 create mode 100755 tests/qemu-iotests/209
 create mode 100644 tests/qemu-iotests/209.out
Signature · 1 line
2.11.1