]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: passing the scrub-job copy through the scrubber
authorRonen Friedman <rfriedma@redhat.com>
Sun, 16 Jun 2024 15:49:27 +0000 (10:49 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 16 Jul 2024 14:19:33 +0000 (09:19 -0500)
commitc55c6479f966e0d1731c2ddcd401b0ec7275b4a8
tree7a264acc086fee083f2eb3d151590c997787c1f0
parent54168d280944e95046b4c4a84914895b5772fd5a
osd/scrub: passing the scrub-job copy through the scrubber

moving the scrubbed sjob copy thru the scrubber - from scrub
session initiation to its termination (or abort - where we use the
handed "old version" of the sjob to update the new one).

Note that in this version - not all the information that was used to
determine the specifics of the initiated scrub is passed to the
scrubber and back. In this half-baked stage of the refactoring,
the resulting implementation handling of corner cases, still using
the "planned scrub" flags, is less than optimal.

The next step (dual targets, replacing the 'planned scrub' flags with
specific attributes in the scheduling target) fixes this.

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