]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: acquire exclusive lock before disabling features
authorJason Dillaman <dillaman@redhat.com>
Sat, 9 Apr 2016 18:28:14 +0000 (14:28 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sat, 9 Apr 2016 18:28:14 +0000 (14:28 -0400)
commitfd2436156b8613c14d21d7831455458e58832d8d
tree0a71bcd0c217a61c26421a2b4c70f62369166544
parent458bef840116b26e7d5ab3d1d7e0651660488559
librbd: acquire exclusive lock before disabling features

If object map or journaling is dynamically disabled, we want to
ensure that no in-flight IO could be updating the objects while
we attempt to delete them.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc