os/bluestore/BlueFS: do direct io by default (not buffered)

Somnath is doing this in his testing with good results.

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2016-08-17 12:35:12 -04:00
parent 8a54076ca2
commit 7f568fa1dd

View File

@ -942,7 +942,7 @@ OPTION(bluestore_bluefs_min_ratio, OPT_FLOAT, .02) // min fs free / total free
OPTION(bluestore_bluefs_max_ratio, OPT_FLOAT, .90) // max fs free / total free
OPTION(bluestore_bluefs_gift_ratio, OPT_FLOAT, .02) // how much to add at a time
OPTION(bluestore_bluefs_reclaim_ratio, OPT_FLOAT, .20) // how much to reclaim at a time
OPTION(bluestore_bluefs_buffered_io, OPT_BOOL, true)
OPTION(bluestore_bluefs_buffered_io, OPT_BOOL, false)
// If you want to use spdk driver, you need to specify NVMe serial number here
// with "spdk:" prefix.
// Users can use 'lspci -vvv -d 8086:0953 | grep "Device Serial Number"' to