]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: limit scrubbing under snap-trimming overload 68737/head
authorRonen Friedman <rfriedma@redhat.com>
Wed, 29 Apr 2026 04:55:02 +0000 (04:55 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 21 May 2026 18:21:55 +0000 (18:21 +0000)
commit27794c343ddd8a9fa0dfa000028dc4a107c484f0
treeca8ee66eb47a1f0e5bd0fbe18464d2b0f2d7f002
parent5e4908a02d8a42cbdbb9a7876fd35621f811eb08
osd/scrub: limit scrubbing under snap-trimming overload

When the snap-trim queues are long, scrubbing is likely to
make things worse. This change adds a new scrubbing restriction
for that case, and prevents periodic scrubs from starting when
the total snap-trim queue length across all PGs exceeds a
configurable threshold.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/options/osd.yaml.in
src/osd/scrubber/osd_scrub.cc
src/osd/scrubber/scrub_job.cc
src/osd/scrubber/scrub_job.h
src/osd/scrubber_common.h