[U-Boot] [RFC][PATCH] net: nfs: extend NFS_TIMEOUT

Tetsuyuki Kobayashi koba at kmckk.co.jp
Mon Jun 25 14:35:31 CEST 2012


I tried nfs command on KZM-A9-GT board and it fails every time with "ERROR: Cannot umount".
Current NFS_TIMEOUT value is 2000UL. It seems too short. I changed this to 10000UL then it succeeds.

Signed-off-by: Tetsuyuki Kobayashi <koba at kmckk.co.jp>
---
 net/nfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/nfs.c b/net/nfs.c
index 5b99763..390c6ee 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -31,7 +31,7 @@
 
 #define HASHES_PER_LINE 65	/* Number of "loading" hashes per line	*/
 #define NFS_RETRY_COUNT 30
-#define NFS_TIMEOUT 2000UL
+#define NFS_TIMEOUT 10000UL
 
 static int fs_mounted;
 static unsigned long rpc_id;
-- 
1.7.9.5



More information about the U-Boot mailing list