commit | 7f260e8575bf53b93b77978c1e39f8e67612759c | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Sep 24 11:25:22 2013 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Oct 01 18:22:10 2013 -0400 |
tree | 7f1ddee8da8fb7b4a7c771c1e1b1c31fe223ae8a | |
parent | a6f951ddbdfb7bd87d31a44f61abe202ed6ce57f [diff] |
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: Trond Myklebust <Trond.Myklebust@netapp.com>