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)
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

Simple merge