]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: wake kv thread when blocking on deferred_bytes
authorSage Weil <sage@redhat.com>
Fri, 29 Sep 2017 18:47:19 +0000 (13:47 -0500)
committerSage Weil <sage@redhat.com>
Wed, 4 Oct 2017 21:52:18 +0000 (16:52 -0500)
commit633b17007701d87903fe1d10b19c44210a3326eb
tree3705a362af9240ebfc5968dc91ee1877fc4b352b
parent5a7cc5d3dbadaaa85fa2366722bc611310dac317
os/bluestore: wake kv thread when blocking on deferred_bytes

We need to wake the kv thread whenever setting deferred_aggressive to
ensure that txns with deferred io that have committed but haven't submitted
their deferred writes get submitted.  This aligns us with the other
users of deferred_aggressive (e.g., _osr_drain_all).

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc