]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
as-iosched: fix write batch start point
authorAaron Carroll <aaronc@gelato.unsw.edu.au>
Wed, 5 Dec 2007 10:07:07 +0000 (21:07 +1100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 18 Dec 2007 07:29:28 +0000 (08:29 +0100)
commit49565124b13bb16607e7f8fc8fb1d9c5c355a1a3
tree47629c0533b9292f51cc9dc2f37d851e0913b727
parent8896f3c039b0834ba695d154299b724ee5710b97
as-iosched: fix write batch start point

New write batches currently start from where the last one completed.
We have no idea where the head is after switching batches, so this
makes little sense.  Instead, start the next batch from the request
with the earliest deadline in the hope that we avoid a deadline
expiry later on.

Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au>
Acked-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/as-iosched.c