]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd/migration/NBDStream: switch to NBD URIs
authorIlya Dryomov <idryomov@gmail.com>
Mon, 2 Sep 2024 20:17:40 +0000 (22:17 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 6 Sep 2024 12:14:12 +0000 (14:14 +0200)
commit90b55cfdc25e9ad5247f076ff48a80e91d907adb
tree52e0ca1f543c235d1744a331dc093f0796e8e8f2
parentd6d308003b2c291f28c0c9defd4895c76137f89c
librbd/migration/NBDStream: switch to NBD URIs

This removes the constraint on the transport being TCP, allowing to
use a Unix domain socket or other options.  It also allows specifying
export names which a) are needed in case of serving different content
on different exports and b) some servers may require regardless.

Additionally, NBD URIs are future proof as all that NBDStream needs to
do is forward the string to libnbd.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
doc/rbd/rbd-live-migration.rst
qa/workunits/rbd/cli_migration.sh
src/librbd/migration/NBDStream.cc
src/test/librbd/migration/test_mock_NBDStream.cc