]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: add a basic set of performance counters
authorRonen Friedman <rfriedma@redhat.com>
Thu, 14 Dec 2023 14:27:13 +0000 (08:27 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 20 Dec 2023 16:56:06 +0000 (18:56 +0200)
commitff20d130e3397ee69e5f849c05a367465af61f31
treec54d102cf42cf23d8e24f7281de4d68c43e829fe
parentb7ff3fcd72da6dc0a7e485bb7a526dde0d163ab8
osd/scrub: add a basic set of performance counters

Add a labeled set of performance counters, with the labels selecting
one of four copies of the counters - one per each scrub level and
pool type combination.

Inside the Scrubber, the relevant set of counters is selected
when the scrub is initialized.

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