]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: discard delay_ready_t
authorRonen Friedman <rfriedma@redhat.com>
Mon, 7 Apr 2025 09:45:58 +0000 (04:45 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 14 Apr 2025 10:13:05 +0000 (05:13 -0500)
commitc3742808ddf6c0433adecdf1b35010829f3171d0
treee11bd8b0a6ac7d24ea6730837b5c7634cda4c33a
parente3f06b822a30f051ab6d44d68dd9f4597b0e5a17
osd/scrub: discard delay_ready_t

The 'delay_ready_t' parameter was used in the past to
control whether, when a change in the scrub scheduling inputs
occurs (e.g. a configuration change), even those scheduling targets
that are already ripe for scrubbing will have their schedule recomputed.

This parameter, however, is ignored: all "regular-periodic"
scrubbing targets are always rescheduled when the scheduling inputs
change.
The commit removes the 'delay_ready_t' parameter from the codebase.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/PG.cc
src/osd/PG.h
src/osd/scrubber/osd_scrub.cc
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/pg_scrubber.h
src/osd/scrubber/scrub_job.cc
src/osd/scrubber/scrub_job.h
src/osd/scrubber_common.h