]> 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>
Thu, 8 May 2025 14:33:57 +0000 (09:33 -0500)
commit170e9f75fd7bcfe2ab93a5ad2f28b2ea5955db48
treed5a3ffaf569d64f8fd415ef449e9818a4e4b06aa
parentafd3f6b30a0bc552b5d7bf3ea30be80fc87c8fc7
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>
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