]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: deep-copy objects from specified start position 33097/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 5 Feb 2020 20:54:55 +0000 (15:54 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 13 Feb 2020 13:11:17 +0000 (08:11 -0500)
commitd445ac503a9b8aa7a8f7d235023325cca44d58ce
tree19037e3f77e403c29b62040e41e953225f513c81
parent5ddc15a34b3bc2726ea15cfbfbe2bd28a329db99
librbd: deep-copy objects from specified start position

Only read data from from after the specified start position and copy it
to the specified starting write position in the destination.

Fixes: https://tracker.ceph.com/issues/43933
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/DeepCopyRequest.cc
src/librbd/deep_copy/ImageCopyRequest.cc
src/librbd/deep_copy/ImageCopyRequest.h
src/librbd/deep_copy/ObjectCopyRequest.cc
src/librbd/deep_copy/ObjectCopyRequest.h
src/librbd/io/CopyupRequest.cc
src/librbd/operation/MigrateRequest.cc
src/test/librbd/deep_copy/test_mock_ImageCopyRequest.cc
src/test/librbd/deep_copy/test_mock_ObjectCopyRequest.cc
src/test/librbd/io/test_mock_CopyupRequest.cc
src/test/librbd/test_mock_DeepCopyRequest.cc