From ca209949be3151168ecf9a3699920b140db58e3e Mon Sep 17 00:00:00 2001 From: Jianpeng Ma Date: Fri, 23 Dec 2016 00:06:50 +0800 Subject: [PATCH] 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 --- src/common/config_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 169b05d872056..8edeed6dd02a8 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 -- 2.39.5