android_kernel_motorola_sm6225/net/sunrpc
Dai Ngo 9c88c82523 SUNRPC: remove the maximum number of retries in call_bind_status
[ Upstream commit 691d0b782066a6eeeecbfceb7910a8f6184e6105 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 11:13:19 +02:00
..
auth_gss SUNRPC: ensure the matching upcall is in-flight upon downcall 2023-01-18 11:30:49 +01:00
xprtrdma xprtrdma: fix incorrect header size calculations 2022-06-25 11:49:18 +02:00
addr.c net: sunrpc: interpret the return value of kstrtou32 correctly 2021-01-19 18:22:38 +01:00
auth.c
auth_generic.c
auth_null.c
auth_unix.c
backchannel_rqst.c SUNRPC: Reinitialise the backchannel request buffers before reuse 2022-08-25 11:15:37 +02:00
cache.c
clnt.c SUNRPC: remove the maximum number of retries in call_bind_status 2023-05-17 11:13:19 +02:00
debugfs.c
Kconfig
Makefile
netns.h
rpc_pipe.c sunrpc: fixed rollback in rpc_gssd_dummy_populate() 2020-06-30 23:17:18 -04:00
rpcb_clnt.c SUNRPC: stop printk reading past end of string 2020-09-23 12:10:58 +02:00
sched.c SUNRPC: remove the maximum number of retries in call_bind_status 2023-05-17 11:13:19 +02:00
socklib.c
stats.c
sunrpc.h
sunrpc_syms.c
svc.c SUNRPC/nfs: Fix return value for nfs4_callback_compound() 2021-09-22 11:47:47 +02:00
svc_xprt.c NFSD: Repair misuse of sv_lock in 5.10.16-rt30. 2021-03-24 11:07:33 +01:00
svcauth.c
svcauth_unix.c
svcsock.c svcrdma: Fix leak of svc_rdma_recv_ctxt objects 2020-05-02 17:25:52 +02:00
sysctl.c
timer.c
xdr.c SUNRPC: Fix READ_PLUS crasher 2022-07-07 17:35:09 +02:00
xprt.c SUNRPC: use _bh spinlocking on ->transport_lock 2022-09-15 12:17:06 +02:00
xprtmultipath.c
xprtsock.c Revert "SUNRPC: attempt AF_LOCAL connect on setup" 2022-05-12 12:20:24 +02:00