From: John Spray Date: Thu, 3 Jul 2014 11:08:58 +0000 (+0100) Subject: task/ceph: add option to avoid doing scrub X-Git-Tag: v0.94.10~27^2^2~364^2~51^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6e19ba41ff0873620bc14eb76a0ef6e6e16fce72;p=ceph.git task/ceph: add option to avoid doing scrub When iterating on test in development, it's useful to be able to skip this step. Signed-off-by: John Spray --- diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index b1ab5d49b289..b6d6949c81ba 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -1494,4 +1494,5 @@ def task(ctx, config): healthy(ctx=ctx, config=None) yield finally: - osd_scrub_pgs(ctx, config) + if config.get('wait-for-scrub', True): + osd_scrub_pgs(ctx, config)