]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: QoS delayed dispatch needs to use op work queue 34964/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 14 May 2020 17:05:04 +0000 (13:05 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 14 May 2020 17:05:04 +0000 (13:05 -0400)
commit5f901fb13fc495ee73371f1b80fecb40c5526d50
treef52d24e97d625a0d4b803e1ca164cef48eb244e8
parent3a6f063edefbcbf75d3bcd1cb508eeb1e744a313
librbd: QoS delayed dispatch needs to use op work queue

The QoS throttle will invoke its throttle complete callback within
the scope of the ImageCtx timer lock singleton. This would cause
the potential for deadlock if a future dispatch layer attempted
to acquire the same timer lock.

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