Skip to content

nbd reconnect on open

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 6 repliesIn review
  2. v39 patches 11 repliesSuperseded
  3. v28 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches0 repliesSuperseded

Changes in v4 from the cover letter

01-03: wording, add Eric's r-b
others: small changes, never had an r-b

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7nbd: allow reconnect on open, with corresponding new optionsblock/nbd.c qapi/block-core.json+52 -21 reply
2/7nbd/client-connection: nbd_co_establish_connection(): return real errornbd/client-connection.c+35 -170 replies
3/7nbd/client-connection: improve error message of cancelled attemptnbd/client-connection.c+9 -20 replies
4/7iotests.py: add qemu_tool_popen()tests/qemu-iotests/iotests.py+10 -31 reply
5/7For qemu_io* functions support --image-opts argument, which conflicts with -f argument from qemu_io_args.tests/qemu-iotests/iotests.py+10 -101 reply
6/7Add qemu-io Popen constructor wrapper. To be used in the following new test commit.tests/qemu-iotests/iotests.py+3 -01 reply
7/7iotests: add nbd-reconnect-on-open testtests/qemu-iotests/tests/nbd-reconnect-on-open tests/qemu-iotests/tests/nbd-reconnect-on-open.out+82 -01 reply

Reviews trailers per patch

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

PatchEric BlakeNikita Lapshin
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/7] nbd reconnect on open

Hi all!

The functionality is reviewed, python testing part is not.

I've dropped the patch "qapi: make blockdev-add a coroutine command":
it's optional, I don't want to slow down the whole series because of it.

v4:
01-03: wording, add Eric's r-b
others: small changes, never had an r-b

Vladimir Sementsov-Ogievskiy (7):
nbd: allow reconnect on open, with corresponding new options nbd/client-connection: nbd_co_establish_connection(): return real
error
nbd/client-connection: improve error message of cancelled attempt iotests.py: add qemu_tool_popen()
For qemu_io* functions support --image-opts argument, which conflicts
with -f argument from qemu_io_args.
Add qemu-io Popen constructor wrapper. To be used in the following new
test commit.
iotests: add nbd-reconnect-on-open test

 qapi/block-core.json                          |  9 ++-
 block/nbd.c                                   | 45 +++++++++++-
 nbd/client-connection.c                       | 59 ++++++++++-----
 tests/qemu-iotests/iotests.py                 | 36 ++++++----
 .../qemu-iotests/tests/nbd-reconnect-on-open  | 71 +++++++++++++++++++
 .../tests/nbd-reconnect-on-open.out           | 11 +++
 6 files changed, 199 insertions(+), 32 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/nbd-reconnect-on-open
 create mode 100644 tests/qemu-iotests/tests/nbd-reconnect-on-open.out
Signature · 1 line
2.31.1