cfq-iosched: Convert from jiffies to nanoseconds
authorJeff Moyer <[email protected]>
Wed, 8 Jun 2016 14:55:34 +0000 (08:55 -0600)
committerJens Axboe <[email protected]>
Wed, 8 Jun 2016 14:55:34 +0000 (08:55 -0600)
commit9a7f38c42c2b92391d9dabaf9f51df7cfe5608e4
treebe1306256203e951448399175af96a53175cef9a
parent28a8f0d317bf225ff15008f5dd66ae16242dd843
cfq-iosched: Convert from jiffies to nanoseconds

Convert all time-keeping in CFQ IO scheduler from jiffies to nanoseconds
so that we can later make the intervals more fine-grained than jiffies.
One jiffie is several miliseconds and even for today's rotating disks
that is a noticeable amount of time and thus we leave disk unnecessarily
idle.

Signed-off-by: Jeff Moyer <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/cfq-iosched.c