[PATCH] cfq: async queue allocation per priority [message #15089] |
Wed, 18 July 2007 14:35  |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
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
|
|
|