ceph/qa/standalone/scrub
Sridhar Seshasayee 33d2a2c93b qa/standalone/scrub: Force a subset of scrub tests to use "wpq" scheduler
The following tests in the test files mentioned below use the
"osd_scrub_sleep" option to introduce delays during scrubbing to help
determine scrubbing states, validate reservations during scrubbing etc..
This works when using the "wpq" scheduler.

But when the "mclock_scheduler" is enabled, the "osd_scrub_sleep" is
disabled and overridden to 0. This is done to delegate the scheduling of
the background scrubs to the "mclock_scheduler" based on the set QoS
parameters. Due to this, the checks to verify the scrub states,
reservations etc. fail since the window to check them is very short
due to scrubs completing very quickly. This affects a small subset of
scrub tests mentioned below,

1. osd-scrub-dump.sh -> TEST_recover_unexpected()
2. osd-scrub-repair.sh -> TEST_auto_repair_bluestore_tag()
3. osd-scrub-test.sh -> TEST_scrub_abort(), TEST_deep_scrub_abort()

Only for the above tests, until there's a reliable way to query scrub
states with "--osd-scrub-sleep" set to 0, the "osd_op_queue" config
option is set to "wpq".

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
2021-07-30 18:16:00 +05:30
..
osd-recovery-scrub.sh test: osd-recovery-scrub.sh: Test fails if no scrubs happened for a recovering pg 2021-03-14 16:19:46 -07:00
osd-scrub-dump.sh qa/standalone/scrub: Force a subset of scrub tests to use "wpq" scheduler 2021-07-30 18:16:00 +05:30
osd-scrub-repair.sh qa/standalone/scrub: Force a subset of scrub tests to use "wpq" scheduler 2021-07-30 18:16:00 +05:30
osd-scrub-snaps.sh test: Fix osd-scrub-scaps.sh to handle DB format change 2021-01-15 10:35:30 -08:00
osd-scrub-test.sh qa/standalone/scrub: Force a subset of scrub tests to use "wpq" scheduler 2021-07-30 18:16:00 +05:30
osd-unexpected-clone.sh