summaryrefslogtreecommitdiff
path: root/src/rados.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rados.cc')
-rw-r--r--src/rados.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rados.cc b/src/rados.cc
index 778a9a6c53f..17e837cc559 100644
--- a/src/rados.cc
+++ b/src/rados.cc
@@ -1979,7 +1979,8 @@ static int rados_tool_common(const std::map < std::string, std::string > &opts,
usage_exit();
RadosBencher bencher(rados, io_ctx);
bencher.set_show_time(show_time);
- ret = bencher.aio_bench(operation, seconds, concurrent_ios, op_size, cleanup);
+ ret = bencher.aio_bench(operation, seconds, num_objs,
+ concurrent_ios, op_size, cleanup);
if (ret != 0)
cerr << "error during benchmark: " << ret << std::endl;
}