]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: remove pool objects when removing a namespace 32839/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 23 Dec 2019 15:46:09 +0000 (10:46 -0500)
committerNathan Cutler <ncutler@suse.com>
Fri, 24 Jan 2020 16:11:59 +0000 (17:11 +0100)
commitd7d52d5d603537bca79b74741eb177075a88904f
treec81e2c699499cc30cee62607d7b34e4aa248ebcc
parentb3d662aad44afaebb123540bd2b5ed93199910ec
librbd: remove pool objects when removing a namespace

Avoid leaving RBD pool objects within a pool namespace that is
being deleted.

Fixes: https://tracker.ceph.com/issues/43378
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 9e29914a6a9581ea8b41f3d3efd61f254fafeeff)

Conflicts:
src/librbd/api/Namespace.cc
- "r = Mirror<I>::mode_set(ns_ctx, RBD_MIRROR_MODE_DISABLED)"
  block is missing in nautilus
src/librbd/api/Namespace.cc