]> git.baikalelectronics.ru Git - kernel.git/commit
Deadline iosched: Reset batch for ordered requests
authorAaron Carroll <aaronc@gelato.unsw.edu.au>
Tue, 30 Oct 2007 09:40:13 +0000 (10:40 +0100)
committerJens Axboe <axboe@carl.home.kernel.dk>
Fri, 2 Nov 2007 07:47:25 +0000 (08:47 +0100)
commitcceba285505ee57cde04f9fa5961873779a7d3d6
treed6ec7e9b0e0ddbfa1acf59819caca071b1e1f29c
parent6c8426b276a6c43a64e654e241515e3da9c9d7dc
Deadline iosched: Reset batch for ordered requests

The deadline I/O scheduler does not reset the batch count when starting
a new batch at a higher-sectored request.  This means the second and
subsequent batch in the same data direction will never exceed a single
request in size whenever higher-sectored requests are pending.

This patch gives new batches in the same data direction as old ones
their full quota of requests by resetting the batch count.

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