mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
Merge pull request #69110 from ronen-fr/wip-rf-hours
osd/scrub: 'repairing' scrubs allowed at all times Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This commit is contained in:
commit
ce220cc902
@ -376,7 +376,7 @@ bool ScrubJob::observes_noscrub_flags(urgency_t urgency)
|
||||
|
||||
bool ScrubJob::observes_allowed_hours(urgency_t urgency)
|
||||
{
|
||||
return urgency < urgency_t::operator_requested;
|
||||
return urgency < urgency_t::repairing;
|
||||
}
|
||||
|
||||
bool ScrubJob::observes_extended_sleep(urgency_t urgency)
|
||||
|
||||
@ -306,8 +306,6 @@ class ScrubJob {
|
||||
* Some types of scrubs are exempt from some or all of the preconditions and
|
||||
* limitations that apply to regular scrubs. The following table
|
||||
* details the specific set of exemptions per 'urgency' level:
|
||||
* (note: regular scrubs that are overdue are also allowed a specific
|
||||
* set of exemptions. Those will be covered elsewhere).
|
||||
*
|
||||
* The relevant limitations are:
|
||||
* - reservation: the scrub must reserve replicas;
|
||||
@ -337,8 +335,8 @@ class ScrubJob {
|
||||
* | limitation | must- | after-repair |repairing| operator | must-repair |
|
||||
* | | scrub |(aft recovery)|(errors) | request | |
|
||||
* +------------+---------+--------------+---------+----------+-------------+
|
||||
* | reservation| yes! | no | no | no | no |
|
||||
* | dow/time | yes | yes | no X | no | no |
|
||||
* | reservation| yes | no | no | no | no |
|
||||
* | dow/time | yes | yes | no | no | no |
|
||||
* | ext-sleep | no | no | no | no | no |
|
||||
* | load | yes | no | no | no | no |
|
||||
* | trims | yes | yes | no | no | no |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user