]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: drop osd_lock during scrub 28330/head
authorSage Weil <sage@redhat.com>
Tue, 2 Jul 2019 15:51:57 +0000 (10:51 -0500)
committerSage Weil <sage@redhat.com>
Tue, 2 Jul 2019 15:51:57 +0000 (10:51 -0500)
commitb17850a6653f2f5870907ee54c72955735ffc84a
tree12c8cf3df1fca8ebca5d97d7c8866967f9765815
parentadacc20046c5f3a96b59df3fe01f9764e8437156
osd: drop osd_lock during scrub

We do not want to hold osd_lock while calling apply_transaction or else
we may cause a deadlock due to a completion event that needs osd_lock.

Also, we don't need to hold the lock here, so don't.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc