]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] cfq-iosched: don't use a hard jiffies value, translate from msecs
authorJens Axboe <axboe@suse.de>
Tue, 25 Jul 2006 13:05:21 +0000 (15:05 +0200)
committerJens Axboe <axboe@suse.de>
Tue, 25 Jul 2006 13:05:21 +0000 (15:05 +0200)
commit44eb123126d289bac398cac0232309c228386671
tree129504f649195d5cff96c4c94a345d459f770896
parentad01b1ca797e5898cd40bb32cf0dc8c85aa9f7e8
[PATCH] cfq-iosched: don't use a hard jiffies value, translate from msecs

The CIC_SEEKY() test really wants to use the minimum of either:

- 2 msecs (not jiffies)

- or, the pending slice time

So code it like that.

Signed-off-by: Jens Axboe <axboe@suse.de>
block/cfq-iosched.c