[Devel] [PATCH] cfq: async queue allocation per priority

Vasily Tarasov vtaras at openvz.org
Wed Jul 18 07:35:49 PDT 2007


Jens, I think the last patch, that makes queues allocation per priority,
has a problem.

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.


Thanks,
Vasily

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-cfq-asyn-queues-per-prio
Type: text/x-patch
Size: 3181 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/devel/attachments/20070718/5332899b/attachment-0001.bin>


More information about the Devel mailing list