From: Jianpeng Ma Date: Thu, 22 Dec 2016 16:06:50 +0000 (+0800) Subject: os/bluestore/bluefs: make bluefs_preextend_wal_files default is false. X-Git-Tag: v11.1.1~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ca209949be3151168ecf9a3699920b140db58e3e;p=ceph-ci.git os/bluestore/bluefs: make bluefs_preextend_wal_files default is false. This make rocksdb log corruption. Before fix, disable this function. Signed-off-by: Jianpeng Ma --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 169b05d8720..8edeed6dd02 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -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