obj_bencher: aio_bench - rename op_size to object_size

Rename aio_bench argument 'op_size' to 'object_size' to reflect the reality of
how it is used.

Signed-off-by: Dmitry Yatsushkevich <dyatsushkevich@mirantis.com>
This commit is contained in:
Dmitry Yatsushkevich 2015-04-02 11:21:05 -07:00 committed by Dmitry Yatsushkevich
parent 0dea11d907
commit a87ac4d36b

View File

@ -170,12 +170,11 @@ void *ObjBencher::status_printer(void *_bencher) {
int ObjBencher::aio_bench(
int operation, int secondsToRun,
int maxObjectsToCreate,
int concurrentios, int op_size, bool cleanup, const char* run_name) {
int concurrentios, int object_size, bool cleanup, const char* run_name) {
if (concurrentios <= 0)
return -EINVAL;
int object_size = op_size;
int num_objects = 0;
int r = 0;
int prevPid = 0;