]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
obj_bencher: aio_bench - rename op_size to object_size
authorDmitry Yatsushkevich <dyatsushkevich@mirantis.com>
Thu, 2 Apr 2015 18:21:05 +0000 (11:21 -0700)
committerDmitry Yatsushkevich <dmitry.yatsushkevich@gmail.com>
Tue, 5 May 2015 21:50:01 +0000 (14:50 -0700)
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>
src/common/obj_bencher.cc

index 4b6a790f2ef198e8e3f2baae86262c81dcccb86c..45a58ee00e551f79ca3fa1f808aca417320ce8b9 100644 (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;