]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: allow default to buffered write 11301/head
authorSage Weil <sage@redhat.com>
Fri, 7 Oct 2016 20:07:53 +0000 (16:07 -0400)
committerSage Weil <sage@redhat.com>
Fri, 7 Oct 2016 20:07:59 +0000 (16:07 -0400)
commit7ae800b7c9019df5ecda44ec6433a336894cb46b
tree5eaa2feeb2c617637f48e57230c9bb706e032a33
parentb675f343df79d3f0eff34f9e307aa9d794aa2bd8
os/bluestore: allow default to buffered write

Add config option to buffered writes (in the absense of
a client WILLNEED hint).  Set the config option to false,
though, so that the default behavior is unchanged.

2Q should do a half-decent job of preventing this from
pushing actually-hot data from the cache when it's
enabled, but we'll need to do more testing first.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h
src/os/bluestore/BlueStore.cc
src/test/objectstore/store_test.cc