blkio: Increment the blkio cgroup stats for real now
authorDivyesh Shah <dpshah@google.com>
Thu, 1 Apr 2010 22:01:41 +0000 (15:01 -0700)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 2 Apr 2010 06:44:37 +0000 (08:44 +0200)
commit9195291e5f05e01d67f9a09c756b8aca8f009089
treee46a151fe39be2bc23d0683bedb2cbefe916fb5b
parent303a3acb2362f16c7e7f4c53b40c2f4b396dc8d5
blkio: Increment the blkio cgroup stats for real now

We also add start_time_ns and io_start_time_ns fields to struct request
here to record the time when a request is created and when it is
dispatched to device. We use ns uints here as ms and jiffies are
not very useful for non-rotational media.

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/blk-core.c
block/cfq-iosched.c
include/linux/blkdev.h