]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: show reservation status in 'pg dump' output 60808/head
authorRonen Friedman <rfriedma@redhat.com>
Fri, 22 Nov 2024 18:00:50 +0000 (12:00 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 24 Dec 2024 14:29:57 +0000 (08:29 -0600)
commitef7127e8bfc01d55369fc7fd4da3db043686f124
treec5a10dcba27fe7a7be9e6797278c15d7aa35c5f4
parent5061b31102daaa52b56749252e81aaccb8a3ab83
osd/scrub: show reservation status in 'pg dump' output

Whenever a PG is selected for scrubbing, and is waiting for
remote reservations, the 'pg dump' output will include the
following text (under the 'SCRUB_SCHEDULING' column):
Reserving. Waiting Ns for OSD.k (n/m)

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/osd_types.cc
src/osd/osd_types.h
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/scrub_machine.cc
src/osd/scrubber/scrub_machine.h
src/osd/scrubber/scrub_reservations.h