]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: fix blocked scrub accounting wip-rf-lockedobjcnt
authorRonen Friedman <rfriedma@redhat.com>
Wed, 8 Oct 2025 13:26:41 +0000 (08:26 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 8 Oct 2025 13:26:41 +0000 (08:26 -0500)
commit88866336759caa769cbc5220a41f4e1c8c28da3f
tree4e093d69b7600128b6fee40bf2a58ea8e6e843aa
parentb2db4947fe5fe24ad9b63f3bfa45473eab28a17f
osd/scrub: fix blocked scrub accounting

The labeled perf counter <label>_chunk_busy is incremented whenever
the selected scrub chunk range is not available, and the scrubber
must wait for ongoing I/O to complete. This is as it should be.

<label>_locked_object should not be incremented in parallel,
serving no purpose. Instead - it should count the times the
'wait for chunk to be free' takes longer than the configured
grace period.

Fixes: https://tracker.ceph.com/issues/73415
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/scrubber/scrub_machine.cc