]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: modify after-repair-scrub triggering
authorRonen Friedman <rfriedma@redhat.com>
Sun, 28 Jul 2024 12:37:07 +0000 (07:37 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 25 Aug 2024 13:01:00 +0000 (08:01 -0500)
commit1f327081ef6c9fc8c60b896d8c395ac46aef86fc
treeb1841808a980439b8a66f6f4bb43a86cca23f4ef
parent90176a2ec8b3a3d2e929c66c7367ed5fc273d551
osd/scrub: modify after-repair-scrub triggering

... to manipulate the relevant scrub target directly, instead
of using the 'planned scrub' flags.

The relevant condition flag was moved from the PG and into the scrubber.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 files changed:
src/osd/OSD.cc
src/osd/OSD.h
src/osd/PG.cc
src/osd/PG.h
src/osd/PrimaryLogPG.cc
src/osd/scheduler/OpSchedulerItem.cc
src/osd/scheduler/OpSchedulerItem.h
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/pg_scrubber.h
src/osd/scrubber/scrub_machine.cc
src/osd/scrubber/scrub_machine.h
src/osd/scrubber_common.h