]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/MemStore: do on_apply_sync callback synchronously
authorSage Weil <sage@inktank.com>
Tue, 10 Dec 2013 16:56:35 +0000 (08:56 -0800)
committerSage Weil <sage@inktank.com>
Tue, 10 Dec 2013 16:56:35 +0000 (08:56 -0800)
commitfaaf5463033c8547a4be952c68a8b76882e39c42
tree471bdff4376cf6bf61e7d6c989937db290007156
parent7d000e3411466808d806ab9d80e5bd0d4e637f01
os/MemStore: do on_apply_sync callback synchronously

We can easily deadlock if we put this in the Finisher thread behind other
work; do it synchronously!

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
src/os/MemStore.cc