cfq: async queue allocation per priority
authorVasily Tarasov <vtaras@openvz.org>
Fri, 20 Jul 2007 08:06:38 +0000 (10:06 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 20 Jul 2007 08:06:38 +0000 (10:06 +0200)
If we have two processes with different ioprio_class, but the same
ioprio_data, their async requests will fall into the same queue. I guess
such behavior is not expected, because it's not right to put real-time
requests and best-effort requests in the same queue.

The attached patch fixes the problem by introducing additional *cfqq
fields on cfqd, pointing to per-(class,priority) async queues.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found