]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd_fsx: resize to byte boundaries (not object multiples)
authorSage Weil <sage@newdream.net>
Sun, 6 May 2012 04:22:30 +0000 (21:22 -0700)
committerSage Weil <sage@newdream.net>
Sun, 6 May 2012 04:22:30 +0000 (21:22 -0700)
teuthology/task/rbd_fsx.py

index c89e4ba0d12b1755cc7c7ecda26da60fa3471fad..694ca58690cd5ada383bc4f8cacb8e159d03aa6d 100644 (file)
@@ -51,7 +51,7 @@ def _run_one_client(ctx, config, role):
             '-W', '-R', # mmap doesn't work with rbd
             '-p', str(config.get('progress_interval', 100)),  # show progress
             '-P', '/tmp/cephtest/archive',
-            '-t', '4194304',
+            '-t', str(config.get('truncbdy',1)),
             '-l', str(config.get('size', 1073741824)),
             '-S', str(config.get('seed', 0)),
             '-N', str(config.get('ops', 1000)),