]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: async request to test if image is primary
authorMykola Golub <mgolub@mirantis.com>
Mon, 9 Jan 2017 08:23:19 +0000 (09:23 +0100)
committerNathan Cutler <ncutler@suse.com>
Mon, 13 Feb 2017 14:51:47 +0000 (15:51 +0100)
commit8361a60c3cb272d2d4895840dadbbc6c50294f51
treecfbd1f15257b6d247f8753188d18144cacda6d55
parentbee1d2c24ab463a0f5c1e28cb70f6b89e0278d22
rbd-mirror: async request to test if image is primary

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 0a1cb35caacdf85029f31a0364dc07a5d7462f5f)

Conflicts:
src/tools/rbd_mirror/CMakeLists.txt - file doesn't exist in jewel
            (ported the patch to src/tools/Makefile-client.am)
src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc - Journal is
             implemented by a typedef in jewel
src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.cc -
             no compat.h include in jewel, Journal is implemented by a typedef
             in jewel
src/test/rbd_mirror/image_replayer/test_mock_BootstrapRequest.cc
src/tools/Makefile-client.am
src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc
src/tools/rbd_mirror/image_replayer/BootstrapRequest.h
src/tools/rbd_mirror/image_replayer/IsPrimaryRequest.cc [new file with mode: 0644]
src/tools/rbd_mirror/image_replayer/IsPrimaryRequest.h [new file with mode: 0644]
src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.cc
src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.h