Skip to content
Commit e0a912e8 authored by Trond Myklebust's avatar Trond Myklebust Committed by Chuck Lever
Browse files

SUNRPC: Use TCP_CORK to optimise send performance on the server



Use a counter to keep track of how many requests are queued behind the
xprt->xpt_mutex, and keep TCP_CORK set until the queue is empty.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Link: https://lore.kernel.org/linux-nfs/20210213202532.23146-1-trondmy@kernel.org/T/#u


Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 0ac24c32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment