]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: drop exclusive-lock image dispatch lock before acquiring lock
authorJason Dillaman <dillaman@redhat.com>
Thu, 28 May 2020 13:17:04 +0000 (09:17 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 3 Jun 2020 13:45:24 +0000 (09:45 -0400)
commit3457f0bf280231a46d87e2f0adf96ecad6c60a79
treed1658129fb1846802ef6d4d48eb1eeaf9b079fa8
parent48456f8c5fdc43f4dca464c61f7b287d57a08e20
librbd: drop exclusive-lock image dispatch lock before acquiring lock

This avoids a potential race with the exclusive lock being acquired by
another thread while the image dispatch layer attempts to acquire it.

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