]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: gracefully handle deleted/renamed pools 3162/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 11 Dec 2014 22:00:46 +0000 (17:00 -0500)
committerJason Dillaman <dillaman@redhat.com>
Sat, 13 Dec 2014 09:41:38 +0000 (04:41 -0500)
commit53929ba1751fad9c9cd8545c4cd6985982d2eb5f
treeaa4a06ab430b252a2b485bc3c788154fd78ddd47
parentf79b7fe4513a386623b7f102daeeb5b1657ddbc6
librbd: gracefully handle deleted/renamed pools

snap_unprotect and list_children both attempt to scan all
pools.  If a pool is deleted or renamed during the scan,
the methods would previously return -ENOENT.  Both methods
have been modified to more gracefully handle this condition.

Fixes: #10270
Backport: giant, firefly
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc