9
0
Fork 0

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>
This commit is contained in:
Marc Kleine-Budde 2012-01-24 11:51:02 +01:00 committed by Sascha Hauer
parent 79b385b017
commit d3a183c329
1 changed files with 1 additions and 1 deletions

View File

@ -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;