]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/rados: change the first op id to 0 5401/head
authorKefu Chai <kchai@redhat.com>
Wed, 29 Jul 2015 11:49:53 +0000 (19:49 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 29 Jul 2015 11:52:53 +0000 (19:52 +0800)
the first op id was 16 by default, which is okay, but a non-zero
magic number could lead to questions. max_op was mixed up with
max_ops, and changed to 16 in 51e402e3 by mistake.

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

index f448aa7ff864c32d2c1f18cabe608b1e16a1769d..a693e7a3ec907930de825401d7b3166901f92cb9 100644 (file)
@@ -579,7 +579,7 @@ public:
     total_sent = 0;
     total_completed = 0;
     num_objs = 200;
-    max_op = 16;
+    max_op = 0;
   }
   int bootstrap(const char *pool);
   int run();