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

SUNRPC: Fix priority queue fairness



Fix up the priority queue to not batch by owner, but by queue, so that
we allow '1 << priority' elements to be dequeued before switching to
the next priority queue.
The owner field is still used to wake up requests in round robin order
by owner to avoid single processes hogging the RPC layer by loading the
queues.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 95f7691d
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