]> err.no Git - linux-2.6/commit
[PATCH] fix cfq hash lookups
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 14 Mar 2006 20:32:50 +0000 (15:32 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 18 Mar 2006 23:33:54 +0000 (18:33 -0500)
commitb0a6916bcc48f46996d54b8451591a2f2b7b2f64
tree8b22d7d04a802092928a642628d2ede339a5287a
parentc981ff9f893b9ab229a809f8ad287ae43fc17a64
[PATCH] fix cfq hash lookups

If somebody does a hash lookup for cfq_queue while ioprio of an async queue
is elevated, they shouldn't end up stuck with lowered ioprio when we go back.
Fix is to use ->org_ioprio{,class} in hash lookups.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
block/cfq-iosched.c