deadline-iosched: allow non-sequential batching
authorAaron Carroll <aaronc@gelato.unsw.edu.au>
Thu, 14 Aug 2008 08:17:13 +0000 (18:17 +1000)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:02 +0000 (08:56 +0200)
commit63de428b139d3d31d86ebe25ae97b33f6540fb7e
treedef85c8e9990293effe71baf3b0dce648eab516c
parent766ca4428d1239a970926856c447310c9c191af2
deadline-iosched: allow non-sequential batching

Deadline currently only batches sector-contiguous requests, so except
for a few circumstances (e.g. requests in a single direction), it is
essentially first come first served.  This is bad for throughput, so
change it to CSCAN, which means requests in a batch do not need to be
sequential and are issued in increasing sector order.

Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/deadline-iosched.c