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
..
2023-08-24 13:24:15 -04:00
2023-02-15 11:07:54 -05:00
2023-09-13 11:51:11 -04:00
2023-07-24 10:30:01 +02:00
2023-02-20 09:20:32 -05:00
2023-10-16 12:44:04 -04:00
2022-01-06 14:00:20 -05:00
2023-08-24 13:24:15 -04:00
2022-11-30 05:08:10 -05:00
2021-06-13 19:36:27 -04:00
2023-08-24 13:24:15 -04:00
2023-09-13 11:51:11 -04:00
2023-08-24 13:24:15 -04:00
2022-10-27 15:52:10 -04:00
2023-04-26 09:04:59 -04:00
2023-08-24 13:24:15 -04:00
2023-06-19 12:30:17 -04:00
2023-08-18 10:12:13 -07:00
2023-07-24 10:30:01 +02:00
2021-11-05 14:54:40 -04:00
2023-08-09 08:56:36 +02:00
2023-08-24 13:24:15 -04:00
2023-04-11 13:08:26 -04:00
2023-08-23 15:58:47 -04:00
2022-01-10 11:53:25 +00:00
2022-10-27 15:52:10 -04:00
2023-08-09 08:56:36 +02:00
2023-08-30 11:08:27 -04:00
2023-03-06 09:57:12 +01:00
2023-04-27 19:57:00 -07:00
2023-08-24 13:24:15 -04:00
2022-10-20 10:13:27 +02:00
2023-03-06 09:57:12 +01:00
2023-08-30 11:08:27 -04:00
2023-07-10 14:36:11 +02:00
2023-09-13 11:51:11 -04:00
2023-07-10 14:36:11 +02:00
2022-11-01 10:04:52 -07:00
2022-10-27 15:52:10 -04:00
2023-09-27 15:16:40 -04:00
2021-05-07 00:26:34 -07:00
2021-11-07 09:23:14 -05:00
2021-11-07 09:23:14 -05:00
2023-09-27 15:16:40 -04:00
2023-04-13 11:49:35 -07:00
2023-02-14 15:43:57 -05:00
2022-11-27 22:09:59 -05:00
2023-08-23 15:58:47 -04:00
2023-08-30 11:08:27 -04:00
2023-06-19 15:10:45 -04:00
2023-08-23 15:58:47 -04:00
2023-05-22 12:34:41 -07:00
2023-04-11 13:08:27 -04:00
2023-04-11 13:08:26 -04:00
2023-08-24 13:24:15 -04:00
2023-08-30 14:31:31 -04:00
2023-02-15 11:07:54 -05:00
2023-02-14 14:22:32 -05:00
2022-02-25 18:50:13 -05:00
2023-08-23 15:58:47 -04:00
2023-08-31 12:47:16 +02:00
2022-05-09 16:36:48 -04:00
2023-04-13 11:49:35 -07:00
2023-08-19 10:26:29 -04:00
2023-06-19 15:04:13 -04:00
2022-11-27 22:10:00 -05:00
2023-09-28 12:22:25 -04:00