]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbdmap: fix umount when multiple mounts use the same RBD 17998/head
authorAlexandre Marangone <a.marangone@gmail.com>
Tue, 26 Sep 2017 18:35:04 +0000 (11:35 -0700)
committerSage Weil <sage@redhat.com>
Wed, 27 Sep 2017 17:58:59 +0000 (13:58 -0400)
commit9aafc53ed4edca8bebb96bc36a0b37ce32c79a75
tree425e77d0af4023b6596ffe4004faaa7b0f9595c5
parent35a23b861a037ca0e0bc77952c413b46e95141d4
rbdmap: fix umount when multiple mounts use the same RBD

When a Kubernetes Pod consumes a RBD it is mounted two
times on the same host. When the host shutdown umount will
fail leading to a hung system

Signed-off-by: Alexandre Marangone <amarango@redhat.com>
(cherry picked from commit 40825daecedb2a3481021e4d36a367c339eb9b62)
src/rbdmap