]> 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>
Sun, 11 May 2025 12:49:42 +0000 (07:49 -0500)
commit5f83bde31ebf51ab521a488444392d5ca05a09a0
treecd2a0e28fe26793628fea095e0fa88866949d4ef
parent4e6323f894fcd96a3d6235451a7d54913e6a1d40
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>
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