]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: reinstate one-warning-per-chunk behaviour wip-rf-be-st3
authorRonen Friedman <rfriedma@redhat.com>
Tue, 2 Sep 2025 17:52:53 +0000 (12:52 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Sat, 6 Sep 2025 10:46:53 +0000 (13:46 +0300)
commit6b85e4d453f829c69f6441007bc3a6893b6b3d99
tree98500ff100a5dfd4a0f00ba746be873d4103ef8b
parent5e59c521f8dcd3a5d86ee5cf1f0576a7be6c274e
osd/scrub: reinstate one-warning-per-chunk behaviour

Modify collect_omap_stats() to guarantee that only
one 'large omap entry' warning message is logged
per chunk, thus maintaining the existing behaviour.

Unlike the existing behaviour - all 'large omap'
entries are counted.

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