summaryrefslogtreecommitdiffstats
path: root/include/pcmcia
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2013-03-01 02:30:10 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-01 02:41:35 +0100
commit3000512137602b84d1ad5fd89d62984993a19bb6 (patch)
treead75f7487669d2977fa1fcb0b45de533c35f29e2 /include/pcmcia
parentSUNRPC: add call to get configured timeout (diff)
downloadlinux-3000512137602b84d1ad5fd89d62984993a19bb6.tar.xz
linux-3000512137602b84d1ad5fd89d62984993a19bb6.zip
NFSv4.1: LAYOUTGET EDELAY loops timeout to the MDS
The client will currently try LAYOUTGETs forever if a server is returning NFS4ERR_LAYOUTTRYLATER or NFS4ERR_RECALLCONFLICT - even if the client no longer needs the layout (ie process killed, unmounted). This patch uses the DS timeout value (module parameter 'dataserver_timeo' via rpc layer) to set an upper limit of how long the client tries LATOUTGETs in this situation. Once the timeout is reached, IO is redirected to the MDS. This also changes how the client checks if a layout is on the clp list to avoid a double list_add. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions