]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
rados.py: Add pool_snaps option for ceph_test_rados test command 249/head
authorDavid Zafman <david.zafman@inktank.com>
Sat, 3 May 2014 00:30:36 +0000 (17:30 -0700)
committerDavid Zafman <david.zafman@inktank.com>
Tue, 6 May 2014 17:30:36 +0000 (10:30 -0700)
Fixes: #8284
Signed-off-by: David Zafman <david.zafman@inktank.com>
teuthology/task/rados.py

index 0897726a6bcf9f81437347b82bce95ce4ac1abda..aedbbc44e11bedb9f94691a12c68ecce7c668482 100644 (file)
@@ -29,6 +29,7 @@ def task(ctx, config):
           op_weights: <dictionary mapping operation type to integer weight>
           runs: <number of times to run> - the pool is remade between runs
           ec_pool: use an ec pool
+          pool_snaps: use pool snapshots instead of selfmanaged snapshots
 
     For example::
 
@@ -51,6 +52,7 @@ def task(ctx, config):
               rollback: 2
               snap_remove: 0
             ec_pool: true
+            pool_snaps: true
             runs: 10
         - interactive:
 
@@ -93,6 +95,8 @@ def task(ctx, config):
         'ceph_test_rados']
     if config.get('ec_pool', False):
         args.extend(['--ec-pool'])
+    if config.get('pool_snaps', False):
+        args.extend(['--pool-snaps'])
     args.extend([
         '--op', 'read', str(op_weights.get('read', 100)),
         '--op', 'write', str(op_weights.get('write', 100)),