mirror of
https://github.com/ceph/ceph
synced 2025-03-10 10:19:26 +00:00
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> |
||
---|---|---|
.. | ||
c2c | ||
crush | ||
erasure-code | ||
mgr | ||
misc | ||
mon | ||
osd | ||
osd-backfill | ||
scrub | ||
special | ||
ceph-helpers.sh | ||
README |
qa/standalone ============= These scripts run standalone clusters, but not in a normal way. They make use of functions ceph-helpers.sh to quickly start/stop daemons against toy clusters in a single directory. They are normally run via teuthology based on qa/suites/rados/standalone/*.yaml. You can run them in a git checkout + build directory as well: * The qa/run-standalone.sh will run all of them in sequence. This is slow since there is no parallelism. * You can run individual script(s) by specifying the basename or path below qa/standalone as arguments to qa/run-standalone.sh. ../qa/run-standalone.sh misc.sh osd/osd-dup.sh * Add support for specifying arguments to selected tests by simply adding list of tests to each argument. ../qa/run-standalone.sh "test-ceph-helpers.sh test_get_last_scrub_stamp"