From: Igor Fedotov Date: Fri, 22 Mar 2019 15:56:28 +0000 (+0300) Subject: os/bluestore: new bluestore_debug_enforce_settings option. X-Git-Tag: v15.1.0~3020^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=61b9055fdd50b0dc196cc8602cf567714eb06e4f;p=ceph.git os/bluestore: new bluestore_debug_enforce_settings option. Allows to enforce hdd-/ssd-specific settings without actual hardware, intended primarily for UT usage. Signed-off-by: Igor Fedotov --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index a68ea412a481..9579977a284a 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1071,6 +1071,7 @@ OPTION(bluestore_no_per_pool_stats_tolerance, OPT_STR) OPTION(bluestore_warn_on_bluefs_spillover, OPT_BOOL) OPTION(bluestore_log_op_age, OPT_DOUBLE) OPTION(bluestore_log_omap_iterator_age, OPT_DOUBLE) +OPTION(bluestore_debug_enforce_settings, OPT_STR) OPTION(kstore_max_ops, OPT_U64) OPTION(kstore_max_bytes, OPT_U64) diff --git a/src/common/options.cc b/src/common/options.cc index a6b0be73384d..106aa30a2d18 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4740,6 +4740,13 @@ std::vector