]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: ensure deep-copy snapshot map includes all destination snap ids
authorJason Dillaman <dillaman@redhat.com>
Wed, 5 Feb 2020 20:27:39 +0000 (15:27 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 13 Feb 2020 13:11:17 +0000 (08:11 -0500)
commit5ddc15a34b3bc2726ea15cfbfbe2bd28a329db99
treef7613decbd6ac565ab9730675302248416453187
parent1fac1f72c2d2000175f854f9bb14ec95ccb68b08
librbd: ensure deep-copy snapshot map includes all destination snap ids

When deep-copying from an arbitrary start snapshot id, the snap sequence
will be missing all older snapshots. Additionally, snapshot types that
are not deep-copied still need to be included in the destination snap
map.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/deep_copy/ImageCopyRequest.cc
src/librbd/deep_copy/ImageCopyRequest.h
src/librbd/deep_copy/Utils.cc
src/librbd/deep_copy/Utils.h
src/librbd/image/RefreshRequest.cc