]> 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)
committerBoris Ranto <branto@redhat.com>
Fri, 6 May 2016 11:44:17 +0000 (13:44 +0200)
commit037cf3f6a8025788f14f58aa68b3af8827216797
treef223522927bee2541dba21cb00c78934d4de7f72
parent01c0f429dd123ef96e3bbe75d25ba39b83a50237
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