]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: fix deep copy skipping clean object
authorMykola Golub <mgolub@suse.com>
Wed, 2 Dec 2020 12:25:56 +0000 (12:25 +0000)
committerMykola Golub <mgolub@suse.com>
Wed, 2 Dec 2020 12:25:56 +0000 (12:25 +0000)
commit3f892b8e0d200becb3ef39e20d759c3ed67dcba8
tree50b0638b5b544a3e1eee710db76facd187438a5c
parent89661d0a64e57dfdbf285a98f4e59ba1e411f107
librbd: fix deep copy skipping clean object

We need to map the destination object to source object(s) first
when deciding if we can skip copying.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/librbd/deep_copy/ImageCopyRequest.cc
src/librbd/deep_copy/ImageCopyRequest.h