mirror of
https://github.com/ceph/ceph
synced 2025-01-10 13:10:46 +00:00
qa: add missing argument parser
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
This commit is contained in:
parent
0c971cb3d3
commit
242e2ee284
@ -153,9 +153,9 @@ def task(ctx, config):
|
||||
if config.get('low_tier_pool', None):
|
||||
args.extend(['--low_tier_pool', config.get('low_tier_pool', None)])
|
||||
if config.get('dedup_chunk_size', False):
|
||||
args.extend(['--dedup_chunk_size'])
|
||||
args.extend(['--dedup_chunk_size', config.get('dedup_chunk_size', None)] )
|
||||
if config.get('dedup_chunk_algo', False):
|
||||
args.extend(['--dedup_chunk_algo'])
|
||||
args.extend(['--dedup_chunk_algo', config.get('dedup_chunk_algo', None)])
|
||||
if config.get('pool_snaps', False):
|
||||
args.extend(['--pool-snaps'])
|
||||
if config.get('balance_reads', False):
|
||||
@ -197,7 +197,12 @@ def task(ctx, config):
|
||||
"append",
|
||||
"write",
|
||||
"read",
|
||||
"delete"
|
||||
"delete",
|
||||
"set_chunk",
|
||||
"tier_promote",
|
||||
"tier_evict",
|
||||
"tier_promote",
|
||||
"tier_flush"
|
||||
]:
|
||||
if field in op_weights:
|
||||
weights[field] = op_weights[field]
|
||||
|
Loading…
Reference in New Issue
Block a user