]> git.baikalelectronics.ru Git - kernel.git/commit
cfq-iosched: don't let idling interfere with plugging
authorJens Axboe <jens.axboe@oracle.com>
Tue, 7 Apr 2009 09:38:31 +0000 (11:38 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 7 Apr 2009 09:38:31 +0000 (11:38 +0200)
commitdaff4615ee41e06957291bad8013cfca9c3ebde9
tree7f8752d2fefac40b0b25720cc1b0fbbd8aed173a
parent242083a7a64598fd279a1390c626435f1dbcf86f
cfq-iosched: don't let idling interfere with plugging

When CFQ is waiting for a new request from a process, currently it'll
immediately restart queuing when it sees such a request. This doesn't
work very well with streamed IO, since we then end up splitting IO
that would otherwise have been merged nicely. For a simple dd test,
this causes 10x as many requests to be issued as we should have.
Normally this goes unnoticed due to the low overhead of requests
at the device side, but some hardware is very sensitive to request
sizes and there it can cause big slow downs.

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