mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-24 08:55:00 +03:00
- 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 |
||
|---|---|---|
| .. | ||
| acl_common.c | ||
| callb.c | ||
| list.c | ||
| spl_acl.c | ||
| spl_atomic.c | ||
| spl_cmn_err.c | ||
| spl_dtrace.c | ||
| spl_kmem.c | ||
| spl_kstat.c | ||
| spl_misc.c | ||
| spl_policy.c | ||
| spl_procfs_list.c | ||
| spl_string.c | ||
| spl_sunddi.c | ||
| spl_sysevent.c | ||
| spl_taskq.c | ||
| spl_uio.c | ||
| spl_vfs.c | ||
| spl_vm.c | ||
| spl_zlib.c | ||
| spl_zone.c | ||