mbox series

[0/3] nbd reconnect on open

Message ID 20200907102426.24766-1-vsementsov@virtuozzo.com
Headers show
Series nbd reconnect on open | expand

Message

Vladimir Sementsov-Ogievskiy Sept. 7, 2020, 10:24 a.m. UTC
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.

This is based on "[PATCH 0/4] nbd reconnect new fixes"
Based-on: <20200903190301.367620-1-vsementsov@virtuozzo.com>

Vladimir Sementsov-Ogievskiy (3):
  block/nbd: move initial connect to coroutine
  nbd: allow reconnect on open, with corresponding new options
  iotests: add 306 to test reconnect on nbd open

 block/nbd.c                   | 173 +++++++++++++++++++++++++---------
 tests/qemu-iotests/306        |  46 +++++++++
 tests/qemu-iotests/306.out    |   5 +
 tests/qemu-iotests/group      |   1 +
 tests/qemu-iotests/iotests.py |  11 +++
 5 files changed, 190 insertions(+), 46 deletions(-)
 create mode 100755 tests/qemu-iotests/306
 create mode 100644 tests/qemu-iotests/306.out