mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-24 17:05:01 +03:00
Previously taskq_init_ent() was an empty macro, while actual init was done by taskq_dispatch_ent(). It could be slightly faster in case taskq never enqueued. But without it taskq_empty_ent() relied on the structure being zeroed by somebody else, that is not good. As a side effect this allows the same task to be queued several times, that is normal on FreeBSD, that may or may not get useful here also one day. Reviewed-by: Brian Atkinson <batkinson@lanl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Alexander Motin <mav@FreeBSD.org> Sponsored by: iXsystems, Inc. Closes #15455 |
||
|---|---|---|
| .. | ||
| 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 | ||