]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: helper state machine for closing librbd images
authorJason Dillaman <dillaman@redhat.com>
Mon, 14 Mar 2016 02:08:16 +0000 (22:08 -0400)
committerJosh Durgin <jdurgin@redhat.com>
Tue, 15 Mar 2016 00:26:08 +0000 (17:26 -0700)
commitd61293d4dacd86e670b300714da69f02aff48ffc
treed38ef7bfb3cbd22e0998bb8f6d5fe9a0b367bb15
parent5a082ed5ef34c8a9a956dda52793fd1f2571345f
rbd-mirror: helper state machine for closing librbd images

librbd ImageCtx's cannot be deleted from within the librbd thread.  This
state machine will perform the deletion from the rbd-mirror work queue
thread.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/rbd_mirror/image_replayer/CloseImageRequest.cc [new file with mode: 0644]
src/tools/rbd_mirror/image_replayer/CloseImageRequest.h [new file with mode: 0644]