mirror_zfs/tests/zfs-tests/include
Fedor Uporov 1a8f5ad3b0
zvol: Enable zvol threading functionality on FreeBSD
Make zvol I/O requests processing asynchronous on FreeBSD side in some
cases. Clone zvol threading logic and required module parameters from
Linux side. Make zvol threadpool creation/destruction logic shared for
both Linux and FreeBSD.
The IO requests are processed asynchronously in next cases:
- volmode=geom: if IO request thread is geom thread or cannot sleep.
- volmode=cdev: if IO request passed thru struct cdevsw .d_strategy
routine, mean is AIO request.
In all other cases the IO requests are processed synchronously. The
volthreading zvol property is ignored on FreeBSD side.

Sponsored-by: vStack, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: @ImAwsumm
Signed-off-by: Fedor Uporov <fuporov.vstack@gmail.com>
Closes #17169
2025-05-08 15:25:40 -04:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
blkdev.shlib SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
commands.cfg Linux/vnops: implement STATX_DIOALIGN 2025-03-13 13:15:14 -04:00
default.cfg.in SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
kstat.shlib SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libtest.shlib zvol: Enable zvol threading functionality on FreeBSD 2025-05-08 15:25:40 -04:00
math.shlib SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
properties.shlib SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
tunables.cfg zvol: Enable zvol threading functionality on FreeBSD 2025-05-08 15:25:40 -04:00
zpool_script.shlib tests: review every awk(1) invocation 2022-04-01 17:57:55 -07:00