cfq-iosched: fix think time allowed for seekers
authorCorrado Zoccolo <czoccolo@gmail.com>
Wed, 7 Oct 2009 17:51:54 +0000 (19:51 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 7 Oct 2009 17:51:54 +0000 (19:51 +0200)
commitec60e4f6749daf535329dac571293cf19c627aff
tree791e2a15281bf0a3b114af6f6c9c5b2d2b0dc982
parentb9c8946b192397394a0ccd4fcecb31bc060f79f8
cfq-iosched: fix think time allowed for seekers

CFQ enables idle only for processes that think less than the allowed
idle time. Since idle time is lower for seeky queues, we should use the
correct value in the comparison.

Signed-off-by: Corrado Zoccolo <czoccolo@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c