]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: helper state machines for updating/removing mirror images
authorJason Dillaman <dillaman@redhat.com>
Mon, 27 Jan 2020 21:45:54 +0000 (16:45 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 30 Jan 2020 15:26:36 +0000 (10:26 -0500)
commitd11fa8fa9fa6f72180b64b5d618fa2ddd39271bf
tree8a258d4843f55a949179b63ca8350cda526dbcfe
parent28e051afee54a6c129f5cf2bcc0639043f5aa6f0
librbd: helper state machines for updating/removing mirror images

When the mirror image state is updated or removed, we need to send
notifications to peer listeners like rbd-mirror. These two new
state machines allow re-use of that logic to avoid the duplication.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/CMakeLists.txt
src/librbd/mirror/ImageRemoveRequest.cc [new file with mode: 0644]
src/librbd/mirror/ImageRemoveRequest.h [new file with mode: 0644]
src/librbd/mirror/ImageStateUpdateRequest.cc [new file with mode: 0644]
src/librbd/mirror/ImageStateUpdateRequest.h [new file with mode: 0644]