]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
osd_backfill: --no-cleanup for rados bench
authorSage Weil <sage@inktank.com>
Tue, 29 Jan 2013 03:53:34 +0000 (19:53 -0800)
committerSage Weil <sage@inktank.com>
Tue, 29 Jan 2013 03:53:34 +0000 (19:53 -0800)
teuthology/task/osd_backfill.py

index 008da1cd0131956d646af5873000e663c76376c7..5710757763692e62007a89046f15997e23acaf16 100644 (file)
@@ -53,7 +53,8 @@ def task(ctx, config):
     manager.wait_for_clean()
 
     # write some data
-    p = rados_start(mon, ['-p', 'rbd', 'bench', '15', 'write', '-b', '4096'])
+    p = rados_start(mon, ['-p', 'rbd', 'bench', '15', 'write', '-b', '4096',
+                          '--no-cleanup'])
     err = p.exitstatus.get();
     log.info('err is %d' % err)
 
@@ -70,7 +71,8 @@ def task(ctx, config):
     manager.wait_for_recovery()
 
     # write some new data
-    p = rados_start(mon, ['-p', 'data', 'bench', '30', 'write', '-b', '4096'])
+    p = rados_start(mon, ['-p', 'data', 'bench', '30', 'write', '-b', '4096',
+                          '--no-cleanup'])
 
     time.sleep(15)