]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: potential deadlock during AIO image re-open
authorJason Dillaman <dillaman@redhat.com>
Mon, 15 Feb 2016 15:50:33 +0000 (10:50 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 15 Feb 2016 17:35:22 +0000 (12:35 -0500)
commitf5dfebc026e5d914b0d3aa5082a0d8a1ed28c794
treecd2d8f4d433c9fda1266399a32546d4a5e1ea388
parent8756e808f5df82cb2707e6b6aa0e4c348c2f48df
librbd: potential deadlock during AIO image re-open

The AIO image open might complete under the librados AIO callback.
Attempting to close the old image handle under that thread will
deadlock under the new librados_test_stub flush handling.

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