From 550c832b7735e79d4ef00d8b3e0caa550f9076c9 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Tue, 9 Jun 2020 11:44:31 +0300 Subject: [PATCH] os/bluestore: remove preextended WAL support. Fixes: https://tracker.ceph.com/issues/45613 Signed-off-by: Igor Fedotov (cherry picked from commit 7fdbf61860b9d9deaf8734cdd57cf5c8d5f93f81) Conflicts: src/common/options.cc - option "bluefs_preextend_wal_files" has a different default value ("false") in octopus (but the whole option is being deleted, so it doesn't matter) --- src/common/legacy_config_opts.h | 1 - src/common/options.cc | 4 ---- src/os/bluestore/BlueFS.cc | 24 +----------------------- 3 files changed, 1 insertion(+), 28 deletions(-) diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index cd7b78f1018a0..0af647df560fd 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -911,7 +911,6 @@ OPTION(bluefs_compact_log_sync, OPT_BOOL) // sync or async log compaction? OPTION(bluefs_buffered_io, OPT_BOOL) OPTION(bluefs_sync_write, OPT_BOOL) OPTION(bluefs_allocator, OPT_STR) // stupid | bitmap -OPTION(bluefs_preextend_wal_files, OPT_BOOL) // this *requires* that rocksdb has recycling enabled OPTION(bluefs_log_replay_check_allocations, OPT_BOOL) OPTION(bluefs_replay_recovery, OPT_BOOL) OPTION(bluefs_replay_recovery_disable_compact, OPT_BOOL) diff --git a/src/common/options.cc b/src/common/options.cc index f76a623149472..31353e5540206 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4014,10 +4014,6 @@ std::vector