]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMonitor.cc:warning if pg not scrubbed 6440/head
authorMichal Jarzabek <stiopa@gmail.com>
Sat, 23 Jan 2016 12:08:57 +0000 (12:08 +0000)
committerMichal Jarzabek <stiopa@gmail.com>
Sat, 23 Jan 2016 16:22:26 +0000 (16:22 +0000)
commit3d8731209ad39197feedb4710e146173f2958c5d
tree2356a526851c7bfbc8dcc938d289a270a52a6303
parent93ad14d501b3148d3e86d10a3a103cd26d34793a
mon/PGMonitor.cc:warning if pg not scrubbed

Added 2 flags for displaying a warning when pg is unscrubbed:
mon report not scrubbed
mon report not deep scrubbed

Each of them specifies the amount of time past the mon_scrub_interval
after which an unscrubbed pg is displayed:
ceph -s                 -for number of unscrubbed pgs
ceph health             -for number of unscrubbed pgs
ceph health detail      -for detailed list of unscrubbed pgs

Both flags are set to 0 by default, which means they are turned off.

Fixes: #13142
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/common/config_opts.h
src/mon/MDSMonitor.cc
src/mon/MDSMonitor.h
src/mon/Monitor.cc
src/mon/MonmapMonitor.cc
src/mon/MonmapMonitor.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/mon/PGMonitor.cc
src/mon/PGMonitor.h
src/mon/PaxosService.h