stat: cleanup iops/bw logging functions
authorJens Axboe <axboe@fb.com>
Wed, 26 Apr 2017 17:13:25 +0000 (11:13 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 26 Apr 2017 17:13:25 +0000 (11:13 -0600)
commit4843277a98cf78be6a28fc72348ac02b33fe7f32
tree75c05dba42a2a2e37c4f36bf2d2051c874c86496
parent306fea38fa61c305703d0269b1fc8e7da3b91a1f
stat: cleanup iops/bw logging functions

They are basically identical. Abstract out into a helper, and
use it for both iops and bw logging.

Signed-off-by: Jens Axboe <axboe@fb.com>
stat.c