blkio: Add io controller stats like
authorDivyesh Shah <dpshah@google.com>
Thu, 1 Apr 2010 22:01:24 +0000 (15:01 -0700)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 2 Apr 2010 06:44:36 +0000 (08:44 +0200)
commit303a3acb2362f16c7e7f4c53b40c2f4b396dc8d5
tree7996f28d5659fef44594f7049e30264b16baa62d
parent9a0785b0da561e1e9c6617df85e93ae107a42f18
blkio: Add io controller stats like

- io_service_time
- io_wait_time
- io_serviced
- io_service_bytes

These stats are accumulated per operation type helping us to distinguish between
read and write, and sync and async IO. This patch does not increment any of
these stats.

Signed-off-by: Divyesh Shah<dpshah@google.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-cgroup.c
block/blk-cgroup.h
block/cfq-iosched.c