Files
mirror_zfs/include/os/linux/spl/sys
Alexander Motin 793a2cff2a Linux: Cleanup taskq threads spawn/exit
This changes taskq_thread_should_stop() to limit maximum exit rate
for idle threads to one per 5 seconds.  I believe the previous one
was broken, not allowing any thread exits for tasks arriving more
than one at a time and so completing while others are running.

Also while there:
 - Remove taskq_thread_spawn() calls on task allocation errors.
 - Remove extra taskq_thread_should_stop() call.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rich Ercolani <rincebrain@gmail.com>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes #15873
2024-04-19 10:13:38 -07:00
..
2023-01-24 09:04:39 -08:00
2022-01-26 11:38:52 -08:00
2021-06-07 09:02:47 -07:00
2023-04-25 16:05:45 -07:00
2022-01-26 11:38:52 -08:00
2022-05-13 10:15:31 -07:00
2022-10-28 09:49:20 -07:00
2024-02-20 15:53:02 -08:00
2022-09-20 15:32:44 -07:00
2020-10-31 09:40:08 -07:00
2021-05-27 14:27:29 -06:00
2022-06-10 09:51:46 -07:00