]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: switch to migration source-spec builder
authorJason Dillaman <dillaman@redhat.com>
Tue, 20 Oct 2020 22:45:04 +0000 (18:45 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 1 Nov 2020 14:22:38 +0000 (09:22 -0500)
commit5869d13fb5f55ca24a55a95977c5ca22214d7227
tree664d701843f16d0e23945e2c19a4b400cd26ab3c
parentc7bbb676a86b18c6946236c7a8530297906d5632
librbd: switch to migration source-spec builder

Remove all the hard-coded references to the NativeFormat
handler and allow the RawFormat+FileStream handlers to be
instantiated.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/CMakeLists.txt
src/librbd/migration/FileStream.cc
src/librbd/migration/OpenSourceImageRequest.cc
src/librbd/migration/RawFormat.cc
src/librbd/migration/RawFormat.h
src/librbd/migration/SourceSpecBuilder.cc [new file with mode: 0644]
src/librbd/migration/SourceSpecBuilder.h [new file with mode: 0644]
src/test/librbd/migration/test_mock_RawFormat.cc
src/test/librbd/mock/migration/MockStreamInterface.h [new file with mode: 0644]