Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SUNRPC: When changing the queue priority, ensure that we change the o…
…wner 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 c05eecf (SUNRPC: Don't allow low priority tasks to pre-empt higher priority ones). Reported-by: Andy Adamson <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
- Loading branch information