]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Fix scrub health warning handling
authorDavid Zafman <dzafman@redhat.com>
Tue, 15 Jan 2019 20:12:39 +0000 (12:12 -0800)
committerDavid Zafman <dzafman@redhat.com>
Tue, 12 Feb 2019 01:37:06 +0000 (17:37 -0800)
commitd90dee14995392a076a7fc904b0cd058076dc2c3
treea6a06a35f93b8ae4950825265c1b018d4ebf3507
parentcfa841c88352619a0c4f813305eacc2acc60e3ae
mon: Fix scrub health warning handling

Make this mon_warn code clearer since it involves 2 values
Code used mon scrub interval instead of pg scrub interval
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>
(cherry picked from commit 6a9895b97a2b2fb533092f294e45fede154a7f82)

Modified from master to leave config name alone and not to use ratio

(cherry picked from commit 5f3dc9b76e971f23625da78a6f05333c621b210e)
src/mon/PGMap.cc