diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index b85d7147b5e..2ee8f85936c 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -257,6 +257,7 @@ OPTION(mon_crush_min_required_version, OPT_STR) OPTION(mon_warn_on_crush_straw_calc_version_zero, OPT_BOOL) // warn if crush straw_calc_version==0 OPTION(mon_warn_on_osd_down_out_interval_zero, OPT_BOOL) // warn if 'mon_osd_down_out_interval == 0' OPTION(mon_warn_on_cache_pools_without_hit_sets, OPT_BOOL) +OPTION(mon_warn_on_misplaced, OPT_BOOL) OPTION(mon_min_osdmap_epochs, OPT_INT) OPTION(mon_max_pgmap_epochs, OPT_INT) OPTION(mon_max_log_epochs, OPT_INT) diff --git a/src/common/options.cc b/src/common/options.cc index 3e817a54fe3..31c5a57600c 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1523,6 +1523,10 @@ std::vector