]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: nfs: add dynamic wait period
authorMatthias Brugger <matthias.bgg@gmail.com>
Tue, 11 Dec 2012 18:14:16 +0000 (19:14 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 25 Jun 2013 00:10:15 +0000 (19:10 -0500)
commitfa84fa708c8ac826ea0e0c4af1b5fdfcd146a46d
treecd6a8f10f80a328ce75664e03c5e47eaf77a85f5
parentfb4879b3c7df4b58a8ade65451275a2fe5207557
net: nfs: add dynamic wait period

This patch tackles the time out problem which leads to break the
boot process, when loading file over nfs. The patch does two things.

First of all, we just ignore messages that arrive with a rpc_id smaller
then the client id. We just interpret this messages as answers to
formaly timed out messages.

Second, when a time out occurs we double the time to wait, so that we
do not stress the server resending the last message.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Tested-by: Enric Balletbo i Serra <eballetbo@gmail.com>
net/nfs.c