]> git-server-git.apps.pok.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>
Tue, 2 Dec 2025 13:16:16 +0000 (07:16 -0600)
commitd143ae8bf101922b9732a18f3adfefababff3f44
treeb8240c2bbe1bcd860f72ee70f0cf5b6b99bafddc
parentf9337415be1a9de5ef9df4e0c0aaabe4c545883a
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>
(cherry picked from commit 3e8ec7d08ac7a7302abd27185dca2660df9c429f)
(cherry picked from commit cdd5bd59e7f205b6f3a3cba8b25f8b05399d383d)
src/common/options/osd.yaml.in
src/osd/scrubber/pg_scrubber.cc