From ea3bef1e1dbf21a6117dea906f1e500db2b6af76 Mon Sep 17 00:00:00 2001 From: David Zafman Date: Fri, 2 May 2014 17:30:36 -0700 Subject: [PATCH] rados.py: Add pool_snaps option for ceph_test_rados test command Fixes: #8284 Signed-off-by: David Zafman --- teuthology/task/rados.py | 4 ++++ 1 file changed, 4 insertions(+) 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)), -- 2.47.3