From: Trond Myklebust Date: Sun, 27 Jan 2013 19:20:49 +0000 (-0500) Subject: SUNRPC: When changing the queue priority, ensure that we change the owner X-Git-Tag: v3.8-rc6~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edd2e36fe8bd3cec4fa67e746d4c4a9246d0830e;p=pandora-kernel.git SUNRPC: When changing the queue priority, ensure that we change the owner This fixes a livelock in the xprt->sending queue where we end up never making progress on lower priority tasks because sleep_on_priority() keeps adding new tasks with the same owner to the head of the queue, and priority bumps mean that we keep resetting the queue->owner to whatever task is at the head of the queue. Regression introduced by commit c05eecf636101dd4347b2d8fa457626bf0088e0a (SUNRPC: Don't allow low priority tasks to pre-empt higher priority ones). Reported-by: Andy Adamson Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed