]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
obj_bencher: fix param order
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 26 Apr 2012 06:40:46 +0000 (23:40 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 4 May 2012 22:53:26 +0000 (15:53 -0700)
seq benchmark was broken, passed params in wrong order.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
src/common/obj_bencher.cc

index 3fe605d91fa3d6dae4a030b3c02735a0e752e9fd..2fce89cfdefb933f7d0319973c8fb3b9dc3f5901 100644 (file)
@@ -158,7 +158,7 @@ int ObjBencher::aio_bench(int operation, int secondsToRun, int concurrentios, in
     if (r != 0) goto out;
   }
   else if (OP_SEQ_READ == operation) {
-    r = seq_read_bench(secondsToRun, concurrentios, num_objects, prevPid);
+    r = seq_read_bench(secondsToRun, num_objects, concurrentios, prevPid);
     if (r != 0) goto out;
   }
   else if (OP_RAND_READ == operation) {