mirror_zfs/tests/zfs-tests
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
..
callbacks Split functional testings via github action matrix 2023-03-15 10:41:05 -07:00
cmd Linux/vnops: implement STATX_DIOALIGN 2025-03-13 13:15:14 -04:00
include Linux/vnops: implement STATX_DIOALIGN 2025-03-13 13:15:14 -04:00
tests Linux/vnops: implement STATX_DIOALIGN 2025-03-13 13:15:14 -04:00
.gitignore autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am ZTS: reimplement kstat helper function 2025-01-21 10:12:07 -08:00