]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: decay scrub_chunk_max too if scrub is preempted
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 23 Feb 2018 03:39:13 +0000 (11:39 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 23 Feb 2018 03:47:54 +0000 (11:47 +0800)
commita9260524676ac28742e5a945de93b87ae985017e
treeb0524a0893fd9b615f78069d91e62736a9d2f3e6
parenta09b319a5e984185bd56064e52f2e8ec3da49b73
osd/PG: decay scrub_chunk_max too if scrub is preempted

In normal case we'll at least scrub as many objects as
osd_scrub_chunk_max specified at a time, so the current
backoff mechanism should have very limit effect.
Decay both osd_scrub_chunk_min and osd_scrub_chunk_max
should instead be a better resolution.

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