]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
os/bluestore/bluefs: make bluefs_preextend_wal_files default is false.
authorJianpeng Ma <jianpeng.ma@intel.com>
Thu, 22 Dec 2016 16:06:50 +0000 (00:06 +0800)
committerSage Weil <sage@redhat.com>
Thu, 22 Dec 2016 14:47:35 +0000 (09:47 -0500)
This make rocksdb log corruption. Before fix, disable this function.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/common/config_opts.h

index 169b05d872056560096d3de16117420f71f6316b..8edeed6dd02a835d24124dd8319493f8bc31edc6 100644 (file)
@@ -984,7 +984,7 @@ OPTION(bluefs_min_flush_size, OPT_U64, 65536)  // ignore flush until its this bi
 OPTION(bluefs_compact_log_sync, OPT_BOOL, false)  // sync or async log compaction?
 OPTION(bluefs_buffered_io, OPT_BOOL, false)
 OPTION(bluefs_allocator, OPT_STR, "bitmap")     // stupid | bitmap
-OPTION(bluefs_preextend_wal_files, OPT_BOOL, true)  // this *requires* that rocksdb has recycling enabled
+OPTION(bluefs_preextend_wal_files, OPT_BOOL, false)  // this *requires* that rocksdb has recycling enabled
 
 OPTION(bluestore_bluefs, OPT_BOOL, true)
 OPTION(bluestore_bluefs_env_mirror, OPT_BOOL, false) // mirror to normal Env for debug