[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 for-6.0 0/8] nbd reconnect on open
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[PATCH v2 for-6.0 0/8] nbd reconnect on open |
Date: |
Mon, 30 Nov 2020 16:40:16 +0300 |
Hi all! There is a new feature: reconnect on open. It is useful when
start of vm and start of nbd server are not simple to sync.
v2: rebase on master.
Also, I've discovered that I've sent downstream version of test which
doesn't work here. So, the test is rewritten (with appropriate
improvements of iotests.py)
Vladimir Sementsov-Ogievskiy (8):
block/nbd: move initial connect to coroutine
nbd: allow reconnect on open, with corresponding new options
iotests.py: fix qemu_tool_pipe_and_status()
iotests.py: qemu_io(): reuse qemu_tool_pipe_and_status()
iotests.py: add qemu_tool_popen()
iotests.py: add and use qemu_io_wrap_args()
iotests.py: add qemu_io_popen()
iotests: add 306 to test reconnect on nbd open
block/nbd.c | 173 +++++++++++++++++++++++++---------
tests/qemu-iotests/306 | 71 ++++++++++++++
tests/qemu-iotests/306.out | 11 +++
tests/qemu-iotests/group | 1 +
tests/qemu-iotests/iotests.py | 56 +++++++----
5 files changed, 246 insertions(+), 66 deletions(-)
create mode 100755 tests/qemu-iotests/306
create mode 100644 tests/qemu-iotests/306.out
--
2.21.3
- [PATCH v2 for-6.0 0/8] nbd reconnect on open,
Vladimir Sementsov-Ogievskiy <=
- [PATCH v2 4/8] iotests.py: qemu_io(): reuse qemu_tool_pipe_and_status(), Vladimir Sementsov-Ogievskiy, 2020/11/30
- [PATCH v2 5/8] iotests.py: add qemu_tool_popen(), Vladimir Sementsov-Ogievskiy, 2020/11/30
- [PATCH v2 8/8] iotests: add 306 to test reconnect on nbd open, Vladimir Sementsov-Ogievskiy, 2020/11/30
- [PATCH v2 1/8] block/nbd: move initial connect to coroutine, Vladimir Sementsov-Ogievskiy, 2020/11/30
- [PATCH v2 2/8] nbd: allow reconnect on open, with corresponding new options, Vladimir Sementsov-Ogievskiy, 2020/11/30
- [PATCH v2 6/8] iotests.py: add and use qemu_io_wrap_args(), Vladimir Sementsov-Ogievskiy, 2020/11/30
- [PATCH v2 3/8] iotests.py: fix qemu_tool_pipe_and_status(), Vladimir Sementsov-Ogievskiy, 2020/11/30
- [PATCH v2 7/8] iotests.py: add qemu_io_popen(), Vladimir Sementsov-Ogievskiy, 2020/11/30