]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: new/modified perf counters for scrub preemption wip-rf-66214-66234-ci-tentacle
authorRonen Friedman <rfriedma@redhat.com>
Wed, 8 Oct 2025 16:54:40 +0000 (11:54 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 2 Dec 2025 13:16:33 +0000 (07:16 -0600)
commit78c87c404e9a53bee5fe4d17068ffa3f91f6fbd2
tree031fe63a2d7b7a1741bc511eb01e9b2d4f070f4c
parentd143ae8bf101922b9732a18f3adfefababff3f44
osd/scrub: new/modified perf counters for scrub preemption

A new 'scrub_[replicated/ec]_io_intersects' counter is added, to count
the times a client write op intersects the active scrub chunk range.
A new 'scrub_[replicated/ec]_io_blocked' counter counts the times
the write op did not preempt the scrub, and instead blocked for the
scrub to release the chunk.

The existing labeled counter <label>_write_blocked is still there,
but will be removed in 'Umbrella'.  Its meaning was modified,
to mimic the new 'scrub_[replicated/ec]_io_blocked' counter.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit bae81a5c12bc9cf8a6f98a10741801f86bf16204)
(cherry picked from commit 776716ace38456bff1ccde6f787948ffe655913e)
src/osd/osd_perf_counters.cc
src/osd/osd_perf_counters.h
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/pg_scrubber.h
src/osd/scrubber_common.h