NFSv4: Ensure we respect soft mount timeouts during trunking discovery
Tested-by: Steve Dickson <steved@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
parent
f9b7ebdf7e
commit
150e7260f3
1 changed files with 3 additions and 1 deletions
|
@ -2075,8 +2075,10 @@ int nfs4_discover_server_trunking(struct nfs_client *clp,
|
|||
switch (status) {
|
||||
case 0:
|
||||
break;
|
||||
case -NFS4ERR_DELAY:
|
||||
case -ETIMEDOUT:
|
||||
if (clnt->cl_softrtry)
|
||||
break;
|
||||
case -NFS4ERR_DELAY:
|
||||
case -EAGAIN:
|
||||
ssleep(1);
|
||||
case -NFS4ERR_STALE_CLIENTID:
|
||||
|
|
Loading…
Add table
Reference in a new issue