]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: fix deadline calculations
authorRonen Friedman <rfriedma@redhat.com>
Thu, 8 May 2025 13:45:23 +0000 (08:45 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 13 May 2025 11:32:13 +0000 (06:32 -0500)
commitd65dce2b3554b7acd2455faed083f141843451fb
tree9bec5704b442b0330eae17e1c852e92a5fda4696
parentf590506dc4912714899ddac3b563a153e0a19c3a
osd/scrub: fix deadline calculations

The scrub scheduling deadlines are calculated based on pool and OSD
configuration parameters. The specifics of the calculations are
modified to match the new scrub scheduling design.

Comments and documentation are updated to reflect the fact that
the deadlines no longer have any meaningful effect on scrub
scheduling.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 170e9f75fd7bcfe2ab93a5ad2f28b2ea5955db48)
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