linux-stable/include/linux/lockd
NeilBrown fa341560ca SUNRPC: change how svc threads are asked to exit.
svc threads are currently stopped using kthread_stop().  This requires
identifying a specific thread.  However we don't care which thread
stops, just as long as one does.

So instead, set a flag in the svc_pool to say that a thread needs to
die, and have each thread check this flag instead of calling
kthread_should_stop().  The first thread to find and clear this flag
then moves towards exiting.

This removes an explicit dependency on sp_all_threads which will make a
future patch simpler.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2023-10-16 12:44:04 -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: change how svc threads are asked to exit. 2023-10-16 12:44:04 -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