From: David Zafman Date: Sat, 3 May 2014 00:30:36 +0000 (-0700) Subject: rados.py: Add pool_snaps option for ceph_test_rados test command X-Git-Tag: 1.1.0~1484^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F249%2Fhead;p=teuthology.git rados.py: Add pool_snaps option for ceph_test_rados test command Fixes: #8284 Signed-off-by: David Zafman --- diff --git a/teuthology/task/rados.py b/teuthology/task/rados.py index 0897726a6..aedbbc44e 100644 --- a/teuthology/task/rados.py +++ b/teuthology/task/rados.py @@ -29,6 +29,7 @@ def task(ctx, config): op_weights: runs: - 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)),