]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: pass specialized handler interface to deep-copy
authorJason Dillaman <dillaman@redhat.com>
Fri, 3 Apr 2020 15:12:48 +0000 (11:12 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 3 Apr 2020 17:14:11 +0000 (13:14 -0400)
commitc7d6e762d19284a05b88daba6c27cbbdbdb210e9
tree824dc7a962af1c58f7151cfe573b9f6f636385ff
parent94e5fc5e5fd6ebfb27fc52cc0cc2d55ab7dd827e
librbd: pass specialized handler interface to deep-copy

The initial version mimics the existing ProgressContext callback
interface. Later commits will add additional deep-copy unique methods.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
14 files changed:
src/librbd/DeepCopyRequest.cc
src/librbd/DeepCopyRequest.h
src/librbd/api/Image.cc
src/librbd/deep_copy/Handler.h [new file with mode: 0644]
src/librbd/deep_copy/ImageCopyRequest.cc
src/librbd/deep_copy/ImageCopyRequest.h
src/test/librbd/deep_copy/test_mock_ImageCopyRequest.cc
src/test/librbd/test_mock_DeepCopyRequest.cc
src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc
src/test/rbd_mirror/test_mock_ImageSync.cc
src/tools/rbd_mirror/ImageSync.cc
src/tools/rbd_mirror/ImageSync.h
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.h