tests: --osd-scrub-load-threshold=2000 for more consistency

In a test environment, consistency is more important than
performances. Effectively disable the test that would postpone a scrub
depending on the load average. It is assumed that a machine with a load
average higher than 2000 won't be useable anyway.

http://tracker.ceph.com/issues/14027 Refs: #14027

Signed-off-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
Loic Dachary 2015-12-09 01:41:42 +01:00
parent 2d8d706191
commit 99bcc7cf16
2 changed files with 2 additions and 1 deletions

View File

@ -491,6 +491,7 @@ function activate_osd() {
ceph_args+=" --osd-backfill-full-ratio=.99"
ceph_args+=" --osd-failsafe-full-ratio=.99"
ceph_args+=" --osd-journal-size=100"
ceph_args+=" --osd-scrub-load-threshold=2000"
ceph_args+=" --osd-data=$osd_data"
ceph_args+=" --chdir="
ceph_args+=" --erasure-code-dir=.libs"

View File

@ -460,7 +460,7 @@ $DAEMONOPTS
osd journal size = 100
osd class tmp = out
osd class dir = $OBJCLASS_PATH
osd scrub load threshold = 5.0
osd scrub load threshold = 2000.0
osd debug op order = true
filestore wbthrottle xfs ios start flusher = 10
filestore wbthrottle xfs ios hard limit = 20