]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: don't stop at the first unremovable image when purging 41588/head
authorIlya Dryomov <idryomov@gmail.com>
Wed, 26 May 2021 12:21:22 +0000 (14:21 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 31 May 2021 09:44:47 +0000 (11:44 +0200)
commit16d9a68a3e863b5a819860abf0696fb76fc9341a
tree4faaa6b83a7928789c9a1c3fa355932c275a9a3b
parent0bcb9102174e5d1279fbc507acb161160a366dff
librbd: don't stop at the first unremovable image when purging

As there is no inherent ordering, there may be multiple removable
images past the unremovable image.  On top of that, removing a clone
may make its parent removable so perform an additional pass if any
image gets removed.

Fixes: https://tracker.ceph.com/issues/51021
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
qa/workunits/rbd/cli_generic.sh
src/librbd/api/Trash.cc