]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados: Add hit_set_list missing from possible op weights
authorDavid Zafman <david.zafman@inktank.com>
Fri, 6 Jun 2014 01:26:47 +0000 (18:26 -0700)
committerDavid Zafman <david.zafman@inktank.com>
Fri, 6 Jun 2014 22:30:05 +0000 (15:30 -0700)
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 <david.zafman@inktank.com>
teuthology/task/rados.py

index aedbbc44e11bedb9f94691a12c68ecce7c668482..d24797472a6cd01fa5c16308a8025be629596b36 100644 (file)
@@ -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([