]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: don't stop at the first unremovable image when purging 41663/head
authorIlya Dryomov <idryomov@gmail.com>
Wed, 26 May 2021 12:21:22 +0000 (14:21 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 2 Jun 2021 19:42:09 +0000 (21:42 +0200)
commit21cdb63bb0d767da0a5e00257e7db69c08eef626
treeddab548d3fe37a5f2e808b3819126a7d7512d40a
parent247150cd96670ac63dc9b833905e7cbfd06f3de8
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>
(cherry picked from commit 16d9a68a3e863b5a819860abf0696fb76fc9341a)
qa/workunits/rbd/cli_generic.sh
src/librbd/api/Trash.cc