]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: migration should attempt to open destination image first
authorJason Dillaman <dillaman@redhat.com>
Tue, 20 Oct 2020 06:55:36 +0000 (02:55 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 25 Oct 2020 23:37:55 +0000 (19:37 -0400)
commit65531c38b6b0071d745fc64f18c7c066236c6ce9
treed53b43fe75e7333dd5211c4ec3e6235bcd442886
parentbf0198ad08bb896b050547e3623336c4f6f6e71e
librbd: migration should attempt to open destination image first

With the exception of the 'prepare' command, always attempt to open
the destination image first. This will better align with the
ability for read-only, non-native images to be used as a source
image.

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