]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd/api: allow an interrupted trash move to be restarted
authorJason Dillaman <dillaman@redhat.com>
Wed, 10 Mar 2021 20:15:26 +0000 (15:15 -0500)
committerNathan Cutler <ncutler@suse.com>
Thu, 8 Apr 2021 13:03:22 +0000 (15:03 +0200)
commit9ac519c614dc7f9aa5cd58da5de812509e439fbd
tree4b070f402c641c9dc7094a0f16f0eb575d6c5836
parente6b4780e5dd959e347c3aa6f5282b0ff45023bdd
librbd/api: allow an interrupted trash move to be restarted

Search the trash entries for a matching image name that is
still in the moving state and allow the operation to be
restarted.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit ed2d696e1eafaa59d29ce6fac952e4e5f4f1e920)
src/librbd/api/Trash.cc