mirror_zfs/scripts
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
..
zfs-images@3331601f6d Add zimport.sh compatibility test script 2014-02-21 12:10:31 -08:00
.gitignore Linux build: handle CONFIG_OBJTOOL_WERROR=y 2025-06-16 08:12:09 -07:00
commitcheck.sh CI: exclude signed-off-by/reviewed-by from 72 char limit 2025-12-09 09:12:32 -08:00
common.sh.in Ubuntu 22.04 integration: ShellCheck 2022-11-18 11:24:48 -08:00
convert_wycheproof.pl convert_wycheproof: don't check tag len on invalid tests 2025-03-18 17:09:49 -07:00
cstyle.pl SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
dkms.mkconf disable automatic dependency tracking for dkms builds 2024-06-13 18:08:49 -07:00
dkms.postbuild Turn shellcheck into a normal make target. Fix new files it caught 2021-06-01 11:38:49 -07:00
kmodtool SPDX: license tags: MIT 2025-03-13 17:56:54 -07:00
make_gitrev.sh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
Makefile.am build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
man-dates.sh Fix minor shellcheck 0.7.2 warnings 2021-06-09 12:21:24 -07:00
mancheck.sh mancheck: allow single files 2025-09-17 08:10:28 -07:00
objtool-wrapper.in Linux 6.19: handle --werror with CONFIG_OBJTOOL_WERROR=y 2026-02-02 10:19:18 -08:00
paxcheck.sh Change shellcheck and checkbashism triggers. 2025-12-16 09:15:51 -08:00
spdxcheck.pl spdxcheck: enforce SPDX license tags on build system files 2026-01-08 15:08:32 -08:00
update_authors.pl update_authors: output possible mailmap additions 2025-05-13 09:24:03 -07:00
zfs_prepare_disk Add zfs_prepare_disk script for disk firmware install 2023-09-21 08:36:26 -07:00
zfs-helpers.sh ZTS: Fix stale symlinks with zfs-helpers.sh 2025-09-23 12:58:14 -07:00
zfs-tests-color.sh Colorize the Github test output 2022-02-16 11:40:25 -08:00
zfs-tests.sh Linux 7.0: explicitly set setlease handler to kernel implementation 2026-02-22 11:39:06 -08:00
zfs.sh scripts: zfs.sh: explicitly unload all modules via rmmod 2022-04-21 16:33:12 -07:00
zimport.sh Ubuntu 22.04 integration: ShellCheck 2022-11-18 11:24:48 -08:00
zloop.sh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00