diff options
author | Sage Weil <sage@inktank.com> | 2013-09-20 23:08:53 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-09-23 14:57:22 -0700 |
commit | befdcfd65872ed7ce429439c80d64401ada18753 (patch) | |
tree | a0cb69a4ae921bb546c8e1af53c4fb37305e09ae /src/common/config_opts.h | |
parent | a684ac822077fb3f84ebc996dee3feb2a756f74e (diff) | |
download | ceph-befdcfd65872ed7ce429439c80d64401ada18753.tar.gz |
mon/PGMonitor: health warn if pool has relatively high objects/pg
If there is a pool that has a high objects/pg relative to the rest of the
cluster, warn, as this suggests this particular pool may have too few
PGs.
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/common/config_opts.h')
-rw-r--r-- | src/common/config_opts.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 51212b5e4bf..1f616e2c970 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -159,6 +159,7 @@ OPTION(mon_accept_timeout, OPT_FLOAT, 10.0) // on leader, if paxos update isn OPTION(mon_pg_create_interval, OPT_FLOAT, 30.0) // no more than every 30s OPTION(mon_pg_stuck_threshold, OPT_INT, 300) // number of seconds after which pgs can be considered inactive, unclean, or stale (see doc/control.rst under dump_stuck for more info) OPTION(mon_pg_warn_min_per_osd, OPT_INT, 20) // min # pgs per (in) osd before we warn the admin +OPTION(mon_pg_warn_max_object_skew, OPT_FLOAT, 10.0) // max skew few average in objects per pg OPTION(mon_osd_full_ratio, OPT_FLOAT, .95) // what % full makes an OSD "full" OPTION(mon_osd_nearfull_ratio, OPT_FLOAT, .85) // what % full makes an OSD near full OPTION(mon_globalid_prealloc, OPT_INT, 100) // how many globalids to prealloc |