summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2013-02-28 20:30:08 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-02-28 17:35:00 -0800
commiteb97cbb459c656b542101091f67ce112b3e56183 (patch)
treeda960d98b0b2c26f72379855859ddf23081b4dfe /fs
parent7aa262b522ee5a7f1bf9b8fe34539b262ba6da0a (diff)
downloadop-kernel-dev-eb97cbb459c656b542101091f67ce112b3e56183.zip
op-kernel-dev-eb97cbb459c656b542101091f67ce112b3e56183.tar.gz
PNFS: set the default DS timeout to 60 seconds
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/nfs4filelayout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4filelayout.h b/fs/nfs/nfs4filelayout.h
index 8c07241..b8da955 100644
--- a/fs/nfs/nfs4filelayout.h
+++ b/fs/nfs/nfs4filelayout.h
@@ -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
/*
OpenPOWER on IntegriCloud