[PATCH 1/6] net/nfs: increase timeout to 15 seconds
Marc Kleine-Budde
mkl at pengutronix.de
Tue Jan 24 05:51:02 EST 2012
On my laptop with avahi enabled (linux mdns implementation), the unmount
take quite long, because the avahi daemon tries to resolve the client's
host name. This leads to a delay of about 8 seconds of the unmount reply
messages, so that barebox runs into a timeout. This patch increases the
NFS timeout to 15 to work around the problem.
Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
---
net/nfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/nfs.c b/net/nfs.c
index 0a4b787..f6cbc7c 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -124,7 +124,7 @@ struct rpc_t {
} u;
};
-#define NFS_TIMEOUT 1
+#define NFS_TIMEOUT 15
static unsigned long rpc_id = 0;
static int nfs_offset = -1;
--
1.7.4.1
More information about the barebox
mailing list