From: David Zafman Date: Fri, 6 Jun 2014 01:26:47 +0000 (-0700) Subject: rados: Add hit_set_list missing from possible op weights X-Git-Tag: v0.94.10~27^2^2~364^2~122^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=875e2d240d76b000c66f500b218c3a71c1042b89;p=ceph.git rados: Add hit_set_list missing from possible op weights For the future help keep in sync with test/osd/TestRados.cc by listing in order of op_types in that code. Signed-off-by: David Zafman --- diff --git a/teuthology/task/rados.py b/teuthology/task/rados.py index aedbbc44e11..d24797472a6 100644 --- a/teuthology/task/rados.py +++ b/teuthology/task/rados.py @@ -109,11 +109,25 @@ def task(ctx, config): '--max-stride-size', str(config.get('max_stride_size', object_size / 5)), '--max-seconds', str(config.get('max_seconds', 0)) ]) + # Parallel of the op_types in test/osd/TestRados.cc for field in [ - 'copy_from', 'is_dirty', 'undirty', 'cache_flush', - 'cache_try_flush', 'cache_evict', - 'snap_create', 'snap_remove', 'rollback', 'setattr', 'rmattr', - 'watch', 'append', + # read handled above + # write handled above + # delete handled above + "snap_create", + "snap_remove", + "rollback", + "setattr", + "rmattr", + "watch", + "copy_from", + "hit_set_list", + "is_dirty", + "undirty", + "cache_flush", + "cache_try_flush", + "cache_evict", + "append", ]: if field in op_weights: args.extend([