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

SUNRPC: Enable the keepalive option for TCP sockets



For NFSv4 we want to avoid retransmitting RPC calls unless the TCP
connection breaks. However we still want to detect TCP connection
breakage as soon as possible. Do this by setting the keepalive option
with the idle timeout and count set to the 'timeo' and 'retrans' mount
options.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent a6f951dd
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