From: Igor Fedotov Date: Sun, 10 Nov 2019 23:35:04 +0000 (+0300) Subject: os/bluestore: check bluefs allocations when replaying log X-Git-Tag: v15.1.0~773^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d2b401ca5ac047ab36990c1a4f4895fcb96b9071;p=ceph.git os/bluestore: check bluefs allocations when replaying log Signed-off-by: Igor Fedotov --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index a30e206fd5c2..4fc78c79c83a 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -912,6 +912,7 @@ 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(bluestore_bluefs, OPT_BOOL) OPTION(bluestore_bluefs_env_mirror, OPT_BOOL) // mirror to normal Env for debug diff --git a/src/common/options.cc b/src/common/options.cc index 046d62e916b4..b4c8c28b4f88 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3973,6 +3973,10 @@ std::vector