commit | 1e3335de05da3dfbe48b8caa03db1834a2133256 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Feb 14 19:59:49 2007 +0100 |
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | Mon Apr 30 09:01:21 2007 +0200 |
tree | 3783ea1ef788f564a78754906dc508ac66595b75 | |
parent | b9099ff63c75216d6ca10bce5a1abcd9293c27e6 [diff] |
cfq-iosched: improve preemption for cooperating tasks When testing the syslet async io approach, I discovered that CFQ sometimes didn't perform as well as expected. cfq_should_preempt() needs to better check for cooperating tasks, so fix that by allowing preemption of an equal priority queue if the recently queued request is as good a candidate for IO as the one we are currently waiting for. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>