]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: use normal Context for async deferred_try_submit 18118/head
authorSage Weil <sage@redhat.com>
Tue, 3 Oct 2017 21:48:37 +0000 (16:48 -0500)
committerSage Weil <sage@redhat.com>
Wed, 4 Oct 2017 21:54:02 +0000 (16:54 -0500)
commit67ec75805787ed63b35f8d70478a7a2cd785df06
treee03bfe70868c19e72c6cae49846cd756b22066b2
parent633b17007701d87903fe1d10b19c44210a3326eb
os/bluestore: use normal Context for async deferred_try_submit

I'm not quite sure why the FunctionContext did not ever execute on the
finisher thread (perhaps the [&] captured some state on the stack that it
shouldn't have?).  In any case, using a traditional Context here appears
to resolve the problem (of the async deferred_try_submit() never executing,
leading to a bluestore stall/deadlock).

Fixes: http://tracker.ceph.com/issues/21470
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h