[PATCH v3 0/3] nbd: MULTI_CONN for shared writable exports

Eric Blake posted 3 patches 2 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220314203818.3681277-1-eblake@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Eric Blake <eblake@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>, Markus Armbruster <armbru@redhat.com>
There is a newer version of this series
docs/interop/nbd.txt                       |   1 +
docs/tools/qemu-nbd.rst                    |  26 ++--
qapi/block-export.json                     |  19 ++-
include/block/nbd.h                        |   5 +-
blockdev-nbd.c                             |  13 +-
nbd/server.c                               |  27 +++-
qemu-nbd.c                                 |  22 ++-
MAINTAINERS                                |   1 +
tests/qemu-iotests/tests/nbd-multiconn     | 157 +++++++++++++++++++++
tests/qemu-iotests/tests/nbd-multiconn.out |   5 +
10 files changed, 252 insertions(+), 24 deletions(-)
create mode 100755 tests/qemu-iotests/tests/nbd-multiconn
create mode 100644 tests/qemu-iotests/tests/nbd-multiconn.out
[PATCH v3 0/3] nbd: MULTI_CONN for shared writable exports
Posted by Eric Blake 2 years, 1 month ago
v2 was here:
https://lists.gnu.org/archive/html/qemu-devel/2022-02/msg03314.html

Since then:
- expose the knob through 'qemu-nbd -m on|off|auto'
- reuse QAPI OnOffAuto type instead of rolling my own
- rewrite the iotest from bash into python (thanks: Nir, Vladimir)
- split out easy preliminary fixes (patches 1 and 2 are new)

Given that this is a new feature, it probably needs to be 7.1 material.

Eric Blake (3):
  docs: Consistent typography for options of qemu-nbd
  qemu-nbd: Pass max connections to blockdev layer
  nbd/server: Allow MULTI_CONN for shared writable exports

 docs/interop/nbd.txt                       |   1 +
 docs/tools/qemu-nbd.rst                    |  26 ++--
 qapi/block-export.json                     |  19 ++-
 include/block/nbd.h                        |   5 +-
 blockdev-nbd.c                             |  13 +-
 nbd/server.c                               |  27 +++-
 qemu-nbd.c                                 |  22 ++-
 MAINTAINERS                                |   1 +
 tests/qemu-iotests/tests/nbd-multiconn     | 157 +++++++++++++++++++++
 tests/qemu-iotests/tests/nbd-multiconn.out |   5 +
 10 files changed, 252 insertions(+), 24 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/nbd-multiconn
 create mode 100644 tests/qemu-iotests/tests/nbd-multiconn.out

-- 
2.35.1
Re: [PATCH v3 0/3] nbd: MULTI_CONN for shared writable exports
Posted by Eric Blake 2 years ago
Ping. Now that 7.1 is open, I'd like to include this series in my next
NBD pull request.

On Mon, Mar 14, 2022 at 03:38:15PM -0500, Eric Blake wrote:
> v2 was here:
> https://lists.gnu.org/archive/html/qemu-devel/2022-02/msg03314.html
> 
> Since then:
> - expose the knob through 'qemu-nbd -m on|off|auto'
> - reuse QAPI OnOffAuto type instead of rolling my own
> - rewrite the iotest from bash into python (thanks: Nir, Vladimir)
> - split out easy preliminary fixes (patches 1 and 2 are new)
> 
> Given that this is a new feature, it probably needs to be 7.1 material.
> 
> Eric Blake (3):
>   docs: Consistent typography for options of qemu-nbd
>   qemu-nbd: Pass max connections to blockdev layer
>   nbd/server: Allow MULTI_CONN for shared writable exports
> 
>  docs/interop/nbd.txt                       |   1 +
>  docs/tools/qemu-nbd.rst                    |  26 ++--
>  qapi/block-export.json                     |  19 ++-
>  include/block/nbd.h                        |   5 +-
>  blockdev-nbd.c                             |  13 +-
>  nbd/server.c                               |  27 +++-
>  qemu-nbd.c                                 |  22 ++-
>  MAINTAINERS                                |   1 +
>  tests/qemu-iotests/tests/nbd-multiconn     | 157 +++++++++++++++++++++
>  tests/qemu-iotests/tests/nbd-multiconn.out |   5 +
>  10 files changed, 252 insertions(+), 24 deletions(-)
>  create mode 100755 tests/qemu-iotests/tests/nbd-multiconn
>  create mode 100644 tests/qemu-iotests/tests/nbd-multiconn.out
> 
> -- 
> 2.35.1
> 
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org