]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: list_children should not attempt to refresh image 21224/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 4 Oct 2017 14:46:46 +0000 (10:46 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 3 Apr 2018 21:50:05 +0000 (17:50 -0400)
commit0c43de4699aa1863488daeaa3411d1eaba07d0a2
tree2bfeefe4522a38017c056478eaab1dfc387ccae3
parent2e9d4ce3733f21833fe5aa2f790acc62d4f82e9c
librbd: list_children should not attempt to refresh image

The snap_lock is being held when this method is invoked, which can
result in a deadlock.

Fixes: http://tracker.ceph.com/issues/21670
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4c585d826f38ff97d3a484a30eca0588c79396b4)

Conflicts:
src/librbd/internal.cc: functions re-arranged in later release
src/librbd/internal.cc