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

SUNRPC: Avoid holding locks across the XDR encoding of the RPC message



Currently, we grab the socket bit lock before we allow the message
to be XDR encoded. That significantly slows down the transmission
rate, since we serialise on a potentially blocking operation.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 7ebbbc6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment