linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] PNFS: set the default DS timeout to 60 seconds
@ 2013-03-01  1:30 Weston Andros Adamson
  2013-03-01  1:30 ` [PATCH 2/3] SUNRPC: add call to get configured timeout Weston Andros Adamson
  2013-03-01  1:30 ` [PATCH 3/3] NFSv4.1: LAYOUTGET EDELAY loops timeout to the MDS Weston Andros Adamson
  0 siblings, 2 replies; 4+ messages in thread
From: Weston Andros Adamson @ 2013-03-01  1:30 UTC (permalink / raw)
  To: Trond.Myklebust; +Cc: linux-nfs, Weston Andros Adamson

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>
---
 fs/nfs/nfs4filelayout.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
 /*
-- 
1.7.12.4 (Apple Git-37)


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-01 21:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-01  1:30 [PATCH 1/3] PNFS: set the default DS timeout to 60 seconds Weston Andros Adamson
2013-03-01  1:30 ` [PATCH 2/3] SUNRPC: add call to get configured timeout Weston Andros Adamson
2013-03-01 21:07   ` Adamson, Dros
2013-03-01  1:30 ` [PATCH 3/3] NFSv4.1: LAYOUTGET EDELAY loops timeout to the MDS Weston Andros Adamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).