Skip to content

Commit

Permalink
obj_bencher: fix param order
Browse files Browse the repository at this point in the history
seq benchmark was broken, passed params in wrong order.

Signed-off-by: Yehuda Sadeh <[email protected]>
  • Loading branch information
Yehuda Sadeh authored and yehudasa committed May 4, 2012
1 parent 7e96a4a commit e62fd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/obj_bencher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e62fd7f

Please sign in to comment.