]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: PGs that are scrubbing now update stats periodically 46855/head
authorRonen Friedman <rfriedma@redhat.com>
Tue, 14 Jun 2022 14:36:13 +0000 (14:36 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 16 Aug 2022 14:19:21 +0000 (17:19 +0300)
commitc50c20fd19e76a05535bc2623b31ce69c94abcc3
tree8e2052100f49591e495042ba3a7ed43d30f2ba93
parent9a498550d127f6e335c7de6b7c0c7552e9190d1a
osd/scrub: PGs that are scrubbing now update stats periodically

Added periodic calls to all PGs for which the OSD is the primary,
asking for a scrub statistics update.

This allows operator queries (e.g. 'pg dump pgs') to present
up-to-date scrub duration, "scrub is blocked" duration, etc'.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/options/osd.yaml.in
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h
src/osd/scrubber/osd_scrub_sched.cc
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/pg_scrubber.h
src/osd/scrubber_common.h