]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: separate finisher for deferred_try_submit 17494/head
authorSage Weil <sage@redhat.com>
Thu, 31 Aug 2017 20:43:39 +0000 (16:43 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 5 Sep 2017 15:12:26 +0000 (17:12 +0200)
commit927b19ff77b667d6d5b73b5024fd3007196d0002
tree6f8cf8ba321044c3f0aef98673b894220b7690f7
parent823585311c41729309809690a7df5cb83c4ece12
os/bluestore: separate finisher for deferred_try_submit

Reusing finishers[0], which is used for completions back into the OSD,
is deadlock-prone: the OSD code might block trying to submit new IO or
while waiting for some other bluestore work to complete.

Fixes: http://tracker.ceph.com/issues/21207
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 2b6a9d1ec0778f66b6e9d9f216df21a00caeba3f)
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h