]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: deep-copy snapshots from a specified start/end position
authorJason Dillaman <dillaman@redhat.com>
Wed, 5 Feb 2020 19:23:53 +0000 (14:23 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 13 Feb 2020 13:11:17 +0000 (08:11 -0500)
commit1fac1f72c2d2000175f854f9bb14ec95ccb68b08
tree07afdcd0127faa8aa872203921fa3e25fc461bba
parentfccbc70fe15e4c92c22467b204362881b12468f1
librbd: deep-copy snapshots from a specified start/end position

Allow the snapshots to be arbitrarily copied from any source image
start/end snapshot ids. If the end snapshot is not a user-snapshot,
it will associate to the destination image HEAD revision.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/DeepCopyRequest.cc
src/librbd/api/Migration.cc
src/librbd/deep_copy/SnapshotCopyRequest.cc
src/librbd/deep_copy/SnapshotCopyRequest.h
src/test/librbd/deep_copy/test_mock_SnapshotCopyRequest.cc
src/test/librbd/test_mock_DeepCopyRequest.cc