]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: 'repairing' scrubs allowed at all times
authorRonen Friedman <rfriedma@redhat.com>
Tue, 26 May 2026 15:29:32 +0000 (15:29 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 26 May 2026 15:29:32 +0000 (15:29 +0000)
commit4ac5a3210ae55e33466ca867a8c1c4b5b0a18c64
treea4e55d41f2b426bcf1b0973b0265e4cfd3de9e8b
parentfba2a4e5c5f39be90e7e80aafc7d8fd7280483d1
osd/scrub: 'repairing' scrubs allowed at all times

Fix ScrubJob::observes_allowed_hours() to not block 'repairing'
scrubs outside of the allowed hours. This allows repair scrubs
to run at any time or day-of-week.
The fixed behaviour matches the documented requirements.

Fixes: https://tracker.ceph.com/issues/76811
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/scrubber/scrub_job.cc
src/osd/scrubber/scrub_job.h