summaryrefslogtreecommitdiff
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-09-24 16:06:07 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-10-01 22:22:11 (GMT)
commit99875249bfbfb6d9a2aba020ce65da2862d0dafa (patch)
treefedd47efcd9785fc82ed78af1cb835cbd4a0c17a /include/linux/nfs_fs_sb.h
parent8a19a0b6cb2e2216afd68ef2047f30260cc8a220 (diff)
downloadlinux-fsl-qoriq-99875249bfbfb6d9a2aba020ce65da2862d0dafa.tar.xz
NFSv4: Ensure that we disable the resend timeout for NFSv4
The spec states that the client should not resend requests because the server will disconnect if it needs to drop an RPC request. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index b8cedce..f9c0a6c 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -41,6 +41,7 @@ struct nfs_client {
#define NFS_CS_DISCRTRY 1 /* - disconnect on RPC retry */
#define NFS_CS_MIGRATION 2 /* - transparent state migr */
#define NFS_CS_INFINITE_SLOTS 3 /* - don't limit TCP slots */
+#define NFS_CS_NO_RETRANS_TIMEOUT 4 /* - Disable retransmit timeouts */
struct sockaddr_storage cl_addr; /* server identifier */
size_t cl_addrlen;
char * cl_hostname; /* hostname of server */