Skip to content
Commit ba60eb25 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Fix a livelock problem in the xprt->backlog queue



This patch ensures that we throttle new RPC requests if there are
requests already waiting in the xprt->backlog queue. The reason for
doing this is to fix livelock issues that can occur when an existing
(high priority) task is waiting in the backlog queue, gets woken up
by xprt_free_slot(), but a new task then steals the slot.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent b570a975
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment