]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: avoid completing mirror:DisableRequest while holding its lock 35074/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 14 May 2020 18:01:35 +0000 (14:01 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 18 May 2020 12:38:28 +0000 (08:38 -0400)
commitc45324a14f6bb02896549d5f79ad42f942afb5d1
treefba4cde99ea4a40918942ccc4b733e0bf50c2a29
parent050eb5d87c080cdc2cf95a19bf76f9d215bb1738
librbd: avoid completing mirror:DisableRequest while holding its lock

Ensure that the lock is released before another thread has the chance
to complete the state machine and attempt to destruct the in-use lock.

Fixes: https://tracker.ceph.com/issues/45544
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/mirror/DisableRequest.cc