]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMonitor: skip scrub checking if we can
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 17 Aug 2016 03:22:38 +0000 (11:22 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 18 Aug 2016 10:05:40 +0000 (18:05 +0800)
commit6f3cf0d68ad7129e4a50d418f04a024195aee6b6
treebf9724bde6037a2e26bc7eb7e5e2d900c34cf395
parent28dd2b06f8604673eb74142163e7ffe40bfbcb84
mon/PGMonitor: skip scrub checking if we can

The PG-scrub checking may become expensive once the cluster
is big. Since the scrub-warn related options are defaulted to be off,
we should skip this checking when it is possible, which
is good for performance.

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