]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore/BlueFS: do direct io by default (not buffered)
authorSage Weil <sage@redhat.com>
Wed, 17 Aug 2016 16:35:12 +0000 (12:35 -0400)
committerSage Weil <sage@redhat.com>
Thu, 18 Aug 2016 18:23:20 +0000 (14:23 -0400)
Somnath is doing this in his testing with good results.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h

index f2a50165fcb93b1f662c7fad83d7f85ae2bc12eb..0d54ca63773b3af58112c2a9e6603a660564885d 100644 (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