summaryrefslogtreecommitdiffstats
path: root/qa/standalone/osd/osd-recovery-prio.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* qa/standalone/osd: Modify osd tests for mclock schedulerSridhar Seshasayee2021-07-301-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Modified test cases: 1. osd-recovery-prio.sh: Set osd_op_queue = wpq for all tests since mclock doesn't consider recovery priority as part of its scheduling algorithm. 2. osd-recovery-stats.sh: a. TEST_recovery_undersized(): - Set osd_mclock_profile to high_recovery_ops profile. - Increase wait for recovery timeout to 300 secs. 3. osd-rep-recov-eio.sh: a. TEST_rep_backfill_unfound(): - Set osd_mclock_profile to high_recovery_ops profile. - Increase wait for backfill_unfound to 360 secs. 4. repeer-on-acting-back.sh: a. TEST_repeer_on_down_act(): - Set osd_mclock_profile to high_recovery_ops profile. (To improve the test duration) Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
* test: osd-recovery-prio.sh replace sleep with wait for both PGsDavid Zafman2021-01-121-1/+25
| | | | | | | | recovering fixes: https://tracker.ceph.com/issues/48842 Signed-off-by: David Zafman <dzafman@redhat.com>
* mon/OSDMonitor: add flag `--yes-i-really-mean-it` for setting pool size 1Deepika Upadhyay2020-03-091-4/+4
| | | | | | | | | | | | | | Adds option `mon_allow_pool_size_one` which will be disabled by default to ensure pools are not configured without replicas. If the user still wants to use pool size 1, they will have to change the value of `mon_allow_pool_size_one` to true and then have to pass flag `--yes-i-really-mean-it` to cli command: Example: `ceph osd pool test set size 1 --yes-i-really-mean-it` Fixes: https://tracker.ceph.com/issues/44025 Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
* osd: Rename dump_reservations to dump_recovery_reservationsDavid Zafman2019-09-101-12/+12
| | | | Signed-off-by: David Zafman <dzafman@redhat.com>
* osd, mon: New pool recovery priority range -10 to 10David Zafman2019-04-251-1/+1
| | | | | | | Use OSD_POOL_PRIORITY_MAX and OSD_POOL_PRIORITY_MIN constants Scale legacy priorities if exceeds maximum Signed-off-by: David Zafman <dzafman@redhat.com>
* test: Limit loops waiting for force-backfill/force-recovery to happenDavid Zafman2019-02-141-2/+17
| | | | | | Fixes: http://tracker.ceph.com/issues/38309 Signed-off-by: David Zafman <dzafman@redhat.com>
* test: Add scripts to test backfill/recovery priority handlingDavid Zafman2019-02-081-0/+500
Signed-off-by: David Zafman <dzafman@redhat.com>