]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: modify scrub registration implementation details
authorRonen Friedman <rfriedma@redhat.com>
Sat, 15 Jun 2024 12:29:30 +0000 (07:29 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 16 Jul 2024 14:19:32 +0000 (09:19 -0500)
commit473177f8f99ff8c6952ffc411fdede95ba831a06
treec310b97155a5fc9a16127bba4bf4467efd109484
parent3edb4317fd86d32542e20c5fc9ef04369320f0fb
osd/scrub: modify scrub registration implementation details

following the change to the queue into holding a copy of the
ScrubJob, the registration process - initiated by
schedule_scrub_with_osd() - can now be simplified.

adjust_target_time() is relocated as is. It will be refactored
in the next commit.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/scrubber/osd_scrub.cc
src/osd/scrubber/osd_scrub.h
src/osd/scrubber/osd_scrub_sched.cc
src/osd/scrubber/osd_scrub_sched.h
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/scrub_job.cc
src/osd/scrubber/scrub_job.h