]> 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)
committerDavid Zafman <dzafman@redhat.com>
Fri, 18 May 2018 16:37:57 +0000 (09:37 -0700)
commitcdbf3242dc8921f534ec93e4ee5517460f7ba36f
tree893f5e76e20a871b00056aac8a475e4a665b5c76
parent7a0bacab58c37e30dfb5d8f65c7396e1ee29e511
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>
(cherry picked from commit a9260524676ac28742e5a945de93b87ae985017e)
src/osd/PG.cc