cfq-iosched: tweak the FIFO checking
authorJens Axboe <jens.axboe@oracle.com>
Fri, 19 Jan 2007 01:01:16 +0000 (12:01 +1100)
committerJens Axboe <axboe@carl.home.kernel.dk>
Sun, 11 Feb 2007 22:14:45 +0000 (23:14 +0100)
commitcb8874119e9a3ec38c45942808c91cfbc014f402
tree410562c9c72499ab208b5526fb35736c48520638
parent1792669cc1acc2069869b7ca41a0195240de05e0
cfq-iosched: tweak the FIFO checking

We currently check the FIFO once per slice. Optimize that a bit and
only do it as the first thing for a new slice, so we don't end up
doing a single request and then seek to the FIFO requests.

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