]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: possible deadlock attempting to drain parent image WQs
authorJason Dillaman <dillaman@redhat.com>
Fri, 14 Aug 2015 17:30:41 +0000 (13:30 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 17 Nov 2015 14:01:59 +0000 (09:01 -0500)
commitcb634dfa42a192155440a5457f43b574cffdafec
tree6220efeeb7490e7e76c2074ae312e88908e91bf5
parentb118d7df1e34387b6e5649a5b205cf061598d0d4
librbd: possible deadlock attempting to drain parent image WQs

Ensure all AIO to the parent image is properly flushed and assert
that all work queues are empty before closing the parent image.

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