]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: remove the deep-scrubs deadline attribute
authorRonen Friedman <rfriedma@redhat.com>
Fri, 9 May 2025 12:46:26 +0000 (07:46 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 13 May 2025 11:32:43 +0000 (06:32 -0500)
commit12fbcabbb172fdfb6b0f7c15b372fdea0df17b81
treee8cb626b45a1555cc9b0a98c0f0449ca0ae2bc50
parent00af7ebfa97c72a528d3dcc853d79a3d9179c4bb
osd/scrub: remove the deep-scrubs deadline attribute

As it is no longer meaningful in the context of the new
scrub scheduling design.

The change mandates fixes to the way 'schedule-[deeps]crub'
commands are implemented. The offset to use when forcing the
last-scrub timestamp to a new value in now calculated in
ScrubJob::guaranteed_offset(), as ScrubJob is where all
schedule adjustments (which employ the same logic) are
implemented.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 4e6323f894fcd96a3d6235451a7d54913e6a1d40)
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/scrub_job.cc
src/osd/scrubber/scrub_job.h