]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: allow force promotions to create necessary orphan snapshot
authorJason Dillaman <dillaman@redhat.com>
Thu, 27 Feb 2020 15:44:21 +0000 (10:44 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 2 Mar 2020 15:53:43 +0000 (10:53 -0500)
commit5af1578d109de7af3f9c651159c5537061d104a7
treeab64c45cd0502d47e96c9bb6631f53db4b70131f
parent3e7642617a6d9b1f8b14f2e091919332a930671b
librbd: allow force promotions to create necessary orphan snapshot

The rbd-mirror daemon needs to accept the RPC request to create an
orphan snapshot so that it knows to shut-down the replayer.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/cls/rbd/cls_rbd_types.h
src/librbd/ImageWatcher.cc
src/librbd/exclusive_lock/Policy.h
src/librbd/mirror/snapshot/CreateNonPrimaryRequest.cc
src/librbd/mirror/snapshot/PromoteRequest.cc
src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.cc