]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: restore 'dump_scrub_reservations' functionality
authorRonen Friedman <rfriedma@redhat.com>
Sun, 28 Jan 2024 15:35:07 +0000 (09:35 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 31 Jan 2024 07:29:19 +0000 (01:29 -0600)
commitcf9ed68c816b513d952e75399828ca306fb852a1
tree19de4ac67b87bc6bf90cd4f333112efa42d53cf7
parent46e18b9a2d224c6b65ab46a945bcbe26fcd078f6
osd/scrub: restore 'dump_scrub_reservations' functionality

As ScrubResources is no longer involved in remote reservations, some
of the data listed by 'dump_scrub_reservations' is now collected by
OsdScrub itself (prior to this change, OsdScrub just forwarded the
request to ScrubResources).

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