]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/api: re-use migration open source image state machine
authorJason Dillaman <dillaman@redhat.com>
Wed, 2 Dec 2020 01:01:23 +0000 (20:01 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 2 Dec 2020 01:01:23 +0000 (20:01 -0500)
commit668cbff880808a5eb2c09e0426ba95cf832f7163
tree54be7081cccca18634f31d0a1796d26de55120e7
parentd90f5aed33b7621511d7c0ce778be2228de0b2da
librbd/api: re-use migration open source image state machine

Let the open source image state machine parse the provided
source-spec JSON and instantiate the source image ctx for the
prepare migration step.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/api/Migration.cc