]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: modify scrub behaviour under no-scrub 46891/head
authorRonen Friedman <rfriedma@redhat.com>
Sun, 20 Mar 2022 13:20:59 +0000 (13:20 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 8 Aug 2022 09:55:10 +0000 (09:55 +0000)
commitba77676163d3c580301893d9186cf65e7539f20b
tree3d65d3e73fc53d0a9a1ad79ca5c3fa912e219d1a
parente26a42e089b2af0670577083b2b7866dd3cf6104
osd/scrub: modify scrub behaviour under no-scrub

Fix no-scrub & nodeep-scrub related code to match requirements:
- deep scrubs should be allowed to execute when no-scrub is set;
- some initiated scrubs (i.e. not periodic ones) might be changed
  from the requested 'deep' to 'shallow'.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
qa/standalone/scrub/osd-scrub-test.sh
src/osd/PG.cc
src/osd/PG.h
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/pg_scrubber.h
src/osd/scrubber_common.h