Trond Myklebust edd2e36fe8 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 <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2013-01-30 17:45:14 -05:00
..
2012-07-19 10:48:00 -07:00
2013-01-10 22:49:30 -08:00
2012-12-11 14:08:47 -08:00
2012-05-17 18:45:20 -04:00
2013-01-03 13:00:01 +01:00
2012-12-22 00:03:00 -08:00
2012-09-26 21:10:25 -04:00