]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
obj_bencher: remove 'trans_size' as obsolete
authorDmitry Yatsushkevich <dyatsushkevich@mirantis.com>
Mon, 30 Mar 2015 22:13:38 +0000 (15:13 -0700)
committerDmitry Yatsushkevich <dmitry.yatsushkevich@gmail.com>
Tue, 5 May 2015 21:50:01 +0000 (14:50 -0700)
commit31d16e90108a741e92f897e550a8bf1e26392d2d
tree9b3c38cf10915e2c41bcd954acfe88d062b19204
parent2e9e3ba4217151479edc6162a8fe94c5d0dddd10
obj_bencher: remove 'trans_size' as obsolete

'trans_size' description from header: "size of the write/read to perform"
But really 'object_size' is used in write/read operations. 'trans_size' is used
only in ObjBencher::status_printer for calc current and average bandwidth.
As result - bad statistics in case 'trans_size' and and 'object_size' are different.

Signed-off-by: Dmitry Yatsushkevich <dyatsushkevich@mirantis.com>
src/common/obj_bencher.cc
src/common/obj_bencher.h