]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
PNFS: set the default DS timeout to 60 seconds
authorWeston Andros Adamson <dros@netapp.com>
Fri, 1 Mar 2013 01:30:08 +0000 (20:30 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 1 Mar 2013 01:35:00 +0000 (17:35 -0800)
The client should have 60 second default timeouts for DS operations, not 6
seconds.

NFS4_DEF_DS_TIMEO is used as "timeout in tenths of a second" in
nfs_init_timeout_values (and is not used anywhere else).
This matches up with the description of the module param dataserver_timeo.

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.h

index 8c07241fe52b0ac86c7d1ef241923f20f0d56a1e..b8da95548d3d7a10b409a70a852b0245eeb59b7a 100644 (file)
@@ -36,7 +36,7 @@
  * Default data server connection timeout and retrans vaules.
  * Set by module paramters dataserver_timeo and dataserver_retrans.
  */
-#define NFS4_DEF_DS_TIMEO   60
+#define NFS4_DEF_DS_TIMEO   600 /* in tenths of a second */
 #define NFS4_DEF_DS_RETRANS 5
 
 /*