]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: Fix scrub health warning handling and change config to a ratio
authorDavid Zafman <dzafman@redhat.com>
Tue, 15 Jan 2019 20:12:39 +0000 (12:12 -0800)
committerDavid Zafman <dzafman@redhat.com>
Thu, 24 Jan 2019 00:49:33 +0000 (16:49 -0800)
commit6a9895b97a2b2fb533092f294e45fede154a7f82
treedd03dde2852de45b7c750a968c98b5bdcd018229
parentaa4fc197858bfd94924c09aada1c408c8ef01273
mon: Fix scrub health warning handling and change config to a ratio

Make this mon_warn code clearer since it involves 2 values
Code used mon scrub interval instead of pg scrub interval
Rename config values to include _pg_ and ratio to make it more clear
Fix scrub warniing handling use per-pool intervals when specified

Fixes: http://tracker.ceph.com/issues/37264
Signed-off-by: David Zafman <dzafman@redhat.com>
PendingReleaseNotes
doc/rados/operations/health-checks.rst
src/common/legacy_config_opts.h
src/common/options.cc
src/mon/PGMap.cc