]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: helper state machine for opening local image
authorJason Dillaman <dillaman@redhat.com>
Mon, 14 Mar 2016 02:09:19 +0000 (22:09 -0400)
committerJosh Durgin <jdurgin@redhat.com>
Tue, 15 Mar 2016 00:26:14 +0000 (17:26 -0700)
commit3b1db9bbf572609dabeba7ffae6794bda077417c
tree401d09eefac70c4bf4fbf4c31a227333fdf1dfa2
parentd61293d4dacd86e670b300714da69f02aff48ffc
rbd-mirror: helper state machine for opening local image

This state machine will open a local image and request the
exclusive lock.  If the open or lock fails, it will automatically
close the image.

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