mirror_zfs/tests/zfs-tests/include
Rob Norris 168023b603
Linux 7.0: explicitly set setlease handler to kernel implementation
The upcoming 7.0 kernel will no longer fall back to generic_setlease(),
instead returning EINVAL if .setlease is NULL. So, we set it explicitly.

To ensure that we catch any future kernel change, adds a sanity test for
F_SETLEASE and F_GETLEASE too. Since this is a Linux-specific test,
also a small adjustment to the test runner to allow OS-specific helper
programs.

Sponsored-by: TrueNAS
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@truenas.com>
Closes #18215
2026-02-22 11:39:06 -08: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 7.0: explicitly set setlease handler to kernel implementation 2026-02-22 11:39:06 -08: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 ZTS: make get_same_blocks() fail harder if zdb fails 2026-02-20 13:36:49 -08: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 Restrict cloning with different properties 2026-02-10 09:53:24 -08:00
zpool_script.shlib tests: review every awk(1) invocation 2022-04-01 17:57:55 -07:00