]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: remove the 'deadline' attribute from the scrub job
authorRonen Friedman <rfriedma@redhat.com>
Sun, 11 May 2025 05:24:33 +0000 (00:24 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 13 May 2025 11:33:13 +0000 (06:33 -0500)
commit77d7c3b0bf551d5323afaf0ec42ad6931d0a5ede
treea89d9c6ac1bde91e39e1b30bd6f59851e39a568f
parent12fbcabbb172fdfb6b0f7c15b372fdea0df17b81
osd/scrub: remove the 'deadline' attribute from the scrub job

The scrub job's 'overdue' attribute is no longer calculated -
the only 'scrub is overdue' status remaining after latest
scheduling refactor, is the one performed in PGMap.cc (the
one affecting the 'health warning' status of the cluster).
Thus - there is no longer any reason to maintain any 'deadline'
attribute for the scrub scheduler.

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