linux-stable/include/linux/lockd
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
..
bind.h NFS: add a sysfs link to the lockd rpc_client 2023-06-19 15:06:07 -04:00
debug.h
lockd.h SUNRPC: remove timeout arg from svc_recv() 2023-08-29 17:45:22 -04:00
nlm.h
share.h
xdr.h filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
xdr4.h lockd: set file_lock start and end when decoding nlm4 testargs 2023-03-14 14:00:55 -04:00