]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMonitor: fix inaccurate warn of unscrubbed pgs
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 28 Apr 2016 06:20:12 +0000 (14:20 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 28 Apr 2016 06:20:12 +0000 (14:20 +0800)
commit869800f31ad976679e556cee243b28bf4eb72167
treefe10ecbbe393325f1eb06605d594ae1990e822d1
parent4cdf0aa7ed93874853d1d51874f46a9b8df0b092
mon/PGMonitor: fix inaccurate warn of unscrubbed pgs

1. we automatically perform deep-scrub at osd_deep_scrub_interval,
   not mon_scrub_interval(1week vs. 1day).

2. theoretically a pg can be in a combination state of both unscrubbed
   and un-deep-scrubbed.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/PGMonitor.cc