linux-stable/include/linux/sunrpc
NeilBrown c743b4259c SUNRPC: remove timeout arg from svc_recv()
Most svc threads have no interest in a timeout.
nfsd sets it to 1 hour, but this is a wart of no significance.

lockd uses the timeout so that it can call nlmsvc_retry_blocked().
It also sometimes calls svc_wake_up() to ensure this is called.

So change lockd to be consistent and always use svc_wake_up() to trigger
nlmsvc_retry_blocked() - using a timer instead of a timeout to
svc_recv().

And change svc_recv() to not take a timeout arg.

This makes the sp_threads_timedout counter always zero.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2023-08-29 17:45:22 -04:00
..
addr.h
auth.h SUNRPC: Add RPC client support for the RPC_AUTH_TLS auth flavor 2023-06-19 12:18:36 -04:00
auth_gss.h
bc_xprt.h
cache.h
clnt.h NFS: add sysfs shutdown knob 2023-06-19 15:08:12 -04:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
metrics.h
msg_prot.h
rpc_pipe_fs.h
rpc_rdma.h
rpc_rdma_cid.h
sched.h
stats.h
svc.h SUNRPC: remove timeout arg from svc_recv() 2023-08-29 17:45:22 -04:00
svc_rdma.h svcrdma: Revert 2a1e4f21d8 ("svcrdma: Normalize Send page handling") 2023-06-12 12:16:36 -04:00
svc_rdma_pcl.h
svc_xprt.h SUNRPC: always free ctxt when freeing deferred request 2023-05-14 15:55:02 -04:00
svcauth.h sunrpc: Remove unused extern declarations 2023-08-29 17:45:22 -04:00
svcauth_gss.h
svcsock.h SUNRPC: remove timeout arg from svc_recv() 2023-08-29 17:45:22 -04:00
timer.h
types.h
xdr.h SUNRPC: Convert svc_tcp_sendmsg to use bio_vecs directly 2023-08-29 17:45:22 -04:00
xprt.h SUNRPC: Add a TCP-with-TLS RPC transport class 2023-06-19 12:28:10 -04:00
xprtmultipath.h
xprtrdma.h
xprtsock.h SUNRPC: Add a TCP-with-TLS RPC transport class 2023-06-19 12:28:10 -04:00