]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: do not reduce min chunk on preemption
authorRonen Friedman <rfriedma@redhat.com>
Thu, 9 Oct 2025 07:31:30 +0000 (02:31 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 9 Oct 2025 07:31:30 +0000 (02:31 -0500)
commit3e8ec7d08ac7a7302abd27185dca2660df9c429f
tree26b9e6e1591b361ceff0d4083446a4c916b496dd
parentbae81a5c12bc9cf8a6f98a10741801f86bf16204
osd/scrub: do not reduce min chunk on preemption

Existing logic handling scrub preemptions is halving both the
'max' and the 'min' values.
This isn't optimal: the 'min' values (used mainly to guarantee a minimal
number of objects to fetch from the backend in one operation) can and
should also be used to limit the effect of preemptions on the execution
of the scrub.

Fixes: https://tracker.ceph.com/issues/73410
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/options/osd.yaml.in
src/osd/scrubber/pg_scrubber.cc