]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: Add scrub duration to pg dump stats 42977/head
authorAishwarya Mathuria <amathuri@redhat.com>
Tue, 24 Aug 2021 14:55:02 +0000 (20:25 +0530)
committerAishwarya Mathuria <amathuri@redhat.com>
Fri, 1 Oct 2021 07:57:27 +0000 (13:27 +0530)
commit1b4e416f819a95790320cb63cfa50bb4c3822042
tree0239db632cbe9b83da92aecaef25b6fad23770ec
parent6939ea034a21745448742eb1ff6186336a4fd48f
osd/scrub: Add scrub duration to pg dump stats

Addition of a new column, SCRUB_DURATION, to the pg stats that stores the time taken for a PG scrub.

Fixes: https://tracker.ceph.com/issues/52605
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
qa/standalone/scrub/osd-scrub-test.sh
src/mon/PGMap.cc
src/osd/osd_types.cc
src/osd/osd_types.h
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/pg_scrubber.h
src/osd/scrubber/scrub_machine.cc
src/osd/scrubber/scrub_machine.h
src/osd/scrubber/scrub_machine_lstnr.h