Files
kernel/fs
NeilBrown 6b044fbaab lockd: use svc_set_num_threads() for thread start and stop
svc_set_num_threads() does everything that lockd_start_svc() does, except
set sv_maxconn.  It also (when passed 0) finds the threads and
stops them with kthread_stop().

So move the setting for sv_maxconn, and use svc_set_num_thread()

We now don't need nlmsvc_task.

Now that we use svc_set_num_threads() it makes sense to set svo_module.
This request that the thread exists with module_put_and_exit().
Also fix the documentation for svo_module to make this explicit.

svc_prepare_thread is now only used where it is defined, so it can be
made static.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2021-12-13 13:42:58 -05:00
..
2021-11-10 21:16:56 +00:00
2021-11-10 21:17:09 +00:00
2021-11-09 10:02:51 -08:00
2021-10-25 19:11:50 -07:00
2021-12-02 12:41:10 +01:00
2021-08-26 22:28:02 +02:00
2021-12-07 15:47:09 +00:00
2021-11-09 12:53:58 +01:00
2021-11-17 09:26:09 +01:00
2021-10-18 14:43:22 -06:00
2021-11-17 10:36:35 -05:00
2021-10-19 05:49:54 -06:00
2021-10-19 14:11:39 -04:00
2021-12-09 10:49:56 -08:00