]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: list_children should not attempt to refresh image 18564/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 4 Oct 2017 14:46:46 +0000 (10:46 -0400)
committerKarol Mroz <kmroz@suse.de>
Thu, 26 Oct 2017 18:27:41 +0000 (11:27 -0700)
commit767ad8518d670e396b1a6a9d9574c5b8479673d1
treefac63ac68c9fc13e316702b6217acffbeeb6cb04
parent9a28a5c9d7ae618f5b79d3727ba155b5066a2653
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)
src/librbd/api/Image.cc
src/librbd/internal.cc