]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: AIO work queue needs to support dynamic feature updates
authorJason Dillaman <dillaman@redhat.com>
Fri, 8 Apr 2016 18:27:46 +0000 (14:27 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sat, 9 Apr 2016 16:59:00 +0000 (12:59 -0400)
commit3c4a859aa2cbf7a0dd6218ad06313ac4dcbf1992
treeffc27560251ace0db509ac6d514e538d2dbec44b
parent032fda55bc36bf9bf9e0d36d6996a497a130a8fd
librbd: AIO work queue needs to support dynamic feature updates

If the exclusive lock is enabled/disabled during an IO-driven
image refresh, we need to avoid deadlocking the queue.

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