]> 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>
Wed, 16 Sep 2020 17:19:29 +0000 (13:19 -0400)
commit3affc4b9f46283ccb12a98576fe9fc297a30ea13
tree3cc5b484c87552d0c275693347cd8bbec64b08e5
parent077193e340e55907ed6f06fda7a5f3a1b0e1b61e
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>
(cherry picked from commit 1fac1f72c2d2000175f854f9bb14ec95ccb68b08)

Conflicts:
src/librbd/deep_copy/SnapshotCopyRequest.cc: different lock types
src/test/librbd/deep_copy/test_mock_SnapshotCopyRequest.cc: no mirror snapshot namespaces
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