osd: warning if pg has not been scrubbed for a long time
For large clusters with aggressive throttling on scrubbing, scrubbing might take forever and thus some PG might not be scrubbed for a long time (refer to http://tracker.ceph.com/issues/10796).
It would be nice to have some warnings (through ceph -s ?) when some PGs have not been scrubbed for a long time (a configured interval).
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.