From: Kefu Chai Date: Wed, 29 Jul 2015 11:49:53 +0000 (+0800) Subject: tools/rados: change the first op id to 0 X-Git-Tag: v9.1.0~472^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0559fd38b86a037c9c337c301fbc95ea7f57093e;p=ceph.git tools/rados: change the first op id to 0 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 --- diff --git a/src/tools/rados/rados.cc b/src/tools/rados/rados.cc index f448aa7ff864..a693e7a3ec90 100644 --- a/src/tools/rados/rados.cc +++ b/src/tools/rados/rados.cc @@ -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();