]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: gracefully handle deleted/renamed pools 3403/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 19 Jan 2015 15:28:56 +0000 (10:28 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 19 Jan 2015 15:28:56 +0000 (10:28 -0500)
commit436923c68b77c900b7774fbef918c0d6e1614a36
tree38ecbb308cbd395c2cf49295b6c4e4d947d81a74
parent4c8a5cedcb7942e1e01ab4cedfbf03e4c56cc1e4
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