]> 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>
Thu, 5 Oct 2017 11:58:27 +0000 (06:58 -0500)
commit9ab0f64bcf74f74838f6066d554f728902c31715
tree1de0e90512c2ca5ffd7306105f330514b3777f2a
parent66af04cd9b61d482362361cb3b12af2d8ffa462c
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>
(cherry picked from commit 633b17007701d87903fe1d10b19c44210a3326eb)
src/os/bluestore/BlueStore.cc