]> 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)
committersinguliere <singuliere@autistici.org>
Fri, 19 Mar 2021 18:16:14 +0000 (19:16 +0100)
commit31f09d7b710b540563f9448461596afb88c7af0b
tree6b4b02cdc467f07030665df6c19649abca4fe3f6
parentb48ea1967f9550c0e86752b125da80d8bd94dac3
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