]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/rados: change the default max_ops to 16
authorKefu Chai <kchai@redhat.com>
Wed, 29 Jul 2015 11:44:57 +0000 (19:44 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 29 Jul 2015 11:44:58 +0000 (19:44 +0800)
otherwise the load-gen will not emit any ops by default.

Fixes: #12450
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/tools/rados/rados.cc

index 73d8ffa5babd38c5e3cf34fd47481ec34939a13b..f448aa7ff864c32d2c1f18cabe608b1e16a1769d 100644 (file)
@@ -572,7 +572,7 @@ public:
     min_op_len = 1024;
     target_throughput = 5 * 1024 * 1024; // B/sec
     max_op_len = 2 * 1024 * 1024;
-    max_ops = 0
+    max_ops = 16
     max_backlog = target_throughput * 2;
     run_length = 60;