]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: generalized deep copy function
authorMykola Golub <to.my.trociny@gmail.com>
Sat, 14 Oct 2017 15:58:11 +0000 (18:58 +0300)
committerMykola Golub <to.my.trociny@gmail.com>
Mon, 6 Nov 2017 08:29:44 +0000 (10:29 +0200)
commit5a1a21711282eb3ed76f257d43d71a153cea8ec8
tree15f06edf0a1f88b7674dc6de87fcaf6966661ee0
parenta84b0a415a6947b3ec52eeb5afb32e7cca8e9ba8
librbd: generalized deep copy function

(based on rbd-mirror image sync)

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
35 files changed:
src/librbd/CMakeLists.txt
src/librbd/DeepCopyRequest.cc [new file with mode: 0644]
src/librbd/DeepCopyRequest.h [new file with mode: 0644]
src/librbd/Types.h
src/librbd/api/Image.cc
src/librbd/api/Image.h
src/librbd/deep_copy/ImageCopyRequest.cc [new file with mode: 0644]
src/librbd/deep_copy/ImageCopyRequest.h [new file with mode: 0644]
src/librbd/deep_copy/MetadataCopyRequest.cc [new file with mode: 0644]
src/librbd/deep_copy/MetadataCopyRequest.h [new file with mode: 0644]
src/librbd/deep_copy/ObjectCopyRequest.cc [new file with mode: 0644]
src/librbd/deep_copy/ObjectCopyRequest.h [new file with mode: 0644]
src/librbd/deep_copy/SetHeadRequest.cc [new file with mode: 0644]
src/librbd/deep_copy/SetHeadRequest.h [new file with mode: 0644]
src/librbd/deep_copy/SnapshotCopyRequest.cc [new file with mode: 0644]
src/librbd/deep_copy/SnapshotCopyRequest.h [new file with mode: 0644]
src/librbd/deep_copy/SnapshotCreateRequest.cc [new file with mode: 0644]
src/librbd/deep_copy/SnapshotCreateRequest.h [new file with mode: 0644]
src/librbd/deep_copy/Types.h [new file with mode: 0644]
src/librbd/deep_copy/Utils.cc [new file with mode: 0644]
src/librbd/deep_copy/Utils.h [new file with mode: 0644]
src/librbd/journal/Types.h
src/librbd/operation/SnapshotRemoveRequest.h
src/test/librbd/CMakeLists.txt
src/test/librbd/deep_copy/test_mock_ImageCopyRequest.cc [new file with mode: 0644]
src/test/librbd/deep_copy/test_mock_MetadataCopyRequest.cc [new file with mode: 0644]
src/test/librbd/deep_copy/test_mock_ObjectCopyRequest.cc [new file with mode: 0644]
src/test/librbd/deep_copy/test_mock_SetHeadRequest.cc [new file with mode: 0644]
src/test/librbd/deep_copy/test_mock_SnapshotCopyRequest.cc [new file with mode: 0644]
src/test/librbd/deep_copy/test_mock_SnapshotCreateRequest.cc [new file with mode: 0644]
src/test/librbd/mock/MockImageCtx.h
src/test/librbd/test_DeepCopy.cc [new file with mode: 0644]
src/test/librbd/test_main.cc
src/test/librbd/test_mock_DeepCopyRequest.cc [new file with mode: 0644]
src/test/rbd_mirror/image_replayer/test_mock_EventPreprocessor.cc