]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/scrub: add scrub_machine and scrub_validator along with tests
authorSamuel Just <sjust@redhat.com>
Fri, 11 Aug 2023 21:03:48 +0000 (14:03 -0700)
committerSamuel Just <sjust@redhat.com>
Mon, 11 Dec 2023 04:10:18 +0000 (04:10 +0000)
commitb1455202b177e94bc4dd97104c1d5e351b3aa537
treef9e10479e3b4285af0e58f558a27dcc0d99260b2
parent1bda4f5dfb0aea1cd02baa592f8cd4b09153374f
crimson/osd/scrub: add scrub_machine and scrub_validator along with tests

scrub_validator.h/cc contain the logic from translating a set of ScrubMaps
into per-chunk stats and errors.

scrub_machine.h/cc contain the logic for the overall scrub lifecycle and
reservation management.

ScrubContext (scrub_machine.h) is the interface through which the above
logic performs reservations and scans.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/CMakeLists.txt
src/crimson/osd/CMakeLists.txt
src/crimson/osd/scrub/scrub_machine.cc [new file with mode: 0644]
src/crimson/osd/scrub/scrub_machine.h [new file with mode: 0644]
src/crimson/osd/scrub/scrub_validator.cc [new file with mode: 0644]
src/crimson/osd/scrub/scrub_validator.h [new file with mode: 0644]
src/test/crimson/CMakeLists.txt
src/test/crimson/test_crimson_scrub.cc [new file with mode: 0644]