]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: fix the conditions for auto-repair scrubs
authorRonen Friedman <rfriedma@redhat.com>
Thu, 15 Aug 2024 12:51:15 +0000 (07:51 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 25 Aug 2024 13:01:00 +0000 (08:01 -0500)
commit51a593e7e2d77eb2ccb7b08663d9855d4a603c5a
tree45336490ac589437b21f5c81764f1728a1beca61
parent0385fc4faf9ad984699feafca1265388671989f7
osd/scrub: fix the conditions for auto-repair scrubs

The conditions for auto-repair scrubs should have been changed
when need_auto lost some of its setters.

Also fix the rescheduling of repair scrubs
when the last scrub ended with errors.

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