linux-stable/include/linux/sunrpc
Dai Ngo 691d0b7820 SUNRPC: remove the maximum number of retries in call_bind_status
Currently call_bind_status places a hard limit of 3 to the number of
retries on EACCES error. This limit was done to prevent NLM unlock
requests from being hang forever when the server keeps returning garbage.
However this change causes problem for cases when NLM service takes
longer than 9 seconds to register with the port mapper after a restart.

This patch removes this hard coded limit and let the RPC handles
the retry based on the standard hard/soft task semantics.

Fixes: 0b760113a3 ("NLM: Don't hang forever on NLM unlock requests")
Reported-by: Helen Chao <helen.chao@oracle.com>
Tested-by: Helen Chao <helen.chao@oracle.com>
Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-04-19 17:06:02 -04:00
..
addr.h
auth.h
auth_gss.h
bc_xprt.h
cache.h
clnt.h SUNRPC: Add API to force the client to disconnect 2022-10-06 09:52:09 -04:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h SUNRPC: Move remaining internal definitions to gss_krb5_internal.h 2023-02-20 09:20:46 -05:00
metrics.h
msg_prot.h SUNRPC: Convert svcauth_unix_accept() to use xdr_stream 2023-02-20 09:20:11 -05:00
rpc_pipe_fs.h SUNRPC: ensure the matching upcall is in-flight upon downcall 2022-12-15 18:13:53 -05:00
rpc_rdma.h
rpc_rdma_cid.h
sched.h SUNRPC: remove the maximum number of retries in call_bind_status 2023-04-19 17:06:02 -04:00
stats.h
svc.h SUNRPC: Replace pool stats with per-CPU variables 2023-02-20 09:20:32 -05:00
svc_rdma.h
svc_rdma_pcl.h
svc_xprt.h SUNRPC: Remove ->xpo_secure_port() 2023-02-20 09:20:55 -05:00
svcauth.h
svcauth_gss.h
svcsock.h
timer.h
types.h
xdr.h SUNRPC: Push svcxdr_init_encode() into svc_process_common() 2023-02-20 09:20:27 -05:00
xprt.h
xprtmultipath.h
xprtrdma.h
xprtsock.h