Files
mirror_zfs/include/os/freebsd/spl/sys
Alexander Motin b76724ae47 FreeBSD: Improve taskq wrapper
- Group tqent_task and tqent_timeout_task into a union.  They are
never used same time. This shrinks taskq_ent_t from 192 to 160 bytes.
 - Remove tqent_registered.  Use tqent_id != 0 instead.
 - Remove tqent_cancelled.  Use taskqueue pending counter instead.
 - Change tqent_type into uint_t.  We don't need to pack it any more.
 - Change tqent_rc into uint_t, matching refcount(9).
 - Take shared locks in taskq_lookup().
 - Call proper taskqueue_drain_timeout() for TIMEOUT_TASK in
taskq_cancel_id() and taskq_wait_id().
 - Switch from CK_LIST to regular LIST.

Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Mateusz Guzik <mjguzik@gmail.com>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes #15356
2023-11-06 16:33:18 -08:00
..
2020-04-14 11:36:28 -07:00
2022-11-07 15:55:33 -08:00
2020-07-29 16:35:33 -07:00
2020-04-14 11:36:28 -07:00
2022-11-07 15:55:37 -08:00
2020-04-14 11:36:28 -07:00
2022-05-13 10:15:31 -07:00
2020-04-14 11:36:28 -07:00
2022-01-26 11:38:52 -08:00
2022-03-18 06:47:57 -06:00
2023-03-02 13:51:56 -08:00
2020-04-14 11:36:28 -07:00
2022-05-13 10:15:31 -07:00
2022-11-07 15:55:37 -08:00
2020-04-14 11:36:28 -07:00
2023-11-06 16:33:18 -08:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2021-02-20 20:16:50 -08:00
2022-09-02 13:20:10 -07:00
2020-04-14 11:36:28 -07:00
2022-09-20 14:50:16 -07:00
2021-05-27 14:27:29 -06:00
2020-08-31 19:43:08 -07:00