]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: fix deep copy clone to destination with larger object size
authorMykola Golub <mgolub@suse.com>
Tue, 8 May 2018 12:29:38 +0000 (15:29 +0300)
committerMykola Golub <mgolub@suse.com>
Wed, 16 May 2018 13:04:36 +0000 (16:04 +0300)
commit947993a8d36f60bde05bc7b9a49c333dd51da4c5
treee77edd6428d345e69034ab9b14eaa9f664083feb
parent928540272f16911e3e0867db606ac5be40f49c27
librbd: fix deep copy clone to destination with larger object size

When assembling a destination object from source objects we need to
read from parent if some (but not all) of assembles do not exist.

Signed-off-by: Mykola Golub <mgolub@suse.com>
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/test/librbd/deep_copy/test_mock_ImageCopyRequest.cc
src/test/librbd/deep_copy/test_mock_ObjectCopyRequest.cc
src/test/librbd/mock/MockImageCtx.h