]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: remove dead option mon_pg_min_inactive
authorSage Weil <sage@redhat.com>
Sun, 9 Dec 2018 15:36:23 +0000 (09:36 -0600)
committerSage Weil <sage@redhat.com>
Thu, 13 Dec 2018 13:05:08 +0000 (07:05 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/legacy_config_opts.h
src/common/options.cc

index 3f3574bc689213b74944182d723f98495e9ee5df..a5064a15de38b8603c3c1ed147e91ce070249754 100644 (file)
@@ -239,7 +239,6 @@ OPTION(mon_clock_drift_allowed, OPT_FLOAT) // allowed clock drift between monito
 OPTION(mon_clock_drift_warn_backoff, OPT_FLOAT) // exponential backoff for clock drift warnings
 OPTION(mon_timecheck_interval, OPT_FLOAT) // on leader, timecheck (clock drift check) interval (seconds)
 OPTION(mon_timecheck_skew_interval, OPT_FLOAT) // on leader, timecheck (clock drift check) interval when in presence of a skew (seconds)
-OPTION(mon_pg_min_inactive, OPT_U64) // the number of PGs which have to be inactive longer than 'mon_pg_stuck_threshold' before health goes into ERR. 0 means disabled, never go into ERR.
 OPTION(mon_pg_check_down_all_threshold, OPT_FLOAT) // threshold of down osds after which we check all pgs
 OPTION(mon_cache_target_full_warn_ratio, OPT_FLOAT) // position between pool cache_target_full and max where we start warning
 OPTION(mon_osd_full_ratio, OPT_FLOAT) // what % full makes an OSD "full"
index 27e7d277053e4730a9c7c560e874e2cca3197a55..88bb56ae494e8b4246d1310f55da57134f4ed36b 100644 (file)
@@ -1446,10 +1446,6 @@ std::vector<Option> get_global_options() {
     .set_long_description("see doc/control.rst under dump_stuck for more info")
     .add_service("mgr"),
 
-    Option("mon_pg_min_inactive", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
-    .set_default(1)
-    .set_description(""),
-
     Option("mon_pg_warn_min_per_osd", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
     .set_default(30)
     .set_description("minimal number PGs per (in) osd before we warn the admin"),