]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cfq-iosched: fix async queue behaviour
authorJens Axboe <jens.axboe@oracle.com>
Tue, 10 Jul 2007 11:43:25 +0000 (13:43 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 10 Jul 2007 11:43:25 +0000 (13:43 +0200)
commit15c31be4d5bd2402c6f5a288d56a24edc9252b71
tree0fca6e97186080d83ff3f36bb359bcb4ef06a9e2
parent72d3a38ee083a96c09032e608a4c7e047ce26760
cfq-iosched: fix async queue behaviour

With the cfq_queue hash removal, we inadvertently got rid of the
async queue sharing. This was not intentional, in fact CFQ purposely
shares the async queue per priority level to get good merging for
async writes.

So put some logic in cfq_get_queue() to track the shared queues.

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