]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: improve scheduling decisions logs
authorRonen Friedman <rfriedma@redhat.com>
Mon, 5 Feb 2024 11:49:26 +0000 (05:49 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 5 Feb 2024 11:49:26 +0000 (05:49 -0600)
commit9a03029b10bf99a053063bd1631503c2a6f6fab3
tree8df71eeacd2b3cd21895ff64a8aab354573cff49
parent4103b566e4b177a2d12932604b1df868022ef5d8
osd/scrub: improve scheduling decisions logs

And, to that end, relocated determine_scrub_time(), a
helper function that examines pg 'info' vs the planned
scrub details to determine the initial scrub time,
to the scrubber itself (where it belongs, and where
the logs are more expressive).

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/pg_scrubber.h