]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a6051e0b8f6e8a5bee7842ad8b2a9d2aa5d6fa6
treee46a151fe39be2bc23d0683bedb2cbefe916fb5b
parente5ffa980e5b71cc77ce8ab7f31341edae20e5a91
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