]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: clone state machine should accept snapshot namespace
authorJason Dillaman <dillaman@redhat.com>
Wed, 29 Jan 2020 22:27:22 +0000 (17:27 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 30 Jan 2020 15:26:36 +0000 (10:26 -0500)
commit667c049de653c982d4605f5a9bb863615ae97312
tree67e79d4ba03d8a8c876cd1fa28889dadc6b80811
parentc0fdb2ca0f36d18aa5a42299d6aeec1744264bcb
librbd: clone state machine should accept snapshot namespace

It currently assumes that you can only create snapshots from user
snapshot namespaces.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/api/Image.cc
src/librbd/api/Migration.cc
src/librbd/image/CloneRequest.cc
src/librbd/image/CloneRequest.h
src/librbd/internal.cc
src/test/librbd/image/test_mock_CloneRequest.cc
src/test/rbd_mirror/image_replayer/test_mock_CreateImageRequest.cc
src/tools/rbd_mirror/image_replayer/CreateImageRequest.cc