]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: --osd-scrub-load-threshold=2000 for more consistency 6871/head
authorLoic Dachary <ldachary@redhat.com>
Wed, 9 Dec 2015 00:41:42 +0000 (01:41 +0100)
committerLoic Dachary <ldachary@redhat.com>
Wed, 9 Dec 2015 10:48:45 +0000 (11:48 +0100)
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>
qa/workunits/ceph-helpers.sh
src/vstart.sh

index 3c7bc2e5287c950d3facde28d1f7a9719683a001..d1c13d8a685f5167d848a6a7b64ea8993a868dea 100755 (executable)
@@ -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"
index 7e320473849815af27d59d0cdbcb3c71cac5e870..8a5b52c0505b9020dd99e78977667bc97afb2470 100755 (executable)
@@ -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