]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: scanning the rollbacks not mandating a reschedule wip-rf-fastrolls
authorRonen Friedman <rfriedma@redhat.com>
Sat, 4 Oct 2025 16:58:40 +0000 (11:58 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Sat, 4 Oct 2025 16:58:40 +0000 (11:58 -0500)
commit66917fe026512f811e81617b6adf2f795155241d
tree4351dfd26af1d7bc5a3e38c54335d9d3dbff6e4a
parentf42d7dbea97e13d700633ea31b4e1ad068fea72d
osd/scrub: scanning the rollbacks not mandating a reschedule

The scrubber calls PG::_scan_rollback_obs() to clean up obsolete
rollback objects. This function may queue a transaction to
delete such objects.

The commit modifies the scrubber, so that no rescheduling of
the scrub is mandated if no transaction was queued.

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