[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/7] nbd reconnect on open
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[PATCH v4 0/7] nbd reconnect on open |
Date: |
Mon, 13 Dec 2021 16:32:33 +0100 |
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
--
2.31.1
- [PATCH v4 0/7] nbd reconnect on open,
Vladimir Sementsov-Ogievskiy <=
- [PATCH v4 4/7] iotests.py: add qemu_tool_popen(), Vladimir Sementsov-Ogievskiy, 2021/12/13
- [PATCH v4 1/7] nbd: allow reconnect on open, with corresponding new options, Vladimir Sementsov-Ogievskiy, 2021/12/13
- [PATCH v4 5/7] For qemu_io* functions support --image-opts argument, which conflicts with -f argument from qemu_io_args., Vladimir Sementsov-Ogievskiy, 2021/12/13
- [PATCH v4 2/7] nbd/client-connection: nbd_co_establish_connection(): return real error, Vladimir Sementsov-Ogievskiy, 2021/12/13
- [PATCH v4 6/7] Add qemu-io Popen constructor wrapper. To be used in the following new test commit., Vladimir Sementsov-Ogievskiy, 2021/12/13
- [PATCH v4 3/7] nbd/client-connection: improve error message of cancelled attempt, Vladimir Sementsov-Ogievskiy, 2021/12/13