mirror_zfs/tests/zfs-tests/include
Rob Norris 13ec35ce3b
Linux/vnops: implement STATX_DIOALIGN
This statx(2) mask returns the alignment restrictions for O_DIRECT
access on the given file.

We're expected to return both memory and IO alignment. For memory, it's
always PAGE_SIZE. For IO, we return the current block size for the file,
which is the required alignment for an arbitrary block, and for the
first block we'll fall back to the ARC when necessary, so it should
always work.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #16972
2025-03-13 13:15:14 -04:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
blkdev.shlib ZTS: Remove non-standard awk hex numbers usage 2024-12-29 11:17:27 -08:00
commands.cfg Linux/vnops: implement STATX_DIOALIGN 2025-03-13 13:15:14 -04:00
default.cfg.in ZTS: replace all uses of /var/tmp with TEST_BASE_DIR 2025-02-27 14:37:13 -08:00
kstat.shlib ZTS: reimplement kstat helper function 2025-01-21 10:12:07 -08:00
libtest.shlib ZTS: replace all uses of /var/tmp with TEST_BASE_DIR 2025-02-27 14:37:13 -08:00
math.shlib Block cloning tests. 2023-12-26 12:01:53 -08:00
properties.shlib snapdir: add 'disabled' value to make .zfs inaccessible 2024-10-02 09:12:02 -07:00
tunables.cfg Defer resilver only when progress is above a threshold 2024-10-04 10:41:17 -07:00
zpool_script.shlib tests: review every awk(1) invocation 2022-04-01 17:57:55 -07:00