]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
rbd: bump the default scratch size for xfstests to 10G 167/head
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 23 Dec 2013 17:54:11 +0000 (19:54 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 23 Dec 2013 17:54:11 +0000 (19:54 +0200)
autobuild-ceph.git commit 53db7a34aba5 had silently changed the default
elevator from cfq to deadline, which made xfstests 167 very unhappy.
It looks like with deadline and noop elevators it requires a ~6G
scratch partition.  Bump the default scratch image size to 10G.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
teuthology/task/rbd.py

index 7c21b82e9b1d139ea2c7857bc70a76f3019822bf..7d07a6115af24f1aca57834b957895c936892317 100644 (file)
@@ -393,10 +393,10 @@ def xfstests(ctx, config):
             properties = {}
 
         test_image = properties.get('test_image', 'test_image.{role}'.format(role=role))
-        test_size = properties.get('test_size', 2000)
+        test_size = properties.get('test_size', 2000) # 2G
         test_fmt = properties.get('test_format', 1)
         scratch_image = properties.get('scratch_image', 'scratch_image.{role}'.format(role=role))
-        scratch_size = properties.get('scratch_size', 2000)
+        scratch_size = properties.get('scratch_size', 10000) # 10G
         scratch_fmt = properties.get('scratch_format', 1)
 
         images_config[role] = dict(