diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-01-24 11:51:02 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-01-25 18:11:45 +0100 |
commit | d3a183c329b6875b59086962a3a2197131e5c39b (patch) | |
tree | 64f8f033e2e99fe5361e70efcf459ca835fe11b0 /net | |
parent | 79b385b01731ca585bc67baae2e847505f9d8c70 (diff) | |
download | barebox-d3a183c329b6875b59086962a3a2197131e5c39b.tar.gz barebox-d3a183c329b6875b59086962a3a2197131e5c39b.tar.xz |
net/nfs: increase timeout to 15 seconds
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@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'net')
-rw-r--r-- | net/nfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |