From 62a9d372f83249619694a141d59c8e88500126e6 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Wed, 12 Mar 2025 06:52:36 -0700 Subject: [PATCH 01/51] zed: Print return code on failed zpool_prepare_disk We had a case where we were autoreplacing a disk and zpool_prepare_disk failed for some reason, and ZED didn't log the return code. This commit logs the code. Reviewed-by: Alexander Motin Signed-off-by: Tony Hutter Closes #17124 --- cmd/zed/agents/zfs_mod.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/cmd/zed/agents/zfs_mod.c b/cmd/zed/agents/zfs_mod.c index d0372608c72..56da87fa943 100644 --- a/cmd/zed/agents/zfs_mod.c +++ b/cmd/zed/agents/zfs_mod.c @@ -214,6 +214,7 @@ zfs_process_add(zpool_handle_t *zhp, nvlist_t *vdev, boolean_t labeled) vdev_stat_t *vs; char **lines = NULL; int lines_cnt = 0; + int rc; /* * Get the persistent path, typically under the '/dev/disk/by-id' or @@ -405,17 +406,17 @@ zfs_process_add(zpool_handle_t *zhp, nvlist_t *vdev, boolean_t labeled) } nvlist_lookup_string(vdev, "new_devid", &new_devid); - if (is_mpath_wholedisk) { /* Don't label device mapper or multipath disks. */ zed_log_msg(LOG_INFO, " it's a multipath wholedisk, don't label"); - if (zpool_prepare_disk(zhp, vdev, "autoreplace", &lines, - &lines_cnt) != 0) { + rc = zpool_prepare_disk(zhp, vdev, "autoreplace", &lines, + &lines_cnt); + if (rc != 0) { zed_log_msg(LOG_INFO, " zpool_prepare_disk: could not " - "prepare '%s' (%s)", fullpath, - libzfs_error_description(g_zfshdl)); + "prepare '%s' (%s), path '%s', rc = %d", fullpath, + libzfs_error_description(g_zfshdl), path, rc); if (lines_cnt > 0) { zed_log_msg(LOG_INFO, " zfs_prepare_disk output:"); @@ -446,12 +447,13 @@ zfs_process_add(zpool_handle_t *zhp, nvlist_t *vdev, boolean_t labeled) * If this is a request to label a whole disk, then attempt to * write out the label. */ - if (zpool_prepare_and_label_disk(g_zfshdl, zhp, leafname, - vdev, "autoreplace", &lines, &lines_cnt) != 0) { + rc = zpool_prepare_and_label_disk(g_zfshdl, zhp, leafname, + vdev, "autoreplace", &lines, &lines_cnt); + if (rc != 0) { zed_log_msg(LOG_WARNING, " zpool_prepare_and_label_disk: could not " - "label '%s' (%s)", leafname, - libzfs_error_description(g_zfshdl)); + "label '%s' (%s), rc = %d", leafname, + libzfs_error_description(g_zfshdl), rc); if (lines_cnt > 0) { zed_log_msg(LOG_INFO, " zfs_prepare_disk output:"); From 41823a0ede88377c39ad218ddd1e60776ea5f466 Mon Sep 17 00:00:00 2001 From: Fabian-Gruenbichler Date: Wed, 12 Mar 2025 22:39:01 +0100 Subject: [PATCH 02/51] linux: zvols: correctly detect flush requests (#17131) since 4.10, bio->bi_opf needs to be checked to determine all kinds of flush requests. this was the case prior to the commit referenced below, but the order of ifdefs was not the usual one (newest up top), which might have caused this to slip through. this fixes a regression when using zvols as Qemu block devices, but might have broken other use cases as well. the symptoms are that all sync writes from within a VM configured to use such a virtual block devices are ignored and treated as async writes by the host ZFS layer. this can be verified using fio in sync mode inside the VM, for example with fio \ --filename=/dev/sda --ioengine=libaio --loops=1 --size=10G \ --time_based --runtime=60 --group_reporting --stonewall --name=cc1 \ --description="CC1" --rw=write --bs=4k --direct=1 --iodepth=1 \ --numjobs=1 --sync=1 which shows an IOPS number way above what the physical device underneath supports, with "zpool iostat -r 1" on the hypervisor side showing no sync IO occuring during the benchmark. with the regression fixed, both fio inside the VM and the IO stats on the host show the expected numbers. Fixes: 846b5985192467acabf5484ae610b4b37b7f8162 "config: remove HAVE_REQ_OP_* and HAVE_REQ_*" Signed-off-by: Fabian-Gruenbichler Co-authored-by: Alexander Motin Reviewed-by: Alexander Motin Reviewed-by: Tony Hutter --- include/os/linux/kernel/linux/blkdev_compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/os/linux/kernel/linux/blkdev_compat.h b/include/os/linux/kernel/linux/blkdev_compat.h index d96708c600a..9af496e8777 100644 --- a/include/os/linux/kernel/linux/blkdev_compat.h +++ b/include/os/linux/kernel/linux/blkdev_compat.h @@ -383,7 +383,7 @@ bio_set_flush(struct bio *bio) static inline boolean_t bio_is_flush(struct bio *bio) { - return (bio_op(bio) == REQ_OP_FLUSH); + return (bio_op(bio) == REQ_OP_FLUSH || op_is_flush(bio->bi_opf)); } /* From 4ddaf45ba468c6953a4fcdbfe79795f74fa6e489 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Fri, 14 Mar 2025 01:35:31 +1100 Subject: [PATCH 03/51] AUTHORS: refresh with recent new contributors The reward for good work is more work. Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Closed #17141 --- .mailmap | 5 +++++ AUTHORS | 14 ++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/.mailmap b/.mailmap index 64e02681e37..89d579e60d0 100644 --- a/.mailmap +++ b/.mailmap @@ -71,6 +71,7 @@ Rob Norris Sam Lunt Sanjeev Bagewadi Sebastian Wuerl +SHENGYI HONG Stoiko Ivanov Tamas TEVESZ WHR @@ -78,8 +79,11 @@ Yanping Gao Youzhong Yang # Signed-off-by: overriding Author: +Alexander Ziaee Ryan Sietse +Phil Sutter +poscat Qiuhao Chen Yuxin Wang Zhenlei Huang @@ -207,6 +211,7 @@ Torsten Wörtwein Tulsi Jain Václav Skála <33496485+vaclavskala@users.noreply.github.com> Vaibhav Bhanawat <88050553+vaibhav-delphix@users.noreply.github.com> +Vandana Rungta <46906819+vandanarungta@users.noreply.github.com> Violet Purcell <66446404+vimproved@users.noreply.github.com> Vipin Kumar Verma <75025470+vermavipinkumar@users.noreply.github.com> Wolfgang Bumiller diff --git a/AUTHORS b/AUTHORS index b4342f6912a..756f3d932b6 100644 --- a/AUTHORS +++ b/AUTHORS @@ -36,6 +36,7 @@ CONTRIBUTORS: Alexander Pyhalov Alexander Richardson Alexander Stetsenko + Alexander Ziaee Alex Braunegg Alexey Shvetsov Alexey Smirnoff @@ -288,6 +289,7 @@ CONTRIBUTORS: ilovezfs InsanePrawn Isaac Huang + Ivan Volosyuk Jacek Fefliński Jacob Adams Jake Howard @@ -295,6 +297,7 @@ CONTRIBUTORS: James H James Lee James Pan + James Reilly James Wah Jan Engelhardt Jan Kryl @@ -306,6 +309,7 @@ CONTRIBUTORS: Jason Lee Jason Zaman Javen Wu + Jaydeep Kshirsagar Jean-Baptiste Lallement Jeff Dike Jeremy Faulkner @@ -313,6 +317,7 @@ CONTRIBUTORS: Jeremy Jones Jeremy Visser Jerry Jelinek + Jerzy Kołosowski Jessica Clarke Jinshan Xiong Jitendra Patidar @@ -372,6 +377,7 @@ CONTRIBUTORS: Kohsuke Kawaguchi Konstantin Khorenko KORN Andras + kotauskas Kristof Provost Krzysztof Piecuch Kyle Blatter @@ -452,6 +458,7 @@ CONTRIBUTORS: Mike Swanson Milan Jurik Minsoo Choo + mnrx Mohamed Tawfik Morgan Jones Moritz Maxeiner @@ -494,6 +501,7 @@ CONTRIBUTORS: Pawel Jakub Dawidek Pedro Giffuni Peng + Peng Liu Peter Ashford Peter Dave Hello Peter Doherty @@ -503,9 +511,11 @@ CONTRIBUTORS: Philip Pokorny Philipp Riederer Phil Kauffman + Phil Sutter Ping Huang Piotr Kubaj Piotr P. Stefaniak + poscat Prakash Surya Prasad Joshi privb0x23 @@ -575,6 +585,7 @@ CONTRIBUTORS: Shaun Tancheff Shawn Bayern Shengqi Chen + SHENGYI HONG Shen Yan Sietse Simon Guest @@ -616,7 +627,9 @@ CONTRIBUTORS: timor Timothy Day Tim Schumacher + Tim Smith Tino Reichardt + tleydxdy Tobin Harding Todd Seidelmann Tom Caputi @@ -640,6 +653,7 @@ CONTRIBUTORS: Vaibhav Bhanawat Valmiky Arquissandas Val Packett + Vandana Rungta Vince van Oosten Violet Purcell Vipin Kumar Verma From 0433523ca2632a175546e0cc99d1812de2a90d55 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Thu, 13 Mar 2025 11:07:48 -0600 Subject: [PATCH 04/51] Verify every block pointer is either embedded, hole, or has a valid DVA Now instead of crashing when attempting to read the corrupt block pointer, ZFS will return ECKSUM, in a stack that looks like this: ``` none:set-error zfs.ko`arc_read+0x1d82 zfs.ko`dbuf_read+0xa8c zfs.ko`dmu_buf_hold_array_by_dnode+0x292 zfs.ko`dmu_read_uio_dnode+0x47 zfs.ko`zfs_read+0x2d5 zfs.ko`zfs_freebsd_read+0x7b kernel`VOP_READ_APV+0xd0 kernel`vn_read+0x20e kernel`vn_io_fault_doio+0x45 kernel`vn_io_fault1+0x15e kernel`vn_io_fault+0x150 kernel`dofileread+0x80 kernel`sys_read+0xb7 kernel`amd64_syscall+0x424 kernel`0xffffffff810633cb ``` This patch should hopefully also prevent such corrupt block pointers from being written to disk in the first place. And in zdb, don't crash when printing a block pointer with no valid DVAs. If a block pointer isn't embedded yet doesn't have any valid DVAs, that's a data corruption bug. zdb should be able to handle the situation gracefully. Finally, remove an extra check for gang blocks in SNPRINTF_BLKPTR. This check, which compares the asizes of two different DVAs within the same BP, was added by illumos-gate commit b24ab67[^1], and I can't understand why. It doesn't appear to do anything useful, so remove it. [^1]: https://github.com/illumos/illumos-gate/commit/b24ab6762772a3f6a89393947930c7fa61306783 Fixes #17077 Sponsored by: ConnectWise Reviewed-by: Alexander Motin Reviewed-by: Brian Behlendorf Reviewed by: Alek Pinchuk Signed-off-by: Alan Somers Closes #17078 --- include/sys/spa.h | 5 ----- module/zfs/zio.c | 10 ++++++++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/include/sys/spa.h b/include/sys/spa.h index 715be9eb163..1606d45e2a1 100644 --- a/include/sys/spa.h +++ b/include/sys/spa.h @@ -670,7 +670,6 @@ typedef struct blkptr { (u_longlong_t)DVA_GET_ASIZE(dva), \ ws); \ } \ - ASSERT3S(copies, >, 0); \ if (BP_IS_ENCRYPTED(bp)) { \ len += func(buf + len, size - len, \ "salt=%llx iv=%llx:%llx%c", \ @@ -679,10 +678,6 @@ typedef struct blkptr { (u_longlong_t)BP_GET_IV2(bp), \ ws); \ } \ - if (BP_IS_GANG(bp) && \ - DVA_GET_ASIZE(&bp->blk_dva[2]) <= \ - DVA_GET_ASIZE(&bp->blk_dva[1]) / 2) \ - copies--; \ len += func(buf + len, size - len, \ "[L%llu %s] %s %s %s %s %s %s %s%c" \ "size=%llxL/%llxP birth=%lluL/%lluP fill=%llu%c" \ diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 36e2f5e4bba..9058c19084c 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -1212,6 +1212,16 @@ zfs_blkptr_verify(spa_t *spa, const blkptr_t *bp, bp, (longlong_t)BPE_GET_PSIZE(bp)); } return (errors ? ECKSUM : 0); + } else if (BP_IS_HOLE(bp)) { + /* + * Holes are allowed (expected, even) to have no DVAs, no + * checksum, and no psize. + */ + return (errors ? ECKSUM : 0); + } else if (unlikely(!DVA_IS_VALID(&bp->blk_dva[0]))) { + /* Non-hole, non-embedded BPs _must_ have at least one DVA */ + errors += zfs_blkptr_verify_log(spa, bp, blk_verify, + "blkptr at %px has no valid DVAs", bp); } if (unlikely(BP_GET_CHECKSUM(bp) >= ZIO_CHECKSUM_FUNCTIONS)) { errors += zfs_blkptr_verify_log(spa, bp, blk_verify, From 13ec35ce3b52c392de4ff22bb5b2856e782b453d Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Fri, 14 Mar 2025 04:15:14 +1100 Subject: [PATCH 05/51] 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 Signed-off-by: Rob Norris Closes #16972 --- include/sys/zfs_vnops.h | 3 + module/os/linux/zfs/zpl_inode.c | 13 + module/zfs/zfs_vnops.c | 39 +++ tests/runfiles/common.run | 2 +- tests/test-runner/bin/zts-report.py.in | 9 +- tests/zfs-tests/cmd/.gitignore | 2 + tests/zfs-tests/cmd/Makefile.am | 1 + tests/zfs-tests/cmd/statx.c | 304 ++++++++++++++++++ tests/zfs-tests/include/commands.cfg | 1 + tests/zfs-tests/tests/Makefile.am | 1 + .../tests/functional/stat/statx_dioalign.ksh | 175 ++++++++++ 11 files changed, 548 insertions(+), 2 deletions(-) create mode 100644 tests/zfs-tests/cmd/statx.c create mode 100755 tests/zfs-tests/tests/functional/stat/statx_dioalign.ksh diff --git a/include/sys/zfs_vnops.h b/include/sys/zfs_vnops.h index e60b99bed19..d4cd462cc0a 100644 --- a/include/sys/zfs_vnops.h +++ b/include/sys/zfs_vnops.h @@ -20,6 +20,7 @@ */ /* * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2025, Rob Norris */ #ifndef _SYS_FS_ZFS_VNOPS_H @@ -42,6 +43,8 @@ extern int zfs_clone_range_replay(znode_t *, uint64_t, uint64_t, uint64_t, extern int zfs_getsecattr(znode_t *, vsecattr_t *, int, cred_t *); extern int zfs_setsecattr(znode_t *, vsecattr_t *, int, cred_t *); +extern int zfs_get_direct_alignment(znode_t *, uint64_t *); + extern int mappedread(znode_t *, int, zfs_uio_t *); extern int mappedread_sf(znode_t *, int, zfs_uio_t *); extern void update_pages(znode_t *, int64_t, int, objset_t *); diff --git a/module/os/linux/zfs/zpl_inode.c b/module/os/linux/zfs/zpl_inode.c index c4b5087ca5e..981e26b2672 100644 --- a/module/os/linux/zfs/zpl_inode.c +++ b/module/os/linux/zfs/zpl_inode.c @@ -21,6 +21,7 @@ /* * Copyright (c) 2011, Lawrence Livermore National Security, LLC. * Copyright (c) 2015 by Chunwei Chen. All rights reserved. + * Copyright (c) 2025, Rob Norris */ @@ -30,6 +31,7 @@ #include #include #include +#include #include #include #include @@ -490,6 +492,17 @@ zpl_getattr_impl(const struct path *path, struct kstat *stat, u32 request_mask, } #endif +#ifdef STATX_DIOALIGN + if (request_mask & STATX_DIOALIGN) { + uint64_t align; + if (zfs_get_direct_alignment(zp, &align) == 0) { + stat->dio_mem_align = PAGE_SIZE; + stat->dio_offset_align = align; + stat->result_mask |= STATX_DIOALIGN; + } + } +#endif + #ifdef STATX_ATTR_IMMUTABLE if (zp->z_pflags & ZFS_IMMUTABLE) stat->attributes |= STATX_ATTR_IMMUTABLE; diff --git a/module/zfs/zfs_vnops.c b/module/zfs/zfs_vnops.c index b789d1ed523..c691390976c 100644 --- a/module/zfs/zfs_vnops.c +++ b/module/zfs/zfs_vnops.c @@ -25,6 +25,7 @@ * Copyright (c) 2015 by Chunwei Chen. All rights reserved. * Copyright 2017 Nexenta Systems, Inc. * Copyright (c) 2021, 2022 by Pawel Jakub Dawidek + * Copyright (c) 2025, Rob Norris */ /* Portions Copyright 2007 Jeremy Teo */ @@ -1083,6 +1084,44 @@ zfs_setsecattr(znode_t *zp, vsecattr_t *vsecp, int flag, cred_t *cr) return (error); } +/* + * Get the optimal alignment to ensure direct IO can be performed without + * incurring any RMW penalty on write. If direct IO is not enabled for this + * file, returns an error. + */ +int +zfs_get_direct_alignment(znode_t *zp, uint64_t *alignp) +{ + zfsvfs_t *zfsvfs = ZTOZSB(zp); + + if (!zfs_dio_enabled || zfsvfs->z_os->os_direct == ZFS_DIRECT_DISABLED) + return (SET_ERROR(EOPNOTSUPP)); + + /* + * If the file has multiple blocks, then its block size is fixed + * forever, and so is the ideal alignment. + * + * If however it only has a single block, then we want to return the + * max block size it could possibly grown to (ie, the dataset + * recordsize). We do this so that a program querying alignment + * immediately after the file is created gets a value that won't change + * once the file has grown into the second block and beyond. + * + * Because we don't have a count of blocks easily available here, we + * check if the apparent file size is smaller than its current block + * size (meaning, the file hasn't yet grown into the current block + * size) and then, check if the block size is smaller than the dataset + * maximum (meaning, if the file grew past the current block size, the + * block size could would be increased). + */ + if (zp->z_size <= zp->z_blksz && zp->z_blksz < zfsvfs->z_max_blksz) + *alignp = MAX(zfsvfs->z_max_blksz, PAGE_SIZE); + else + *alignp = MAX(zp->z_blksz, PAGE_SIZE); + + return (0); +} + #ifdef ZFS_DEBUG static int zil_fault_io = 0; #endif diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run index 462704b593c..0a48604d3cf 100644 --- a/tests/runfiles/common.run +++ b/tests/runfiles/common.run @@ -981,7 +981,7 @@ tests = ['sparse_001_pos'] tags = ['functional', 'sparse'] [tests/functional/stat] -tests = ['stat_001_pos'] +tests = ['stat_001_pos', 'statx_dioalign'] tags = ['functional', 'stat'] [tests/functional/suid] diff --git a/tests/test-runner/bin/zts-report.py.in b/tests/test-runner/bin/zts-report.py.in index 0bfc64959c3..2e8133906bb 100755 --- a/tests/test-runner/bin/zts-report.py.in +++ b/tests/test-runner/bin/zts-report.py.in @@ -128,6 +128,11 @@ idmap_reason = 'Idmapped mount needs kernel 5.12+' # cfr_reason = 'Kernel copy_file_range support required' +# +# Some statx fields are not supported by all kernels +# +statx_reason = 'Needed statx(2) field not supported on this kernel' + if sys.platform.startswith('freebsd'): cfr_cross_reason = 'copy_file_range(2) cross-filesystem needs FreeBSD 14+' else: @@ -293,7 +298,8 @@ if sys.platform.startswith('freebsd'): 'block_cloning/block_cloning_cross_enc_dataset': ['SKIP', cfr_cross_reason], 'block_cloning/block_cloning_copyfilerange_cross_dataset': - ['SKIP', cfr_cross_reason] + ['SKIP', cfr_cross_reason], + 'stat/statx_dioalign': ['SKIP', 'na_reason'], }) elif sys.platform.startswith('linux'): maybe.update({ @@ -361,6 +367,7 @@ elif sys.platform.startswith('linux'): 'mmp/mmp_active_import': ['FAIL', known_reason], 'mmp/mmp_exported_import': ['FAIL', known_reason], 'mmp/mmp_inactive_import': ['FAIL', known_reason], + 'stat/statx_dioalign': ['SKIP', 'statx_reason'], }) diff --git a/tests/zfs-tests/cmd/.gitignore b/tests/zfs-tests/cmd/.gitignore index cd13d110e87..e9a6f8f0ac1 100644 --- a/tests/zfs-tests/cmd/.gitignore +++ b/tests/zfs-tests/cmd/.gitignore @@ -36,6 +36,7 @@ /rename_dir /rm_lnkcnt_zero_file /send_doall +/statx /stride_dd /threadsappend /user_ns_exec @@ -54,3 +55,4 @@ /skein_test /sha2_test /idmap_util +/statx diff --git a/tests/zfs-tests/cmd/Makefile.am b/tests/zfs-tests/cmd/Makefile.am index 60de7d8686d..4498c9a7371 100644 --- a/tests/zfs-tests/cmd/Makefile.am +++ b/tests/zfs-tests/cmd/Makefile.am @@ -126,6 +126,7 @@ if BUILD_LINUX scripts_zfs_tests_bin_PROGRAMS += %D%/getversion scripts_zfs_tests_bin_PROGRAMS += %D%/user_ns_exec scripts_zfs_tests_bin_PROGRAMS += %D%/renameat2 +scripts_zfs_tests_bin_PROGRAMS += %D%/statx scripts_zfs_tests_bin_PROGRAMS += %D%/xattrtest scripts_zfs_tests_bin_PROGRAMS += %D%/zed_fd_spill-zedlet scripts_zfs_tests_bin_PROGRAMS += %D%/idmap_util diff --git a/tests/zfs-tests/cmd/statx.c b/tests/zfs-tests/cmd/statx.c new file mode 100644 index 00000000000..89939f6efb4 --- /dev/null +++ b/tests/zfs-tests/cmd/statx.c @@ -0,0 +1,304 @@ +/* + * SPDX-License-Identifier: MIT + * + * Copyright (c) 2025, Rob Norris + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + */ + +#include +#include +#include +#include +#include +#include +#include + +/* + * statx() may be available in the kernel, but not in the libc, so we build + * our own wrapper if we can't link one. + */ + +#ifndef __NR_statx +#if defined(__x86_64__) +#define __NR_statx (332) +#elif defined(__i386__) +#define __NR_statx (383) +#elif defined(__s390__) +#define __NR_statx (379) +#elif defined(__arm__) +#define __NR_statx (397) +#elif defined(__aarch64__) +#define __NR_statx (291) +#elif defined(__powerpc__) +#define __NR_statx (383) +#else +#error "no definition of __NR_statx for this platform" +#endif +#endif /* __NR_statx */ + + +int +statx(int, const char *, int, unsigned int, void *) + __attribute__((weak)); + +static inline int +_statx(int fd, const char *path, int flags, unsigned int mask, void *stx) +{ + if (statx) + return (statx(fd, path, flags, mask, stx)); + else + return (syscall(__NR_statx, fd, path, flags, mask, stx)); +} + +#ifndef STATX_TYPE +#define STATX_TYPE (1<<0) +#endif +#ifndef STATX_MODE +#define STATX_MODE (1<<1) +#endif +#ifndef STATX_NLINK +#define STATX_NLINK (1<<2) +#endif +#ifndef STATX_UID +#define STATX_UID (1<<3) +#endif +#ifndef STATX_GID +#define STATX_GID (1<<4) +#endif +#ifndef STATX_ATIME +#define STATX_ATIME (1<<5) +#endif +#ifndef STATX_MTIME +#define STATX_MTIME (1<<6) +#endif +#ifndef STATX_CTIME +#define STATX_CTIME (1<<7) +#endif +#ifndef STATX_INO +#define STATX_INO (1<<8) +#endif +#ifndef STATX_SIZE +#define STATX_SIZE (1<<9) +#endif +#ifndef STATX_BLOCKS +#define STATX_BLOCKS (1<<10) +#endif +#ifndef STATX_BTIME +#define STATX_BTIME (1<<11) +#endif +#ifndef STATX_MNT_ID +#define STATX_MNT_ID (1<<12) +#endif +#ifndef STATX_DIOALIGN +#define STATX_DIOALIGN (1<<13) +#endif + +typedef struct { + int64_t tv_sec; + uint32_t tv_nsec; + int32_t _pad; +} stx_timestamp_t; +_Static_assert(sizeof (stx_timestamp_t) == 0x10, + "stx_timestamp_t not 16 bytes"); + +typedef struct { + uint32_t stx_mask; + uint32_t stx_blksize; + uint64_t stx_attributes; + uint32_t stx_nlink; + uint32_t stx_uid; + uint32_t stx_gid; + uint16_t stx_mode; + uint16_t _pad1; + uint64_t stx_ino; + uint64_t stx_size; + uint64_t stx_blocks; + uint64_t stx_attributes_mask; + stx_timestamp_t stx_atime; + stx_timestamp_t stx_btime; + stx_timestamp_t stx_ctime; + stx_timestamp_t stx_mtime; + uint32_t stx_rdev_major; + uint32_t stx_rdev_minor; + uint32_t stx_dev_major; + uint32_t stx_dev_minor; + uint64_t stx_mnt_id; + uint32_t stx_dio_mem_align; + uint32_t stx_dio_offset_align; + uint64_t _pad2[12]; +} stx_t; +_Static_assert(sizeof (stx_t) == 0x100, "stx_t not 256 bytes"); + +typedef struct { + const char *name; + unsigned int mask; +} stx_field_t; + +stx_field_t fields[] = { + { "type", STATX_TYPE }, + { "mode", STATX_MODE }, + { "nlink", STATX_NLINK }, + { "uid", STATX_UID }, + { "gid", STATX_GID }, + { "atime", STATX_ATIME }, + { "mtime", STATX_MTIME }, + { "ctime", STATX_CTIME }, + { "ino", STATX_INO }, + { "size", STATX_SIZE }, + { "blocks", STATX_BLOCKS }, + { "btime", STATX_BTIME }, + { "mnt_id", STATX_MNT_ID }, + { "dioalign", STATX_DIOALIGN }, + { NULL }, +}; + +static int +usage(void) +{ + printf( + "usage: statx \n" + "available fields:\n"); + + int w = 0; + for (stx_field_t *f = fields; f->name != NULL; f++) { + if (w > 0 && (w + strlen(f->name) + 1) > 60) { + fputc('\n', stdout); + w = 0; + } + if (w == 0) + fputc(' ', stdout); + w += printf(" %s", f->name); + } + if (w > 0) + fputc('\n', stdout); + return (1); +} + +int +main(int argc, char **argv) +{ + if (argc < 3) + return (usage()); + + unsigned int mask = 0; + + char *name; + while ((name = strsep(&argv[1], ",")) != NULL) { + stx_field_t *f; + for (f = fields; f->name != NULL; f++) { + if (strcmp(name, f->name) == 0) { + mask |= f->mask; + break; + } + } + if (f->name == NULL) { + fprintf(stderr, "unknown field name: %s\n", name); + return (usage()); + } + } + + int fd = open(argv[2], O_PATH); + if (fd < 0) { + fprintf(stderr, "open: %s: %s\n", argv[2], strerror(errno)); + return (1); + } + + stx_t stx = {}; + + if (_statx(fd, "", + AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW, mask, &stx) < 0) { + fprintf(stderr, "statx: %s: %s\n", argv[2], strerror(errno)); + close(fd); + return (1); + } + + int rc = 0; + + for (stx_field_t *f = fields; f->name != NULL; f++) { + if (!(mask & f->mask)) + continue; + if (!(stx.stx_mask & f->mask)) { + printf("statx: kernel did not return field: %s\n", + f->name); + rc = 2; + continue; + } + } + + if (rc > 0) + return (rc); + + for (stx_field_t *f = fields; f->name != NULL; f++) { + if (!(mask & f->mask)) + continue; + + switch (f->mask) { + case STATX_TYPE: + printf("type: %u\n", stx.stx_mode & S_IFMT); + break; + case STATX_MODE: + printf("mode: %u\n", stx.stx_mode & ~S_IFMT); + break; + case STATX_NLINK: + printf("nlink: %u\n", stx.stx_nlink); + break; + case STATX_UID: + printf("uid: %u\n", stx.stx_uid); + break; + case STATX_GID: + printf("gid: %u\n", stx.stx_gid); + break; + case STATX_ATIME: + printf("atime: %ld.%u\n", + stx.stx_atime.tv_sec, stx.stx_atime.tv_nsec); + break; + case STATX_MTIME: + printf("mtime: %ld.%u\n", + stx.stx_mtime.tv_sec, stx.stx_mtime.tv_nsec); + break; + case STATX_CTIME: + printf("ctime: %ld.%u\n", + stx.stx_ctime.tv_sec, stx.stx_ctime.tv_nsec); + break; + case STATX_INO: + printf("ino: %lu\n", stx.stx_ino); + break; + case STATX_SIZE: + printf("size: %lu\n", stx.stx_size); + break; + case STATX_BLOCKS: + printf("blocks: %lu\n", stx.stx_blocks); + break; + case STATX_BTIME: + printf("btime: %ld.%u\n", + stx.stx_btime.tv_sec, stx.stx_btime.tv_nsec); + break; + case STATX_MNT_ID: + printf("mnt_id: %lu\n", stx.stx_mnt_id); + break; + case STATX_DIOALIGN: + printf("dioalign: %u %u\n", + stx.stx_dio_mem_align, stx.stx_dio_offset_align); + break; + } + } + + return (rc); +} diff --git a/tests/zfs-tests/include/commands.cfg b/tests/zfs-tests/include/commands.cfg index 9ed6a6e51fc..1c7e42a06e0 100644 --- a/tests/zfs-tests/include/commands.cfg +++ b/tests/zfs-tests/include/commands.cfg @@ -218,6 +218,7 @@ export ZFSTEST_FILES='badsend rename_dir rm_lnkcnt_zero_file send_doall + statx threadsappend user_ns_exec write_dos_attributes diff --git a/tests/zfs-tests/tests/Makefile.am b/tests/zfs-tests/tests/Makefile.am index 6e34063ad3c..d057158891b 100644 --- a/tests/zfs-tests/tests/Makefile.am +++ b/tests/zfs-tests/tests/Makefile.am @@ -2059,6 +2059,7 @@ nobase_dist_datadir_zfs_tests_tests_SCRIPTS += \ functional/stat/cleanup.ksh \ functional/stat/setup.ksh \ functional/stat/stat_001_pos.ksh \ + functional/stat/statx_dioalign.ksh \ functional/suid/cleanup.ksh \ functional/suid/setup.ksh \ functional/suid/suid_write_to_none.ksh \ diff --git a/tests/zfs-tests/tests/functional/stat/statx_dioalign.ksh b/tests/zfs-tests/tests/functional/stat/statx_dioalign.ksh new file mode 100755 index 00000000000..9b86d05c6a4 --- /dev/null +++ b/tests/zfs-tests/tests/functional/stat/statx_dioalign.ksh @@ -0,0 +1,175 @@ +#!/bin/ksh -p +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or https://opensource.org/licenses/CDDL-1.0. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# + +# +# Copyright (c) 2025, Rob Norris +# + +# +# Uses the statx helper to test the results of the STATX_DIOALIGN request as we +# manipulate DIO enable, dataset recordsize and file size and structure. +# + +. $STF_SUITE/include/libtest.shlib + +verify_runnable "both" + +if ! is_linux ; then + log_unsupported "statx(2) only available on Linux" +fi + +if [[ $(linux_version) -lt $(linux_version "6.1") ]] ; then + log_unsupported "STATX_DIOALIGN not available before Linux 6.1" +fi + +CLAIM="STATX_DIOALIGN returns useful values when Direct IO is available." + +TESTDS=${TESTPOOL}/${TESTFS} +TESTFILE=${TESTDIR}/${TESTFILE0} + +log_must save_tunable DIO_ENABLED +typeset recordsize_saved=$(get_prop recordsize $TESTDS) +typeset direct_saved=$(get_prop direct $TESTDS) + +function cleanup +{ + rm -f ${TESTFILE} + zfs set recordsize=$recordsize_saved $TESTDS + zfs set direct=$direct_saved $TESTDS + restore_tunable DIO_ENABLED +} +log_onexit cleanup + +# assert_dioalign +function assert_dioalign +{ + typeset file=$1 + typeset -i memalign=$2 + typeset -i ioalign=$3 + + typeset -a v=($(statx dioalign $file | cut -f2- -d' ')) + log_note "statx dioalign returned: $file: mem=${v[0]} io=${v[1]}" + log_must [ ${v[0]} -eq $memalign -a ${v[1]} -eq $ioalign ] +} + +# assert_dioalign_failed +function assert_dioalign_failed +{ + typeset file=$1 + log_mustnot statx dioalign $file +} + +log_assert $CLAIM + +# The mem alignment will always be PAGE_SIZE, so we need to know what that is. +typeset -i PAGE_SIZE=$(getconf PAGE_SIZE) + +# Set recordsize to 128K, and make a 64K file (so only one block) for the +# sizing tests below. +log_must zfs set recordsize=128K $TESTDS +log_must dd if=/dev/urandom of=$TESTFILE bs=64k count=1 +log_must zpool sync + +# when DIO is disabled via tunable, statx will not return the dioalign result +# and the program fails +log_must set_tunable32 DIO_ENABLED 0 + +for d in disabled standard always ; do + log_must zfs set direct=$d $TESTDS + assert_dioalign_failed $TESTFILE +done + +# when DIO is enabled via tunable, behaviour is dependent on the direct= +# property. +log_must set_tunable32 DIO_ENABLED 1 + +# when DIO is disabled via property, statx fails +log_must zfs set direct=disabled $TESTDS +assert_dioalign_failed $TESTFILE + +# when DIO is enabled, the result should be mem=pagesize, io=recordsize +for d in standard always ; do + log_must zfs set direct=$d $TESTDS + assert_dioalign $TESTFILE $PAGE_SIZE 131072 +done + +# The IO size is the file's blocksize, unless it is in its first block and +# could grow to the recordsize. Our test file is currently a single 64K block, +# so any recordsize equal or larger than that should be used for the alignment. +for krs in 64 128 256 512 ; do + typeset -i rs=$((krs * 1024)) + log_must zfs set recordsize=$rs $TESTDS + for d in standard always ; do + log_must zfs set direct=$d $TESTDS + assert_dioalign $TESTFILE $PAGE_SIZE $rs + done +done + +# If the recordsize is smaller than the block size, then the file's block size +# will always be used. +for krs in 4 8 16 32 64 ; do + typeset -i rs=$((krs * 1024)) + log_must zfs set recordsize=$rs $TESTDS + for d in standard always ; do + log_must zfs set direct=$d $TESTDS + assert_dioalign $TESTFILE $PAGE_SIZE 65536 + done +done + +# Now we extend the file into its second block. This effectively locks in its +# block size, which will always be returned regardless of recordsize changes. +log_must zfs set recordsize=128K $TESTDS +log_must dd if=/dev/urandom of=$TESTFILE bs=192K count=1 +log_must zpool sync + +# Confirm that no matter how we change the recordsize, the alignment remains at +# the block size. +for krs in 4 8 16 32 64 128 256 512 ; do + typeset -i rs=$((krs * 1024)) + log_must zfs set recordsize=$rs $TESTDS + for d in standard always ; do + log_must zfs set direct=$d $TESTDS + assert_dioalign $TESTFILE $PAGE_SIZE 131072 + done +done + +# reset for write tests +log_must zfs set recordsize=16K $TESTDS +log_must zfs set direct=standard $TESTDS + +# create an empty file, and fetch its alignment (which we know, so just test +# for it). then, do some O_DIRECT writes with that alignment. they should +# succeed. +log_must rm -f $TESTFILE +log_must touch $TESTFILE +log_must zpool sync +assert_dioalign $TESTFILE $PAGE_SIZE 16384 +log_must dd if=/dev/urandom of=$TESTFILE bs=16384 count=16 oflag=direct + +# same again, but writing with incorrect alignment, which should fail. +log_must rm -f $TESTFILE +log_must touch $TESTFILE +log_must zpool sync +assert_dioalign $TESTFILE $PAGE_SIZE 16384 +log_mustnot dd if=/dev/urandom of=$TESTFILE bs=1024 count=256 oflag=direct + +log_pass $CLAIM From 09f4dd06c3e3275e1aa0b8d12a894cf140d19c3f Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Thu, 13 Mar 2025 13:27:15 -0400 Subject: [PATCH 06/51] Prefer embedded blocks to dedup Since embedded blocks introduction 11 years ago, their writing was blocked if dedup is enabled. After searching through the modern code I see no reason for this restriction to exist. Same time embedded blocks are dramatically cheaper. Even regular write of so small blocks would likely be cheaper than deduplication, even if the last is successful, not mentioning otherwise. Reviewed-by: Allan Jude Reviewed-by: Tony Hutter Signed-off-by: Alexander Motin Sponsored by: iXsystems, Inc. Closes #17113 --- module/zfs/zio.c | 3 +-- .../cli_root/zpool_prefetch/zpool_prefetch_001_pos.ksh | 2 +- tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 9058c19084c..45174ae6cf1 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -2005,8 +2005,7 @@ zio_write_compress(zio_t *zio) compress = ZIO_COMPRESS_OFF; if (cabd != NULL) abd_free(cabd); - } else if (!zp->zp_dedup && !zp->zp_encrypt && - psize <= BPE_PAYLOAD_SIZE && + } else if (psize <= BPE_PAYLOAD_SIZE && !zp->zp_encrypt && zp->zp_level == 0 && !DMU_OT_HAS_FILL(zp->zp_type) && spa_feature_is_enabled(spa, SPA_FEATURE_EMBEDDED_DATA)) { void *cbuf = abd_borrow_buf_copy(cabd, lsize); diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/zpool_prefetch_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/zpool_prefetch_001_pos.ksh index 474f41eae8f..9e76b524c64 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/zpool_prefetch_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/zpool_prefetch_001_pos.ksh @@ -75,7 +75,7 @@ log_must zpool prefetch -t ddt $TESTPOOL # to generate a reasonable size DDT for testing purposes. DATASET=$TESTPOOL/ddt -log_must zfs create -o dedup=on $DATASET +log_must zfs create -o compression=off -o dedup=on $DATASET MNTPOINT=$(get_prop mountpoint $TESTPOOL/ddt) log_note "Generating dataset ..." diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh index b1657648b5a..aa7a7338f26 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh @@ -79,7 +79,7 @@ function do_setup log_must truncate -s 5G $VDEV_GENERAL # Use 'xattr=sa' to prevent selinux xattrs influencing our accounting log_must zpool create -o ashift=12 -f -O xattr=sa -m $MOUNTDIR $POOL $VDEV_GENERAL - log_must zfs set dedup=on $POOL + log_must zfs set compression=off dedup=on $POOL log_must set_tunable32 TXG_TIMEOUT 600 } From 0ea44e576bd45133041811b398043c2286542bae Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Thu, 13 Mar 2025 13:27:57 -0400 Subject: [PATCH 07/51] Fix deduplication of overridden blocks Implementation of DDT pruning introduced verification of DVAs in a block pointer during ddt_lookup() to not by mistake free previous pruned incarnation of the entry. But when writing a new block in zio_ddt_write() we might have the DVAs only from override pointer, which may never have "D" flag to be confused with pruned DDT entry, and we'll abandon those DVAs if we find a matching entry in DDT. This fixes deduplication for blocks written via dmu_sync() for purposes of indirect ZIL write records, that I have tested. And I suspect it might actually allow deduplication for Direct I/O, even though in an odd way -- first write block directly and then delete it later during TXG commit if found duplicate, which part I haven't tested. Reviewed-by: Tony Hutter Signed-off-by: Alexander Motin Sponsored by: iXsystems, Inc. Closes #17120 --- cmd/zdb/zdb.c | 2 +- include/sys/ddt.h | 3 ++- module/zfs/ddt.c | 15 ++++++++------- module/zfs/zio.c | 10 ++++++++-- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index d594cd112a1..1d7fe862af5 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -5864,7 +5864,7 @@ zdb_count_block(zdb_cb_t *zcb, zilog_t *zilog, const blkptr_t *bp, * Find the block. This will create the entry in memory, but * we'll know if that happened by its refcount. */ - ddt_entry_t *dde = ddt_lookup(ddt, bp); + ddt_entry_t *dde = ddt_lookup(ddt, bp, B_TRUE); /* * ddt_lookup() can return NULL if this block didn't exist diff --git a/include/sys/ddt.h b/include/sys/ddt.h index 4e5ccd46318..5afecf287f5 100644 --- a/include/sys/ddt.h +++ b/include/sys/ddt.h @@ -378,7 +378,8 @@ extern void ddt_enter(ddt_t *ddt); extern void ddt_exit(ddt_t *ddt); extern void ddt_init(void); extern void ddt_fini(void); -extern ddt_entry_t *ddt_lookup(ddt_t *ddt, const blkptr_t *bp); +extern ddt_entry_t *ddt_lookup(ddt_t *ddt, const blkptr_t *bp, + boolean_t verify); extern void ddt_remove(ddt_t *ddt, ddt_entry_t *dde); extern void ddt_prefetch(spa_t *spa, const blkptr_t *bp); extern void ddt_prefetch_all(spa_t *spa); diff --git a/module/zfs/ddt.c b/module/zfs/ddt.c index e8b9fb498d4..bc27367d844 100644 --- a/module/zfs/ddt.c +++ b/module/zfs/ddt.c @@ -1106,7 +1106,7 @@ ddt_entry_lookup_is_valid(ddt_t *ddt, const blkptr_t *bp, ddt_entry_t *dde) } ddt_entry_t * -ddt_lookup(ddt_t *ddt, const blkptr_t *bp) +ddt_lookup(ddt_t *ddt, const blkptr_t *bp, boolean_t verify) { spa_t *spa = ddt->ddt_spa; ddt_key_t search; @@ -1141,7 +1141,7 @@ ddt_lookup(ddt_t *ddt, const blkptr_t *bp) /* If it's already loaded, we can just return it. */ DDT_KSTAT_BUMP(ddt, dds_lookup_live_hit); if (dde->dde_flags & DDE_FLAG_LOADED) { - if (ddt_entry_lookup_is_valid(ddt, bp, dde)) + if (!verify || ddt_entry_lookup_is_valid(ddt, bp, dde)) return (dde); return (NULL); } @@ -1165,7 +1165,7 @@ ddt_lookup(ddt_t *ddt, const blkptr_t *bp) DDT_KSTAT_BUMP(ddt, dds_lookup_existing); /* Make sure the loaded entry matches the BP */ - if (ddt_entry_lookup_is_valid(ddt, bp, dde)) + if (!verify || ddt_entry_lookup_is_valid(ddt, bp, dde)) return (dde); return (NULL); } else @@ -1194,7 +1194,8 @@ ddt_lookup(ddt_t *ddt, const blkptr_t *bp) memcpy(dde->dde_phys, &ddlwe.ddlwe_phys, DDT_PHYS_SIZE(ddt)); /* Whatever we found isn't valid for this BP, eject */ - if (!ddt_entry_lookup_is_valid(ddt, bp, dde)) { + if (verify && + !ddt_entry_lookup_is_valid(ddt, bp, dde)) { avl_remove(&ddt->ddt_tree, dde); ddt_free(ddt, dde); return (NULL); @@ -1276,7 +1277,7 @@ ddt_lookup(ddt_t *ddt, const blkptr_t *bp) * worth the effort to deal with without taking an entry * update. */ - valid = ddt_entry_lookup_is_valid(ddt, bp, dde); + valid = !verify || ddt_entry_lookup_is_valid(ddt, bp, dde); if (!valid && dde->dde_waiters == 0) { avl_remove(&ddt->ddt_tree, dde); ddt_free(ddt, dde); @@ -2469,7 +2470,7 @@ ddt_addref(spa_t *spa, const blkptr_t *bp) ddt = ddt_select(spa, bp); ddt_enter(ddt); - dde = ddt_lookup(ddt, bp); + dde = ddt_lookup(ddt, bp, B_TRUE); /* Can be NULL if the entry for this block was pruned. */ if (dde == NULL) { @@ -2551,7 +2552,7 @@ prune_candidates_sync(void *arg, dmu_tx_t *tx) ddt_bp_create(ddt->ddt_checksum, &dpe->dpe_key, dpe->dpe_phys, DDT_PHYS_FLAT, &blk); - ddt_entry_t *dde = ddt_lookup(ddt, &blk); + ddt_entry_t *dde = ddt_lookup(ddt, &blk, B_TRUE); if (dde != NULL && !(dde->dde_flags & DDE_FLAG_LOGGED)) { ASSERT(dde->dde_flags & DDE_FLAG_LOADED); /* diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 45174ae6cf1..6d9c20e8ed8 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -3717,7 +3717,13 @@ zio_ddt_write(zio_t *zio) ASSERT3B(zio->io_prop.zp_direct_write, ==, B_FALSE); ddt_enter(ddt); - dde = ddt_lookup(ddt, bp); + /* + * Search DDT for matching entry. Skip DVAs verification here, since + * they can go only from override, and once we get here the override + * pointer can't have "D" flag to be confused with pruned DDT entries. + */ + IMPLY(zio->io_bp_override, !BP_GET_DEDUP(zio->io_bp_override)); + dde = ddt_lookup(ddt, bp, B_FALSE); if (dde == NULL) { /* DDT size is over its quota so no new entries */ zp->zp_dedup = B_FALSE; @@ -3993,7 +3999,7 @@ zio_ddt_free(zio_t *zio) ASSERT(zio->io_child_type == ZIO_CHILD_LOGICAL); ddt_enter(ddt); - freedde = dde = ddt_lookup(ddt, bp); + freedde = dde = ddt_lookup(ddt, bp, B_TRUE); if (dde) { ddt_phys_variant_t v = ddt_phys_select(ddt, dde, bp); if (v != DDT_PHYS_NONE) From 084531bcceb011b063ca332350e22dc939a3260f Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Thu, 13 Mar 2025 11:31:31 -0600 Subject: [PATCH 08/51] Update FreeBSD CI images * FreeBSD 12 is EoL. Drop it. * Use the latest FreeBSD 13 and 14 versions. * Add FreeBSD 15.0-CURRENT. * Use the current python version. Sponsored by: ConnectWise Reviewed-by: Alexander Motin Signed-off-by: Alan Somers Closes #17139 --- .cirrus.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 18b292289e2..366bb87fbb1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,16 +5,16 @@ env: build_task: matrix: freebsd_instance: - image_family: freebsd-12-4 + image_family: freebsd-13-5 freebsd_instance: - image_family: freebsd-13-2 + image_family: freebsd-14-2 freebsd_instance: - image_family: freebsd-14-0-snap + image_family: freebsd-15-0-snap prepare_script: - - pkg install -y autoconf automake libtool gettext-runtime gmake ksh93 py39-packaging py39-cffi py39-sysctl + - pkg install -y autoconf automake libtool gettext-runtime gmake ksh93 py311-packaging py311-cffi py311-sysctl configure_script: - env MAKE=gmake ./autogen.sh - - env MAKE=gmake ./configure --with-config="user" --with-python=3.9 + - env MAKE=gmake ./configure --with-config="user" --with-python=3.11 build_script: - gmake -j `sysctl -n kern.smp.cpus` install_script: From 1b495eeab37946892cde66bd5376f236b7e16394 Mon Sep 17 00:00:00 2001 From: Paul Dagnelie Date: Thu, 13 Mar 2025 10:47:03 -0700 Subject: [PATCH 09/51] FDT dedup log sync -- remove incremental This PR condenses the FDT dedup log syncing into a single sync pass. This reduces the overhead of modifying indirect blocks for the dedup table multiple times per txg. In addition, changes were made to the formula for how much to sync per txg. We now also consider the backlog we have to clear, to prevent it from growing too large, or remaining large on an idle system. Sponsored-by: Klara, Inc. Sponsored-by: iXsystems, Inc. Reviewed-by: Alexander Motin Reviewed-by: Brian Behlendorf Reviewed-by: Tony Hutter Authored-by: Don Brady Authored-by: Paul Dagnelie Signed-off-by: Paul Dagnelie Closes #17038 --- include/sys/ddt.h | 7 +- include/sys/vdev.h | 1 + include/sys/zfs_debug.h | 1 + man/man4/zfs.4 | 81 +++-- module/zfs/ddt.c | 342 +++++++++--------- module/zfs/vdev_queue.c | 10 + tests/runfiles/common.run | 4 +- tests/zfs-tests/include/tunables.cfg | 2 + tests/zfs-tests/tests/Makefile.am | 1 + .../functional/dedup/dedup_fdt_pacing.ksh | 109 ++++++ .../tests/functional/dedup/dedup_prune.ksh | 4 +- .../tests/functional/dedup/dedup_quota.ksh | 3 + .../functional/dedup/dedup_zap_shrink.ksh | 3 + 13 files changed, 366 insertions(+), 202 deletions(-) create mode 100755 tests/zfs-tests/tests/functional/dedup/dedup_fdt_pacing.ksh diff --git a/include/sys/ddt.h b/include/sys/ddt.h index 5afecf287f5..811064c09d7 100644 --- a/include/sys/ddt.h +++ b/include/sys/ddt.h @@ -285,14 +285,11 @@ typedef struct { ddt_log_t *ddt_log_active; /* pointers into ddt_log */ ddt_log_t *ddt_log_flushing; /* swapped when flush starts */ - hrtime_t ddt_flush_start; /* log flush start this txg */ - uint32_t ddt_flush_pass; /* log flush pass this txg */ - - int32_t ddt_flush_count; /* entries flushed this txg */ - int32_t ddt_flush_min; /* min rem entries to flush */ int32_t ddt_log_ingest_rate; /* rolling log ingest rate */ int32_t ddt_log_flush_rate; /* rolling log flush rate */ int32_t ddt_log_flush_time_rate; /* avg time spent flushing */ + uint32_t ddt_log_flush_pressure; /* pressure to apply for cap */ + uint32_t ddt_log_flush_prev_backlog; /* prev backlog size */ uint64_t ddt_flush_force_txg; /* flush hard before this txg */ diff --git a/include/sys/vdev.h b/include/sys/vdev.h index 6ab7ac40bb0..241b1ec82ef 100644 --- a/include/sys/vdev.h +++ b/include/sys/vdev.h @@ -171,6 +171,7 @@ extern void vdev_queue_change_io_priority(zio_t *zio, zio_priority_t priority); extern uint32_t vdev_queue_length(vdev_t *vd); extern uint64_t vdev_queue_last_offset(vdev_t *vd); extern uint64_t vdev_queue_class_length(vdev_t *vq, zio_priority_t p); +extern boolean_t vdev_queue_pool_busy(spa_t *spa); extern void vdev_config_dirty(vdev_t *vd); extern void vdev_config_clean(vdev_t *vd); diff --git a/include/sys/zfs_debug.h b/include/sys/zfs_debug.h index e509c8b7c63..428563a9126 100644 --- a/include/sys/zfs_debug.h +++ b/include/sys/zfs_debug.h @@ -59,6 +59,7 @@ extern int zfs_dbgmsg_enable; #define ZFS_DEBUG_METASLAB_ALLOC (1 << 13) #define ZFS_DEBUG_BRT (1 << 14) #define ZFS_DEBUG_RAIDZ_RECONSTRUCT (1 << 15) +#define ZFS_DEBUG_DDT (1 << 16) extern void __set_error(const char *file, const char *func, int line, int err); extern void __zfs_dbgmsg(char *buf); diff --git a/man/man4/zfs.4 b/man/man4/zfs.4 index 9d83357fcc6..5db15494281 100644 --- a/man/man4/zfs.4 +++ b/man/man4/zfs.4 @@ -1026,27 +1026,6 @@ milliseconds until the operation completes. .It Sy zfs_dedup_prefetch Ns = Ns Sy 0 Ns | Ns 1 Pq int Enable prefetching dedup-ed blocks which are going to be freed. . -.It Sy zfs_dedup_log_flush_passes_max Ns = Ns Sy 8 Ns Pq uint -Maximum number of dedup log flush passes (iterations) each transaction. -.Pp -At the start of each transaction, OpenZFS will estimate how many entries it -needs to flush out to keep up with the change rate, taking the amount and time -taken to flush on previous txgs into account (see -.Sy zfs_dedup_log_flush_flow_rate_txgs ) . -It will spread this amount into a number of passes. -At each pass, it will use the amount already flushed and the total time taken -by flushing and by other IO to recompute how much it should do for the remainder -of the txg. -.Pp -Reducing the max number of passes will make flushing more aggressive, flushing -out more entries on each pass. -This can be faster, but also more likely to compete with other IO. -Increasing the max number of passes will put fewer entries onto each pass, -keeping the overhead of dedup changes to a minimum but possibly causing a large -number of changes to be dumped on the last pass, which can blow out the txg -sync time beyond -.Sy zfs_txg_timeout . -. .It Sy zfs_dedup_log_flush_min_time_ms Ns = Ns Sy 1000 Ns Pq uint Minimum time to spend on dedup log flush each transaction. .Pp @@ -1056,22 +1035,58 @@ up to This occurs even if doing so would delay the transaction, that is, other IO completes under this time. . -.It Sy zfs_dedup_log_flush_entries_min Ns = Ns Sy 1000 Ns Pq uint +.It Sy zfs_dedup_log_flush_entries_min Ns = Ns Sy 100 Ns Pq uint Flush at least this many entries each transaction. .Pp -OpenZFS will estimate how many entries it needs to flush each transaction to -keep up with the ingest rate (see -.Sy zfs_dedup_log_flush_flow_rate_txgs ) . -This sets the minimum for that estimate. -Raising it can force OpenZFS to flush more aggressively, keeping the log small -and so reducing pool import times, but can make it less able to back off if -log flushing would compete with other IO too much. +OpenZFS will flush a fraction of the log every TXG, to keep the size +proportional to the ingest rate (see +.Sy zfs_dedup_log_flush_txgs ) . +This sets the minimum for that estimate, which prevents the backlog from +completely draining if the ingest rate falls. +Raising it can force OpenZFS to flush more aggressively, reducing the backlog +to zero more quickly, but can make it less able to back off if log +flushing would compete with other IO too much. . +.It Sy zfs_dedup_log_flush_entries_max Ns = Ns Sy UINT_MAX Ns Pq uint +Flush at most this many entries each transaction. +.Pp +Mostly used for debugging purposes. +.It Sy zfs_dedup_log_flush_txgs Ns = Ns Sy 100 Ns Pq uint +Target number of TXGs to process the whole dedup log. +.Pp +Every TXG, OpenZFS will process the inverse of this number times the size +of the DDT backlog. +This will keep the backlog at a size roughly equal to the ingest rate +times this value. +This offers a balance between a more efficient DDT log, with better +aggregation, and shorter import times, which increase as the size of the +DDT log increases. +Increasing this value will result in a more efficient DDT log, but longer +import times. +.It Sy zfs_dedup_log_cap Ns = Ns Sy UINT_MAX Ns Pq uint +Soft cap for the size of the current dedup log. +.Pp +If the log is larger than this size, we increase the aggressiveness of +the flushing to try to bring it back down to the soft cap. +Setting it will reduce import times, but will reduce the efficiency of +the DDT log, increasing the expected number of IOs required to flush the same +amount of data. +.It Sy zfs_dedup_log_hard_cap Ns = Ns Sy 0 Ns | Ns 1 Pq uint +Whether to treat the log cap as a firm cap or not. +.Pp +When set to 0 (the default), the +.Sy zfs_dedup_log_cap +will increase the maximum number of log entries we flush in a given txg. +This will bring the backlog size down towards the cap, but not at the expense +of making TXG syncs take longer. +If this is set to 1, the cap acts more like a hard cap than a soft cap; it will +also increase the minimum number of log entries we flush per TXG. +Enabling it will reduce worst-case import times, at the cost of increased TXG +sync times. .It Sy zfs_dedup_log_flush_flow_rate_txgs Ns = Ns Sy 10 Ns Pq uint Number of transactions to use to compute the flow rate. .Pp -OpenZFS will estimate how many entries it needs to flush each transaction by -monitoring the number of entries changed (ingest rate), number of entries +OpenZFS will estimate number of entries changed (ingest rate), number of entries flushed (flush rate) and time spent flushing (flush time rate) and combining these into an overall "flow rate". It will use an exponential weighted moving average over some number of recent @@ -1607,6 +1622,10 @@ _ 2048 ZFS_DEBUG_TRIM Verify TRIM ranges are always within the allocatable range tree. 4096 ZFS_DEBUG_LOG_SPACEMAP Verify that the log summary is consistent with the spacemap log and enable \fBzfs_dbgmsgs\fP for metaslab loading and flushing. + 8192 ZFS_DEBUG_METASLAB_ALLOC Enable debugging messages when allocations fail. + 16384 ZFS_DEBUG_BRT Enable BRT-related debugging messages. + 32768 ZFS_DEBUG_RAIDZ_RECONSTRUCT Enabled debugging messages for raidz reconstruction. + 65536 ZFS_DEBUG_DDT Enable DDT-related debugging messages. .TE .Sy \& * No Requires debug build . . diff --git a/module/zfs/ddt.c b/module/zfs/ddt.c index bc27367d844..aa40027c4fe 100644 --- a/module/zfs/ddt.c +++ b/module/zfs/ddt.c @@ -249,11 +249,6 @@ static uint32_t zfs_ddt_prunes_per_txg = 50000; boolean_t ddt_prune_artificial_age = B_FALSE; boolean_t ddt_dump_prune_histogram = B_FALSE; -/* - * Don't do more than this many incremental flush passes per txg. - */ -uint_t zfs_dedup_log_flush_passes_max = 8; - /* * Minimum time to flush per txg. */ @@ -262,7 +257,32 @@ uint_t zfs_dedup_log_flush_min_time_ms = 1000; /* * Minimum entries to flush per txg. */ -uint_t zfs_dedup_log_flush_entries_min = 1000; +uint_t zfs_dedup_log_flush_entries_min = 200; + +/* + * Target number of TXGs until the whole dedup log has been flushed. + * The log size will float around this value times the ingest rate. + */ +uint_t zfs_dedup_log_flush_txgs = 100; + +/* + * Maximum entries to flush per txg. Used for testing the dedup log. + */ +uint_t zfs_dedup_log_flush_entries_max = UINT_MAX; + +/* + * Soft cap for the size of the current dedup log. If the log is larger + * than this size, we slightly increase the aggressiveness of the flushing to + * try to bring it back down to the soft cap. + */ +uint_t zfs_dedup_log_cap = UINT_MAX; + +/* + * If this is set to B_TRUE, the cap above acts more like a hard cap: + * flushing is significantly more aggressive, increasing the minimum amount we + * flush per txg, as well as the maximum. + */ +boolean_t zfs_dedup_log_hard_cap = B_FALSE; /* * Number of txgs to average flow rates across. @@ -1578,6 +1598,7 @@ ddt_table_alloc(spa_t *spa, enum zio_checksum c) ddt->ddt_spa = spa; ddt->ddt_os = spa->spa_meta_objset; ddt->ddt_version = DDT_VERSION_UNCONFIGURED; + ddt->ddt_log_flush_pressure = 10; ddt_log_alloc(ddt); ddt_table_alloc_kstats(ddt); @@ -1991,146 +2012,6 @@ _ewma(int32_t val, int32_t prev, uint32_t weight) return (new); } -/* Returns true if done for this txg */ -static boolean_t -ddt_sync_flush_log_incremental(ddt_t *ddt, dmu_tx_t *tx) -{ - if (ddt->ddt_flush_pass == 0) { - if (spa_sync_pass(ddt->ddt_spa) == 1) { - /* First run this txg, get set up */ - ddt->ddt_flush_start = gethrtime(); - ddt->ddt_flush_count = 0; - - /* - * How many entries we need to flush. We want to at - * least match the ingest rate. - */ - ddt->ddt_flush_min = MAX( - ddt->ddt_log_ingest_rate, - zfs_dedup_log_flush_entries_min); - - /* - * If we've been asked to flush everything in a hurry, - * try to dump as much as possible on this txg. In - * this case we're only limited by time, not amount. - */ - if (ddt->ddt_flush_force_txg > 0) - ddt->ddt_flush_min = - MAX(ddt->ddt_flush_min, avl_numnodes( - &ddt->ddt_log_flushing->ddl_tree)); - } else { - /* We already decided we're done for this txg */ - return (B_FALSE); - } - } else if (ddt->ddt_flush_pass == spa_sync_pass(ddt->ddt_spa)) { - /* - * We already did some flushing on this pass, skip it. This - * happens when dsl_process_async_destroys() runs during a scan - * (on pass 1) and does an additional ddt_sync() to update - * freed blocks. - */ - return (B_FALSE); - } - - if (spa_sync_pass(ddt->ddt_spa) > - MAX(zfs_dedup_log_flush_passes_max, 1)) { - /* Too many passes this txg, defer until next. */ - ddt->ddt_flush_pass = 0; - return (B_TRUE); - } - - if (avl_is_empty(&ddt->ddt_log_flushing->ddl_tree)) { - /* Nothing to flush, done for this txg. */ - ddt->ddt_flush_pass = 0; - return (B_TRUE); - } - - uint64_t target_time = txg_sync_waiting(ddt->ddt_spa->spa_dsl_pool) ? - MIN(MSEC2NSEC(zfs_dedup_log_flush_min_time_ms), - SEC2NSEC(zfs_txg_timeout)) : SEC2NSEC(zfs_txg_timeout); - - uint64_t elapsed_time = gethrtime() - ddt->ddt_flush_start; - - if (elapsed_time >= target_time) { - /* Too long since we started, done for this txg. */ - ddt->ddt_flush_pass = 0; - return (B_TRUE); - } - - ddt->ddt_flush_pass++; - ASSERT3U(spa_sync_pass(ddt->ddt_spa), ==, ddt->ddt_flush_pass); - - /* - * Estimate how much time we'll need to flush the remaining entries - * based on how long it normally takes. - */ - uint32_t want_time; - if (ddt->ddt_flush_pass == 1) { - /* First pass, use the average time/entries */ - if (ddt->ddt_log_flush_rate == 0) - /* Zero rate, just assume the whole time */ - want_time = target_time; - else - want_time = ddt->ddt_flush_min * - ddt->ddt_log_flush_time_rate / - ddt->ddt_log_flush_rate; - } else { - /* Later pass, calculate from this txg so far */ - want_time = ddt->ddt_flush_min * - elapsed_time / ddt->ddt_flush_count; - } - - /* Figure out how much time we have left */ - uint32_t remain_time = target_time - elapsed_time; - - /* Smear the remaining entries over the remaining passes. */ - uint32_t nentries = ddt->ddt_flush_min / - (MAX(1, zfs_dedup_log_flush_passes_max) + 1 - ddt->ddt_flush_pass); - if (want_time > remain_time) { - /* - * We're behind; try to catch up a bit by doubling the amount - * this pass. If we're behind that means we're in a later - * pass and likely have most of the remaining time to - * ourselves. If we're in the last couple of passes, then - * doubling might just take us over the timeout, but probably - * not be much, and it stops us falling behind. If we're - * in the middle passes, there'll be more to do, but it - * might just help us catch up a bit and we'll recalculate on - * the next pass anyway. - */ - nentries = MIN(ddt->ddt_flush_min, nentries*2); - } - - ddt_lightweight_entry_t ddlwe; - uint32_t count = 0; - while (ddt_log_take_first(ddt, ddt->ddt_log_flushing, &ddlwe)) { - ddt_sync_flush_entry(ddt, &ddlwe, - ddlwe.ddlwe_type, ddlwe.ddlwe_class, tx); - - /* End this pass if we've synced as much as we need to. */ - if (++count >= nentries) - break; - } - ddt->ddt_flush_count += count; - ddt->ddt_flush_min -= count; - - if (avl_is_empty(&ddt->ddt_log_flushing->ddl_tree)) { - /* We emptied it, so truncate on-disk */ - DDT_KSTAT_ZERO(ddt, dds_log_flushing_entries); - ddt_log_truncate(ddt, tx); - /* No more passes needed this txg */ - ddt->ddt_flush_pass = 0; - } else { - /* More to do next time, save checkpoint */ - DDT_KSTAT_SUB(ddt, dds_log_flushing_entries, count); - ddt_log_checkpoint(ddt, &ddlwe, tx); - } - - ddt_sync_update_stats(ddt, tx); - - return (ddt->ddt_flush_pass == 0); -} - static inline void ddt_flush_force_update_txg(ddt_t *ddt, uint64_t txg) { @@ -2168,19 +2049,135 @@ ddt_flush_force_update_txg(ddt_t *ddt, uint64_t txg) static void ddt_sync_flush_log(ddt_t *ddt, dmu_tx_t *tx) { + spa_t *spa = ddt->ddt_spa; ASSERT(avl_is_empty(&ddt->ddt_tree)); - /* Don't do any flushing when the pool is ready to shut down */ - if (tx->tx_txg > spa_final_dirty_txg(ddt->ddt_spa)) + /* + * Don't do any flushing when the pool is ready to shut down, or in + * passes beyond the first. + */ + if (spa_sync_pass(spa) > 1 || tx->tx_txg > spa_final_dirty_txg(spa)) return; - /* Try to flush some. */ - if (!ddt_sync_flush_log_incremental(ddt, tx)) - /* More to do next time */ - return; + hrtime_t flush_start = gethrtime(); + uint32_t count = 0; - /* No more flushing this txg, so we can do end-of-txg housekeeping */ + /* + * How many entries we need to flush. We need to at + * least match the ingest rate, and also consider the + * current backlog of entries. + */ + uint64_t backlog = avl_numnodes(&ddt->ddt_log_flushing->ddl_tree) + + avl_numnodes(&ddt->ddt_log_active->ddl_tree); + if (avl_is_empty(&ddt->ddt_log_flushing->ddl_tree)) + goto housekeeping; + + uint64_t txgs = MAX(1, zfs_dedup_log_flush_txgs); + uint64_t cap = MAX(1, zfs_dedup_log_cap); + uint64_t flush_min = MAX(backlog / txgs, + zfs_dedup_log_flush_entries_min); + + /* + * The theory for this block is that if we increase the pressure while + * we're growing above the cap, and remove it when we're significantly + * below the cap, we'll stay near cap while not bouncing around too + * much. + * + * The factor of 10 is to smooth the pressure effect by expressing it + * in tenths. The addition of the cap to the backlog in the second + * block is to round up, instead of down. We never let the pressure go + * below 1 (10 tenths). + */ + if (cap != UINT_MAX && backlog > cap && + backlog > ddt->ddt_log_flush_prev_backlog) { + ddt->ddt_log_flush_pressure += 10 * backlog / cap; + } else if (cap != UINT_MAX && backlog < cap) { + ddt->ddt_log_flush_pressure -= + 11 - (((10 * backlog) + cap - 1) / cap); + ddt->ddt_log_flush_pressure = + MAX(ddt->ddt_log_flush_pressure, 10); + } + + if (zfs_dedup_log_hard_cap && cap != UINT_MAX) + flush_min = MAX(flush_min, MIN(backlog - cap, + (flush_min * ddt->ddt_log_flush_pressure) / 10)); + + uint64_t flush_max; + + /* + * If we've been asked to flush everything in a hurry, + * try to dump as much as possible on this txg. In + * this case we're only limited by time, not amount. + * + * Otherwise, if we are over the cap, try to get back down to it. + * + * Finally if there is no cap (or no pressure), just set the max a + * little higher than the min to help smooth out variations in flush + * times. + */ + if (ddt->ddt_flush_force_txg > 0) + flush_max = avl_numnodes(&ddt->ddt_log_flushing->ddl_tree); + else if (cap != UINT32_MAX && !zfs_dedup_log_hard_cap) + flush_max = MAX(flush_min * 5 / 4, MIN(backlog - cap, + (flush_min * ddt->ddt_log_flush_pressure) / 10)); + else + flush_max = flush_min * 5 / 4; + flush_max = MIN(flush_max, zfs_dedup_log_flush_entries_max); + + /* + * When the pool is busy or someone is explicitly waiting for this txg + * to complete, use the zfs_dedup_log_flush_min_time_ms. Otherwise use + * half of the time in the txg timeout. + */ + uint64_t target_time; + + if (txg_sync_waiting(ddt->ddt_spa->spa_dsl_pool) || + vdev_queue_pool_busy(spa)) { + target_time = MIN(MSEC2NSEC(zfs_dedup_log_flush_min_time_ms), + SEC2NSEC(zfs_txg_timeout) / 2); + } else { + target_time = SEC2NSEC(zfs_txg_timeout) / 2; + } + + ddt_lightweight_entry_t ddlwe; + while (ddt_log_take_first(ddt, ddt->ddt_log_flushing, &ddlwe)) { + ddt_sync_flush_entry(ddt, &ddlwe, + ddlwe.ddlwe_type, ddlwe.ddlwe_class, tx); + + /* End if we've synced as much as we needed to. */ + if (++count >= flush_max) + break; + + /* + * As long as we've flushed the absolute minimum, + * stop if we're way over our target time. + */ + uint64_t diff = gethrtime() - flush_start; + if (count > zfs_dedup_log_flush_entries_min && + diff >= target_time * 2) + break; + + /* + * End if we've passed the minimum flush and we're out of time. + */ + if (count > flush_min && diff >= target_time) + break; + } + + if (avl_is_empty(&ddt->ddt_log_flushing->ddl_tree)) { + /* We emptied it, so truncate on-disk */ + DDT_KSTAT_ZERO(ddt, dds_log_flushing_entries); + ddt_log_truncate(ddt, tx); + } else { + /* More to do next time, save checkpoint */ + DDT_KSTAT_SUB(ddt, dds_log_flushing_entries, count); + ddt_log_checkpoint(ddt, &ddlwe, tx); + } + + ddt_sync_update_stats(ddt, tx); + +housekeeping: if (avl_is_empty(&ddt->ddt_log_flushing->ddl_tree) && !avl_is_empty(&ddt->ddt_log_active->ddl_tree)) { /* @@ -2197,12 +2194,13 @@ ddt_sync_flush_log(ddt_t *ddt, dmu_tx_t *tx) /* If force flush is no longer necessary, turn it off. */ ddt_flush_force_update_txg(ddt, 0); + ddt->ddt_log_flush_prev_backlog = backlog; + /* - * Update flush rate. This is an exponential weighted moving average of - * the number of entries flushed over recent txgs. + * Update flush rate. This is an exponential weighted moving + * average of the number of entries flushed over recent txgs. */ - ddt->ddt_log_flush_rate = _ewma( - ddt->ddt_flush_count, ddt->ddt_log_flush_rate, + ddt->ddt_log_flush_rate = _ewma(count, ddt->ddt_log_flush_rate, zfs_dedup_log_flush_flow_rate_txgs); DDT_KSTAT_SET(ddt, dds_log_flush_rate, ddt->ddt_log_flush_rate); @@ -2210,12 +2208,21 @@ ddt_sync_flush_log(ddt_t *ddt, dmu_tx_t *tx) * Update flush time rate. This is an exponential weighted moving * average of the total time taken to flush over recent txgs. */ - ddt->ddt_log_flush_time_rate = _ewma( - ddt->ddt_log_flush_time_rate, - ((int32_t)(NSEC2MSEC(gethrtime() - ddt->ddt_flush_start))), + ddt->ddt_log_flush_time_rate = _ewma(ddt->ddt_log_flush_time_rate, + (int32_t)NSEC2MSEC(gethrtime() - flush_start), zfs_dedup_log_flush_flow_rate_txgs); DDT_KSTAT_SET(ddt, dds_log_flush_time_rate, ddt->ddt_log_flush_time_rate); + if (avl_numnodes(&ddt->ddt_log_flushing->ddl_tree) > 0 && + zfs_flags & ZFS_DEBUG_DDT) { + zfs_dbgmsg("%lu entries remain(%lu in active), flushed %u @ " + "txg %llu, in %llu ms, flush rate %d, time rate %d", + (ulong_t)avl_numnodes(&ddt->ddt_log_flushing->ddl_tree), + (ulong_t)avl_numnodes(&ddt->ddt_log_active->ddl_tree), + count, (u_longlong_t)tx->tx_txg, + (u_longlong_t)NSEC2MSEC(gethrtime() - flush_start), + ddt->ddt_log_flush_rate, ddt->ddt_log_flush_time_rate); + } } static void @@ -2763,14 +2770,23 @@ ddt_prune_unique_entries(spa_t *spa, zpool_ddt_prune_unit_t unit, ZFS_MODULE_PARAM(zfs_dedup, zfs_dedup_, prefetch, INT, ZMOD_RW, "Enable prefetching dedup-ed blks"); -ZFS_MODULE_PARAM(zfs_dedup, zfs_dedup_, log_flush_passes_max, UINT, ZMOD_RW, - "Max number of incremental dedup log flush passes per transaction"); - ZFS_MODULE_PARAM(zfs_dedup, zfs_dedup_, log_flush_min_time_ms, UINT, ZMOD_RW, "Min time to spend on incremental dedup log flush each transaction"); ZFS_MODULE_PARAM(zfs_dedup, zfs_dedup_, log_flush_entries_min, UINT, ZMOD_RW, "Min number of log entries to flush each transaction"); +ZFS_MODULE_PARAM(zfs_dedup, zfs_dedup_, log_flush_entries_max, UINT, ZMOD_RW, + "Max number of log entries to flush each transaction"); + +ZFS_MODULE_PARAM(zfs_dedup, zfs_dedup_, log_flush_txgs, UINT, ZMOD_RW, + "Number of TXGs to try to rotate the log in"); + +ZFS_MODULE_PARAM(zfs_dedup, zfs_dedup_, log_cap, UINT, ZMOD_RW, + "Soft cap for the size of the current dedup log"); + +ZFS_MODULE_PARAM(zfs_dedup, zfs_dedup_, log_hard_cap, UINT, ZMOD_RW, + "Whether to use the soft cap as a hard cap"); + ZFS_MODULE_PARAM(zfs_dedup, zfs_dedup_, log_flush_flow_rate_txgs, UINT, ZMOD_RW, "Number of txgs to average flow rates across"); diff --git a/module/zfs/vdev_queue.c b/module/zfs/vdev_queue.c index 092b3f375be..79d23a9b03c 100644 --- a/module/zfs/vdev_queue.c +++ b/module/zfs/vdev_queue.c @@ -1049,6 +1049,16 @@ vdev_queue_change_io_priority(zio_t *zio, zio_priority_t priority) mutex_exit(&vq->vq_lock); } +boolean_t +vdev_queue_pool_busy(spa_t *spa) +{ + dsl_pool_t *dp = spa_get_dsl(spa); + uint64_t min_bytes = zfs_dirty_data_max * + zfs_vdev_async_write_active_min_dirty_percent / 100; + + return (dp->dp_dirty_total > min_bytes); +} + /* * As these two methods are only used for load calculations we're not * concerned if we get an incorrect value on 32bit platforms due to lack of diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run index 0a48604d3cf..3f6f71fd3be 100644 --- a/tests/runfiles/common.run +++ b/tests/runfiles/common.run @@ -681,8 +681,8 @@ post = tags = ['functional', 'deadman'] [tests/functional/dedup] -tests = ['dedup_fdt_create', 'dedup_fdt_import', 'dedup_legacy_create', - 'dedup_legacy_import', 'dedup_legacy_fdt_upgrade', +tests = ['dedup_fdt_create', 'dedup_fdt_import', 'dedup_fdt_pacing', + 'dedup_legacy_create', 'dedup_legacy_import', 'dedup_legacy_fdt_upgrade', 'dedup_legacy_fdt_mixed', 'dedup_quota', 'dedup_prune', 'dedup_zap_shrink'] pre = post = diff --git a/tests/zfs-tests/include/tunables.cfg b/tests/zfs-tests/include/tunables.cfg index 2024c44cc13..0a546dd4455 100644 --- a/tests/zfs-tests/include/tunables.cfg +++ b/tests/zfs-tests/include/tunables.cfg @@ -32,6 +32,8 @@ DDT_ZAP_DEFAULT_BS dedup.ddt_zap_default_bs ddt_zap_default_bs DDT_ZAP_DEFAULT_IBS dedup.ddt_zap_default_ibs ddt_zap_default_ibs DDT_DATA_IS_SPECIAL ddt_data_is_special zfs_ddt_data_is_special DEDUP_LOG_TXG_MAX dedup.log_txg_max zfs_dedup_log_txg_max +DEDUP_LOG_FLUSH_ENTRIES_MAX dedup.log_flush_entries_max zfs_dedup_log_flush_entries_max +DEDUP_LOG_FLUSH_ENTRIES_MIN dedup.log_flush_entries_min zfs_dedup_log_flush_entries_min DEADMAN_CHECKTIME_MS deadman.checktime_ms zfs_deadman_checktime_ms DEADMAN_EVENTS_PER_SECOND deadman_events_per_second zfs_deadman_events_per_second DEADMAN_FAILMODE deadman.failmode zfs_deadman_failmode diff --git a/tests/zfs-tests/tests/Makefile.am b/tests/zfs-tests/tests/Makefile.am index d057158891b..0942082cf97 100644 --- a/tests/zfs-tests/tests/Makefile.am +++ b/tests/zfs-tests/tests/Makefile.am @@ -1440,6 +1440,7 @@ nobase_dist_datadir_zfs_tests_tests_SCRIPTS += \ functional/dedup/setup.ksh \ functional/dedup/dedup_fdt_create.ksh \ functional/dedup/dedup_fdt_import.ksh \ + functional/dedup/dedup_fdt_pacing.ksh \ functional/dedup/dedup_legacy_create.ksh \ functional/dedup/dedup_legacy_import.ksh \ functional/dedup/dedup_legacy_fdt_upgrade.ksh \ diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_fdt_pacing.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_fdt_pacing.ksh new file mode 100755 index 00000000000..8cbc93d6eb7 --- /dev/null +++ b/tests/zfs-tests/tests/functional/dedup/dedup_fdt_pacing.ksh @@ -0,0 +1,109 @@ +#!/bin/ksh -p +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or https://opensource.org/licenses/CDDL-1.0. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# + +# +# Copyright (c) 2025 Klara, Inc. +# + +# Ensure dedup log flushes are appropriately paced + +. $STF_SUITE/include/libtest.shlib + +log_assert "dedup (FDT) paces out log entries appropriately" + +function get_ddt_log_entries +{ + zdb -D $TESTPOOL | grep -- "-log-sha256-" | sed 's/.*entries=//' | \ + awk '{sum += $1} END {print sum}' +} + +function cleanup +{ + if poolexists $TESTPOOL; then + destroy_pool $TESTPOOL + fi + log_must restore_tunable DEDUP_LOG_FLUSH_ENTRIES_MAX +} + +log_onexit cleanup + +# Create a pool with fast dedup enabled. We disable block cloning to ensure +# it doesn't get in the way of dedup. +log_must zpool create -f \ + -o feature@fast_dedup=enabled \ + -o feature@block_cloning=disabled \ + $TESTPOOL $DISKS + +# Create a filesystem with a small recordsize so that we get more DDT entries, +# disable compression so our writes create predictable results on disk, and +# use 'xattr=sa' to prevent selinux xattrs influencing our accounting +log_must zfs create \ + -o dedup=on \ + -o compression=off \ + -o xattr=sa \ + -o checksum=sha256 \ + -o recordsize=4k $TESTPOOL/fs + +# Set the dedup log to only flush a single entry per txg. +# It's hard to guarantee that exactly one flush will happen per txg, or that +# we don't miss a txg due to weird latency or anything, so we build some +# wiggle room into subsequent checks. + +log_must save_tunable DEDUP_LOG_FLUSH_ENTRIES_MAX +log_must set_tunable32 DEDUP_LOG_FLUSH_ENTRIES_MAX 1 + +# Create a file. This is 256 full blocks, so will produce 256 entries in the +# dedup log. +log_must dd if=/dev/urandom of=/$TESTPOOL/fs/file1 bs=128k count=8 +sync_pool + +# Verify there are at least 240 entries in the dedup log. +log_entries=$(get_ddt_log_entries) +[[ "$log_entries" -gt 240 ]] || \ + log_fail "Fewer than 240 entries in dedup log: $log_entries" + +# Wait for 5 TXGs to sync. +for i in `seq 1 5`; do + sync_pool +done + +# Verify there are at least 220 entries in the dedup log. +log_entries2=$(get_ddt_log_entries) +[[ $((log_entries - log_entries2)) -lt 20 ]] || \ + log_fail "Too many entries pruned from dedup log: " \ + "from $log_entries to $log_entries2" +[[ $((log_entries - log_entries2)) -gt 5 ]] || \ + log_fail "Too few entries pruned from dedup log: " \ + "from $log_entries to $log_entries2" + +# Set the log flush rate high enough to clear the whole list. +log_must set_tunable32 DEDUP_LOG_FLUSH_ENTRIES_MAX 1024 +sync_pool + +# Verify there are 0 entries in the dedup log. +log_entries3=$(get_ddt_log_entries) +[[ "$log_entries3" -eq 0 ]] || \ + log_fail "Entries still present in dedup log: $log_entries3" + +# Verify there are 256 entries in the unique table. +log_must eval "zdb -D $TESTPOOL | grep -q 'DDT-sha256-zap-unique:.*entries=256'" + +log_pass "dedup (FDT) paces out log entries appropriately" diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_prune.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_prune.ksh index 44dbecafd19..36d12f7e18a 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_prune.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_prune.ksh @@ -47,13 +47,15 @@ log_assert "Verify DDT pruning correctly removes non-duplicate entries" # entries appear in the DDT ZAP log_must save_tunable DEDUP_LOG_TXG_MAX log_must set_tunable32 DEDUP_LOG_TXG_MAX 1 - +log_must save_tunable DEDUP_LOG_FLUSH_ENTRIES_MIN +log_must set_tunable32 DEDUP_LOG_FLUSH_ENTRIES_MIN 100000 function cleanup { if poolexists $TESTPOOL ; then destroy_pool $TESTPOOL fi log_must restore_tunable DEDUP_LOG_TXG_MAX + log_must restore_tunable DEDUP_LOG_FLUSH_ENTRIES_MIN } function ddt_entries diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh index aa7a7338f26..09d349e2c82 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh @@ -56,6 +56,8 @@ save_tunable TXG_TIMEOUT # where things appear on-disk log_must save_tunable DEDUP_LOG_TXG_MAX log_must set_tunable32 DEDUP_LOG_TXG_MAX 1 +log_must save_tunable DEDUP_LOG_FLUSH_ENTRIES_MIN +log_must set_tunable32 DEDUP_LOG_FLUSH_ENTRIES_MIN 100000 function cleanup { @@ -65,6 +67,7 @@ function cleanup log_must rm -fd $VDEV_GENERAL $VDEV_DEDUP $MOUNTDIR log_must restore_tunable TXG_TIMEOUT log_must restore_tunable DEDUP_LOG_TXG_MAX + log_must restore_tunable DEDUP_LOG_FLUSH_ENTRIES_MIN } diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_zap_shrink.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_zap_shrink.ksh index 5f235293774..ec6d730cf0c 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_zap_shrink.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_zap_shrink.ksh @@ -43,6 +43,8 @@ log_assert "Create a large number of entries in the DDT. " \ # entries appear in the DDT ZAP log_must save_tunable DEDUP_LOG_TXG_MAX log_must set_tunable32 DEDUP_LOG_TXG_MAX 1 +log_must save_tunable DEDUP_LOG_FLUSH_ENTRIES_MIN +log_must set_tunable32 DEDUP_LOG_FLUSH_ENTRIES_MIN 100000 function cleanup { @@ -50,6 +52,7 @@ function cleanup destroy_pool $TESTPOOL fi log_must restore_tunable DEDUP_LOG_TXG_MAX + log_must restore_tunable DEDUP_LOG_FLUSH_ENTRIES_MIN } log_onexit cleanup From 201d2629499512a2837e2f12c06aae05937d736b Mon Sep 17 00:00:00 2001 From: shodanshok Date: Thu, 13 Mar 2025 18:54:14 +0100 Subject: [PATCH 10/51] Add receive:append permission for limited receive Force receive (zfs receive -F) can rollback or destroy snapshots and file systems that do not exist on the sending side (see zfs-receive man page). This means an user having the receive permission can effectively delete data on receiving side, even if such user does not have explicit rollback or destroy permissions. This patch adds the receive:append permission, which only permits limited, non-forced receive. Behavior for users with full receive permission is not changed in any way. Fixes #16943 Reviewed-by: Ameer Hamza Reviewed-by: Alexander Motin Signed-off-by: Gionatan Danti Closes #17015 --- cmd/zfs/zfs_main.c | 1 + include/sys/dsl_deleg.h | 1 + man/man8/zfs-allow.8 | 3 +- module/zcommon/zfs_deleg.c | 1 + module/zfs/zfs_ioctl.c | 13 +++++- .../delegate/delegate_common.kshlib | 42 +++++++++++++++++++ .../functional/delegate/zfs_allow_010_pos.ksh | 5 ++- 7 files changed, 62 insertions(+), 4 deletions(-) diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c index 73ccf72d263..d8cbf8f5aa4 100644 --- a/cmd/zfs/zfs_main.c +++ b/cmd/zfs/zfs_main.c @@ -5292,6 +5292,7 @@ zfs_do_receive(int argc, char **argv) #define ZFS_DELEG_PERM_SHARE "share" #define ZFS_DELEG_PERM_SEND "send" #define ZFS_DELEG_PERM_RECEIVE "receive" +#define ZFS_DELEG_PERM_RECEIVE_APPEND "receive:append" #define ZFS_DELEG_PERM_ALLOW "allow" #define ZFS_DELEG_PERM_USERPROP "userprop" #define ZFS_DELEG_PERM_VSCAN "vscan" /* ??? */ diff --git a/include/sys/dsl_deleg.h b/include/sys/dsl_deleg.h index d6abac90bbc..0761b074506 100644 --- a/include/sys/dsl_deleg.h +++ b/include/sys/dsl_deleg.h @@ -46,6 +46,7 @@ extern "C" { #define ZFS_DELEG_PERM_SHARE "share" #define ZFS_DELEG_PERM_SEND "send" #define ZFS_DELEG_PERM_RECEIVE "receive" +#define ZFS_DELEG_PERM_RECEIVE_APPEND "receive:append" #define ZFS_DELEG_PERM_ALLOW "allow" #define ZFS_DELEG_PERM_USERPROP "userprop" #define ZFS_DELEG_PERM_VSCAN "vscan" diff --git a/man/man8/zfs-allow.8 b/man/man8/zfs-allow.8 index d26984317c2..3b65befda83 100644 --- a/man/man8/zfs-allow.8 +++ b/man/man8/zfs-allow.8 @@ -207,7 +207,7 @@ load-key subcommand Allows loading and unloading of encryption key (see \fBzfs l change-key subcommand Allows changing an encryption key via \fBzfs change-key\fR. mount subcommand Allows mounting/umounting ZFS datasets promote subcommand Must also have the \fBmount\fR and \fBpromote\fR ability in the origin file system -receive subcommand Must also have the \fBmount\fR and \fBcreate\fR ability +receive subcommand Must also have the \fBmount\fR and \fBcreate\fR ability, required for \fBzfs receive -F\fR (see also \fBreceive:append\fR for limited, non forced receive) release subcommand Allows releasing a user hold which might destroy the snapshot rename subcommand Must also have the \fBmount\fR and \fBcreate\fR ability in the new parent rollback subcommand Must also have the \fBmount\fR ability @@ -215,6 +215,7 @@ send subcommand share subcommand Allows sharing file systems over NFS or SMB protocols snapshot subcommand Must also have the \fBmount\fR ability +receive:append other Must also have the \fBmount\fR and \fBcreate\fR ability, limited receive ability (can not do receive -F) groupquota other Allows accessing any \fBgroupquota@\fI…\fR property groupobjquota other Allows accessing any \fBgroupobjquota@\fI…\fR property groupused other Allows reading any \fBgroupused@\fI…\fR property diff --git a/module/zcommon/zfs_deleg.c b/module/zcommon/zfs_deleg.c index f977c761147..05b71a9643a 100644 --- a/module/zcommon/zfs_deleg.c +++ b/module/zcommon/zfs_deleg.c @@ -52,6 +52,7 @@ const zfs_deleg_perm_tab_t zfs_deleg_perm_tab[] = { {ZFS_DELEG_PERM_MOUNT}, {ZFS_DELEG_PERM_PROMOTE}, {ZFS_DELEG_PERM_RECEIVE}, + {ZFS_DELEG_PERM_RECEIVE_APPEND}, {ZFS_DELEG_PERM_RENAME}, {ZFS_DELEG_PERM_ROLLBACK}, {ZFS_DELEG_PERM_SNAPSHOT}, diff --git a/module/zfs/zfs_ioctl.c b/module/zfs/zfs_ioctl.c index b1b0ae54460..2d1ba3c67ed 100644 --- a/module/zfs/zfs_ioctl.c +++ b/module/zfs/zfs_ioctl.c @@ -900,9 +900,18 @@ zfs_secpolicy_recv(zfs_cmd_t *zc, nvlist_t *innvl, cred_t *cr) (void) innvl; int error; + /* + * zfs receive -F requires full receive permission, + * otherwise receive:append permission is enough + */ if ((error = zfs_secpolicy_write_perms(zc->zc_name, - ZFS_DELEG_PERM_RECEIVE, cr)) != 0) - return (error); + ZFS_DELEG_PERM_RECEIVE, cr)) != 0) { + if (zc->zc_guid || nvlist_exists(innvl, "force")) + return (error); + if ((error = zfs_secpolicy_write_perms(zc->zc_name, + ZFS_DELEG_PERM_RECEIVE_APPEND, cr)) != 0) + return (error); + } if ((error = zfs_secpolicy_write_perms(zc->zc_name, ZFS_DELEG_PERM_MOUNT, cr)) != 0) diff --git a/tests/zfs-tests/tests/functional/delegate/delegate_common.kshlib b/tests/zfs-tests/tests/functional/delegate/delegate_common.kshlib index 5ddb6ca2ddc..8e628b8e438 100644 --- a/tests/zfs-tests/tests/functional/delegate/delegate_common.kshlib +++ b/tests/zfs-tests/tests/functional/delegate/delegate_common.kshlib @@ -256,6 +256,9 @@ function check_fs_perm receive) verify_fs_receive $user $perm $fs ;; + receive:append) + verify_fs_receive_append $user $perm $fs + ;; *) common_perm $user $perm $fs ;; @@ -425,6 +428,45 @@ function verify_fs_receive return 0 } +function verify_fs_receive_append +{ + typeset user=$1 + typeset perm=$2 + typeset fs=$3 + + typeset dtst + typeset stamp=${perm}.${user}.$RANDOM + typeset newfs=$fs/newfs.$stamp + typeset bak_user=$TEST_BASE_DIR/bak.$user.$stamp + + log_must zfs create $newfs + typeset dtst="$newfs" + + typeset dtstsnap=$dtst@snap.$stamp + log_must zfs snapshot $dtstsnap + + log_must eval "zfs send $dtstsnap > $bak_user" + log_must_busy zfs destroy -rf $dtst + + log_must zfs allow $user create,mount,canmount $fs + user_run $user eval "zfs receive -o canmount=off -F $dtst < $bak_user" + log_must zfs unallow $user create,mount,canmount $fs + if datasetexists $dtstsnap ; then + return 1 + fi + + log_must zfs allow $user create,mount,canmount $fs + user_run $user eval "zfs receive -o canmount=off $dtst < $bak_user" + log_must zfs unallow $user create,mount,canmount $fs + if ! datasetexists $dtstsnap ; then + return 1 + fi + + rm -rf $bak_user + + return 0 +} + function verify_userprop { typeset user=$1 diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh index 549928697ed..22406c72f82 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh @@ -86,7 +86,8 @@ set -A perms create true false \ clone true true \ promote true true \ xattr true false \ - receive true false + receive true false \ + receive:append true false elif is_freebsd; then # Results in Results in @@ -126,6 +127,7 @@ set -A perms create true false \ rename true true \ promote true true \ receive true false \ + receive:append true false \ destroy true true else @@ -160,6 +162,7 @@ set -A perms create true false \ zoned true false \ xattr true false \ receive true false \ + receive:append true false \ destroy true true if is_global_zone; then From eb9098ed47e66491b7facc8fdb8e4cb00413f00b Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sat, 4 Jan 2025 11:04:27 +1100 Subject: [PATCH 11/51] SPDX: license tags: CDDL-1.0 Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- cmd/arcstat.in | 1 + cmd/dbufstat.in | 1 + cmd/mount_zfs.c | 1 + cmd/raidz_test/raidz_bench.c | 1 + cmd/raidz_test/raidz_test.c | 1 + cmd/raidz_test/raidz_test.h | 1 + cmd/zdb/zdb.c | 1 + cmd/zdb/zdb.h | 1 + cmd/zdb/zdb_il.c | 1 + cmd/zed/agents/fmd_api.c | 1 + cmd/zed/agents/fmd_api.h | 1 + cmd/zed/agents/fmd_serd.c | 1 + cmd/zed/agents/fmd_serd.h | 1 + cmd/zed/agents/zfs_agents.c | 1 + cmd/zed/agents/zfs_agents.h | 1 + cmd/zed/agents/zfs_diagnosis.c | 1 + cmd/zed/agents/zfs_mod.c | 1 + cmd/zed/agents/zfs_retire.c | 1 + cmd/zed/zed.c | 1 + cmd/zed/zed.d/statechange-notify.sh | 1 + cmd/zed/zed.h | 1 + cmd/zed/zed_conf.c | 1 + cmd/zed/zed_conf.h | 1 + cmd/zed/zed_disk_event.c | 1 + cmd/zed/zed_disk_event.h | 1 + cmd/zed/zed_event.c | 1 + cmd/zed/zed_event.h | 1 + cmd/zed/zed_exec.c | 1 + cmd/zed/zed_exec.h | 1 + cmd/zed/zed_file.c | 1 + cmd/zed/zed_file.h | 1 + cmd/zed/zed_log.c | 1 + cmd/zed/zed_log.h | 1 + cmd/zed/zed_strings.c | 1 + cmd/zed/zed_strings.h | 1 + cmd/zfs/zfs_iter.c | 1 + cmd/zfs/zfs_iter.h | 1 + cmd/zfs/zfs_main.c | 1 + cmd/zfs/zfs_project.c | 1 + cmd/zfs/zfs_projectutil.h | 1 + cmd/zfs/zfs_util.h | 1 + cmd/zfs_ids_to_path.c | 1 + cmd/zgenhostid.c | 1 + cmd/zhack.c | 1 + cmd/zilstat.in | 1 + cmd/zinject/translate.c | 1 + cmd/zinject/zinject.c | 1 + cmd/zinject/zinject.h | 1 + cmd/zpool/os/freebsd/zpool_vdev_os.c | 1 + cmd/zpool/os/linux/zpool_vdev_os.c | 1 + cmd/zpool/zpool_iter.c | 1 + cmd/zpool/zpool_main.c | 1 + cmd/zpool/zpool_util.c | 1 + cmd/zpool/zpool_util.h | 1 + cmd/zpool/zpool_vdev.c | 1 + cmd/zpool_influxdb/zpool_influxdb.c | 1 + cmd/zstream/zstream.c | 1 + cmd/zstream/zstream.h | 1 + cmd/zstream/zstream_decompress.c | 1 + cmd/zstream/zstream_dump.c | 1 + cmd/zstream/zstream_recompress.c | 1 + cmd/zstream/zstream_redup.c | 1 + cmd/zstream/zstream_token.c | 1 + cmd/ztest.c | 1 + configure.ac | 1 + include/libnvpair.h | 1 + include/libuutil.h | 1 + include/libuutil_common.h | 1 + include/libuutil_impl.h | 1 + include/libzfs.h | 1 + include/libzfs_core.h | 1 + include/libzfsbootenv.h | 1 + include/libzutil.h | 1 + include/os/freebsd/spl/acl/acl_common.h | 1 + include/os/freebsd/spl/sys/acl.h | 1 + include/os/freebsd/spl/sys/acl_impl.h | 1 + include/os/freebsd/spl/sys/byteorder.h | 1 + include/os/freebsd/spl/sys/callb.h | 1 + include/os/freebsd/spl/sys/ccompile.h | 1 + include/os/freebsd/spl/sys/cmn_err.h | 1 + include/os/freebsd/spl/sys/cred.h | 1 + include/os/freebsd/spl/sys/ia32/asm_linkage.h | 1 + include/os/freebsd/spl/sys/idmap.h | 1 + include/os/freebsd/spl/sys/isa_defs.h | 1 + include/os/freebsd/spl/sys/list.h | 1 + include/os/freebsd/spl/sys/list_impl.h | 1 + include/os/freebsd/spl/sys/processor.h | 1 + include/os/freebsd/spl/sys/procfs_list.h | 1 + include/os/freebsd/spl/sys/sysmacros.h | 1 + include/os/freebsd/spl/sys/taskq.h | 1 + include/os/freebsd/spl/sys/uuid.h | 1 + include/os/freebsd/spl/sys/vnode_impl.h | 1 + include/os/freebsd/spl/sys/wmsum.h | 1 + include/os/freebsd/spl/sys/zmod.h | 1 + include/os/freebsd/zfs/sys/abd_impl_os.h | 1 + include/os/freebsd/zfs/sys/abd_os.h | 1 + include/os/freebsd/zfs/sys/vdev_os.h | 1 + include/os/freebsd/zfs/sys/zfs_bootenv_os.h | 1 + include/os/freebsd/zfs/sys/zfs_ctldir.h | 1 + include/os/freebsd/zfs/sys/zfs_dir.h | 1 + include/os/freebsd/zfs/sys/zfs_ioctl_compat.h | 1 + include/os/freebsd/zfs/sys/zfs_vfsops_os.h | 1 + include/os/freebsd/zfs/sys/zfs_znode_impl.h | 1 + include/os/linux/kernel/linux/blkdev_compat.h | 1 + include/os/linux/kernel/linux/compiler_compat.h | 1 + include/os/linux/kernel/linux/dcache_compat.h | 1 + include/os/linux/kernel/linux/kmap_compat.h | 1 + include/os/linux/kernel/linux/mm_compat.h | 1 + include/os/linux/kernel/linux/mod_compat.h | 1 + include/os/linux/kernel/linux/simd.h | 1 + include/os/linux/kernel/linux/simd_aarch64.h | 1 + include/os/linux/kernel/linux/simd_arm.h | 1 + include/os/linux/kernel/linux/simd_powerpc.h | 1 + include/os/linux/kernel/linux/simd_x86.h | 1 + include/os/linux/kernel/linux/utsname_compat.h | 1 + include/os/linux/kernel/linux/vfs_compat.h | 1 + include/os/linux/kernel/linux/xattr_compat.h | 1 + include/os/linux/spl/sys/errno.h | 1 + include/os/linux/spl/sys/ia32/asm_linkage.h | 1 + include/os/linux/spl/sys/misc.h | 1 + include/os/linux/spl/sys/procfs_list.h | 1 + include/os/linux/spl/sys/trace.h | 1 + include/os/linux/spl/sys/trace_spl.h | 1 + include/os/linux/spl/sys/trace_taskq.h | 1 + include/os/linux/spl/sys/wmsum.h | 1 + include/os/linux/zfs/sys/abd_impl_os.h | 1 + include/os/linux/zfs/sys/abd_os.h | 1 + include/os/linux/zfs/sys/policy.h | 1 + include/os/linux/zfs/sys/trace_acl.h | 1 + include/os/linux/zfs/sys/trace_arc.h | 1 + include/os/linux/zfs/sys/trace_common.h | 1 + include/os/linux/zfs/sys/trace_dbgmsg.h | 1 + include/os/linux/zfs/sys/trace_dbuf.h | 1 + include/os/linux/zfs/sys/trace_dmu.h | 1 + include/os/linux/zfs/sys/trace_dnode.h | 1 + include/os/linux/zfs/sys/trace_multilist.h | 1 + include/os/linux/zfs/sys/trace_rrwlock.h | 1 + include/os/linux/zfs/sys/trace_txg.h | 1 + include/os/linux/zfs/sys/trace_vdev.h | 1 + include/os/linux/zfs/sys/trace_zfs.h | 1 + include/os/linux/zfs/sys/trace_zil.h | 1 + include/os/linux/zfs/sys/trace_zio.h | 1 + include/os/linux/zfs/sys/trace_zrlock.h | 1 + include/os/linux/zfs/sys/zfs_bootenv_os.h | 1 + include/os/linux/zfs/sys/zfs_context_os.h | 1 + include/os/linux/zfs/sys/zfs_ctldir.h | 1 + include/os/linux/zfs/sys/zfs_dir.h | 1 + include/os/linux/zfs/sys/zfs_vfsops_os.h | 1 + include/os/linux/zfs/sys/zfs_vnops_os.h | 1 + include/os/linux/zfs/sys/zfs_znode_impl.h | 1 + include/os/linux/zfs/sys/zpl.h | 1 + include/sys/abd.h | 1 + include/sys/abd_impl.h | 1 + include/sys/aggsum.h | 1 + include/sys/arc.h | 1 + include/sys/arc_impl.h | 1 + include/sys/asm_linkage.h | 1 + include/sys/avl.h | 1 + include/sys/avl_impl.h | 1 + include/sys/bitmap.h | 1 + include/sys/bitops.h | 1 + include/sys/blake3.h | 1 + include/sys/blkptr.h | 1 + include/sys/bplist.h | 1 + include/sys/bpobj.h | 1 + include/sys/bptree.h | 1 + include/sys/bqueue.h | 1 + include/sys/brt.h | 1 + include/sys/brt_impl.h | 1 + include/sys/btree.h | 1 + include/sys/crypto/api.h | 1 + include/sys/crypto/common.h | 1 + include/sys/crypto/icp.h | 1 + include/sys/dataset_kstats.h | 1 + include/sys/dbuf.h | 1 + include/sys/ddt.h | 1 + include/sys/ddt_impl.h | 1 + include/sys/dmu.h | 1 + include/sys/dmu_impl.h | 1 + include/sys/dmu_objset.h | 1 + include/sys/dmu_recv.h | 1 + include/sys/dmu_redact.h | 1 + include/sys/dmu_send.h | 1 + include/sys/dmu_traverse.h | 1 + include/sys/dmu_tx.h | 1 + include/sys/dmu_zfetch.h | 1 + include/sys/dnode.h | 1 + include/sys/dsl_bookmark.h | 1 + include/sys/dsl_crypt.h | 1 + include/sys/dsl_dataset.h | 1 + include/sys/dsl_deadlist.h | 1 + include/sys/dsl_deleg.h | 1 + include/sys/dsl_destroy.h | 1 + include/sys/dsl_dir.h | 1 + include/sys/dsl_pool.h | 1 + include/sys/dsl_prop.h | 1 + include/sys/dsl_scan.h | 1 + include/sys/dsl_synctask.h | 1 + include/sys/dsl_userhold.h | 1 + include/sys/edonr.h | 1 + include/sys/efi_partition.h | 1 + include/sys/fm/fs/zfs.h | 1 + include/sys/fm/protocol.h | 1 + include/sys/fm/util.h | 1 + include/sys/frame.h | 1 + include/sys/fs/zfs.h | 1 + include/sys/hkdf.h | 1 + include/sys/metaslab.h | 1 + include/sys/metaslab_impl.h | 1 + include/sys/mmp.h | 1 + include/sys/mntent.h | 1 + include/sys/multilist.h | 1 + include/sys/nvpair.h | 1 + include/sys/nvpair_impl.h | 1 + include/sys/objlist.h | 1 + include/sys/pathname.h | 1 + include/sys/qat.h | 1 + include/sys/range_tree.h | 1 + include/sys/rrwlock.h | 1 + include/sys/sa.h | 1 + include/sys/sa_impl.h | 1 + include/sys/sha2.h | 1 + include/sys/spa.h | 1 + include/sys/spa_checkpoint.h | 1 + include/sys/spa_checksum.h | 1 + include/sys/spa_impl.h | 1 + include/sys/spa_log_spacemap.h | 1 + include/sys/space_map.h | 1 + include/sys/space_reftree.h | 1 + include/sys/sysevent.h | 1 + include/sys/sysevent/dev.h | 1 + include/sys/sysevent/eventdefs.h | 1 + include/sys/txg.h | 1 + include/sys/txg_impl.h | 1 + include/sys/u8_textprep.h | 1 + include/sys/u8_textprep_data.h | 1 + include/sys/uberblock.h | 1 + include/sys/uberblock_impl.h | 1 + include/sys/uio_impl.h | 1 + include/sys/unique.h | 1 + include/sys/uuid.h | 1 + include/sys/vdev.h | 1 + include/sys/vdev_disk.h | 1 + include/sys/vdev_draid.h | 1 + include/sys/vdev_file.h | 1 + include/sys/vdev_impl.h | 1 + include/sys/vdev_indirect_births.h | 1 + include/sys/vdev_indirect_mapping.h | 1 + include/sys/vdev_initialize.h | 1 + include/sys/vdev_raidz.h | 1 + include/sys/vdev_raidz_impl.h | 1 + include/sys/vdev_rebuild.h | 1 + include/sys/vdev_removal.h | 1 + include/sys/vdev_trim.h | 1 + include/sys/xvattr.h | 1 + include/sys/zap.h | 1 + include/sys/zap_impl.h | 1 + include/sys/zap_leaf.h | 1 + include/sys/zcp.h | 1 + include/sys/zcp_global.h | 1 + include/sys/zcp_iter.h | 1 + include/sys/zcp_prop.h | 1 + include/sys/zcp_set.h | 1 + include/sys/zfeature.h | 1 + include/sys/zfs_acl.h | 1 + include/sys/zfs_bootenv.h | 1 + include/sys/zfs_chksum.h | 1 + include/sys/zfs_context.h | 1 + include/sys/zfs_debug.h | 1 + include/sys/zfs_delay.h | 1 + include/sys/zfs_file.h | 1 + include/sys/zfs_fuid.h | 1 + include/sys/zfs_impl.h | 1 + include/sys/zfs_ioctl.h | 1 + include/sys/zfs_ioctl_impl.h | 1 + include/sys/zfs_onexit.h | 1 + include/sys/zfs_project.h | 1 + include/sys/zfs_quota.h | 1 + include/sys/zfs_racct.h | 1 + include/sys/zfs_ratelimit.h | 1 + include/sys/zfs_refcount.h | 1 + include/sys/zfs_rlock.h | 1 + include/sys/zfs_sa.h | 1 + include/sys/zfs_stat.h | 1 + include/sys/zfs_sysfs.h | 1 + include/sys/zfs_vfsops.h | 1 + include/sys/zfs_vnops.h | 1 + include/sys/zfs_znode.h | 1 + include/sys/zil.h | 1 + include/sys/zil_impl.h | 1 + include/sys/zio.h | 1 + include/sys/zio_checksum.h | 1 + include/sys/zio_compress.h | 1 + include/sys/zio_crypt.h | 1 + include/sys/zio_impl.h | 1 + include/sys/zrlock.h | 1 + include/sys/zthr.h | 1 + include/sys/zvol.h | 1 + include/sys/zvol_impl.h | 1 + include/thread_pool.h | 1 + include/zfeature_common.h | 1 + include/zfs_comutil.h | 1 + include/zfs_deleg.h | 1 + include/zfs_fletcher.h | 1 + include/zfs_namecheck.h | 1 + include/zfs_prop.h | 1 + include/zfs_valstr.h | 1 + lib/libefi/rdwr_efi.c | 1 + lib/libnvpair/libnvpair.c | 1 + lib/libnvpair/libnvpair_json.c | 1 + lib/libnvpair/nvpair_alloc_system.c | 1 + lib/libshare/libshare.c | 1 + lib/libshare/libshare_impl.h | 1 + lib/libshare/nfs.c | 1 + lib/libshare/nfs.h | 1 + lib/libshare/os/freebsd/smb.c | 1 + lib/libshare/os/linux/nfs.c | 1 + lib/libshare/os/linux/smb.c | 1 + lib/libshare/smb.h | 1 + lib/libspl/assert.c | 1 + lib/libspl/atomic.c | 1 + lib/libspl/backtrace.c | 1 + lib/libspl/getexecname.c | 1 + lib/libspl/include/assert.h | 1 + lib/libspl/include/atomic.h | 1 + lib/libspl/include/libgen.h | 1 + lib/libspl/include/libshare.h | 1 + lib/libspl/include/os/freebsd/sys/byteorder.h | 1 + lib/libspl/include/os/freebsd/sys/file.h | 1 + lib/libspl/include/os/freebsd/sys/ia32/asm_linkage.h | 1 + lib/libspl/include/os/freebsd/sys/mnttab.h | 1 + lib/libspl/include/os/freebsd/sys/mount.h | 1 + lib/libspl/include/os/freebsd/sys/param.h | 1 + lib/libspl/include/os/freebsd/sys/stat.h | 1 + lib/libspl/include/os/linux/sys/byteorder.h | 1 + lib/libspl/include/os/linux/sys/errno.h | 1 + lib/libspl/include/os/linux/sys/ia32/asm_linkage.h | 1 + lib/libspl/include/os/linux/sys/mnttab.h | 1 + lib/libspl/include/os/linux/sys/mount.h | 1 + lib/libspl/include/os/linux/sys/param.h | 1 + lib/libspl/include/os/linux/sys/stat.h | 1 + lib/libspl/include/os/linux/sys/sysmacros.h | 1 + lib/libspl/include/os/linux/sys/zfs_context_os.h | 1 + lib/libspl/include/rpc/xdr.h | 1 + lib/libspl/include/statcommon.h | 1 + lib/libspl/include/stdlib.h | 1 + lib/libspl/include/string.h | 1 + lib/libspl/include/sys/acl.h | 1 + lib/libspl/include/sys/acl_impl.h | 1 + lib/libspl/include/sys/asm_linkage.h | 1 + lib/libspl/include/sys/backtrace.h | 1 + lib/libspl/include/sys/callb.h | 1 + lib/libspl/include/sys/cmn_err.h | 1 + lib/libspl/include/sys/cred.h | 1 + lib/libspl/include/sys/debug.h | 1 + lib/libspl/include/sys/dkio.h | 1 + lib/libspl/include/sys/dklabel.h | 1 + lib/libspl/include/sys/dktp/fdisk.h | 1 + lib/libspl/include/sys/feature_tests.h | 1 + lib/libspl/include/sys/inttypes.h | 1 + lib/libspl/include/sys/isa_defs.h | 1 + lib/libspl/include/sys/kmem.h | 1 + lib/libspl/include/sys/kstat.h | 1 + lib/libspl/include/sys/list.h | 1 + lib/libspl/include/sys/list_impl.h | 1 + lib/libspl/include/sys/mhd.h | 1 + lib/libspl/include/sys/mkdev.h | 1 + lib/libspl/include/sys/policy.h | 1 + lib/libspl/include/sys/poll.h | 1 + lib/libspl/include/sys/priv.h | 1 + lib/libspl/include/sys/processor.h | 1 + lib/libspl/include/sys/simd.h | 1 + lib/libspl/include/sys/stack.h | 1 + lib/libspl/include/sys/stdtypes.h | 1 + lib/libspl/include/sys/sunddi.h | 1 + lib/libspl/include/sys/systeminfo.h | 1 + lib/libspl/include/sys/time.h | 1 + lib/libspl/include/sys/types.h | 1 + lib/libspl/include/sys/types32.h | 1 + lib/libspl/include/sys/uio.h | 1 + lib/libspl/include/sys/vnode.h | 1 + lib/libspl/include/sys/wmsum.h | 1 + lib/libspl/include/sys/zone.h | 1 + lib/libspl/include/umem.h | 1 + lib/libspl/include/unistd.h | 1 + lib/libspl/include/zone.h | 1 + lib/libspl/libspl_impl.h | 1 + lib/libspl/list.c | 1 + lib/libspl/mkdirp.c | 1 + lib/libspl/os/freebsd/getexecname.c | 1 + lib/libspl/os/freebsd/gethostid.c | 1 + lib/libspl/os/freebsd/getmntany.c | 1 + lib/libspl/os/linux/getexecname.c | 1 + lib/libspl/os/linux/gethostid.c | 1 + lib/libspl/os/linux/getmntany.c | 1 + lib/libspl/os/linux/zone.c | 1 + lib/libspl/page.c | 1 + lib/libspl/strlcat.c | 1 + lib/libspl/strlcpy.c | 1 + lib/libspl/timestamp.c | 1 + lib/libtpool/thread_pool.c | 1 + lib/libtpool/thread_pool_impl.h | 1 + lib/libuutil/uu_alloc.c | 1 + lib/libuutil/uu_avl.c | 1 + lib/libuutil/uu_ident.c | 1 + lib/libuutil/uu_list.c | 1 + lib/libuutil/uu_misc.c | 1 + lib/libuutil/uu_string.c | 1 + lib/libzfs/libzfs_changelist.c | 1 + lib/libzfs/libzfs_config.c | 1 + lib/libzfs/libzfs_crypto.c | 1 + lib/libzfs/libzfs_dataset.c | 1 + lib/libzfs/libzfs_diff.c | 1 + lib/libzfs/libzfs_impl.h | 1 + lib/libzfs/libzfs_import.c | 1 + lib/libzfs/libzfs_iter.c | 1 + lib/libzfs/libzfs_mount.c | 1 + lib/libzfs/libzfs_pool.c | 1 + lib/libzfs/libzfs_sendrecv.c | 1 + lib/libzfs/libzfs_status.c | 1 + lib/libzfs/libzfs_util.c | 1 + lib/libzfs/os/freebsd/libzfs_compat.c | 1 + lib/libzfs/os/linux/libzfs_mount_os.c | 1 + lib/libzfs/os/linux/libzfs_pool_os.c | 1 + lib/libzfs/os/linux/libzfs_util_os.c | 1 + lib/libzfs_core/libzfs_core.c | 1 + lib/libzfs_core/os/freebsd/libzfs_core_ioctl.c | 1 + lib/libzfs_core/os/linux/libzfs_core_ioctl.c | 1 + lib/libzfsbootenv/lzbe_device.c | 1 + lib/libzfsbootenv/lzbe_pair.c | 1 + lib/libzfsbootenv/lzbe_util.c | 1 + lib/libzpool/abd_os.c | 1 + lib/libzpool/arc_os.c | 1 + lib/libzpool/include/sys/abd_impl_os.h | 1 + lib/libzpool/include/sys/abd_os.h | 1 + lib/libzpool/kernel.c | 1 + lib/libzpool/taskq.c | 1 + lib/libzpool/util.c | 1 + lib/libzpool/vdev_label_os.c | 1 + lib/libzpool/zfs_debug.c | 1 + lib/libzutil/os/freebsd/zutil_device_path_os.c | 1 + lib/libzutil/os/freebsd/zutil_import_os.c | 1 + lib/libzutil/os/linux/zutil_device_path_os.c | 1 + lib/libzutil/os/linux/zutil_import_os.c | 1 + lib/libzutil/zutil_device_path.c | 1 + lib/libzutil/zutil_import.c | 1 + lib/libzutil/zutil_import.h | 1 + lib/libzutil/zutil_nicenum.c | 1 + lib/libzutil/zutil_pool.c | 1 + man/man1/arcstat.1 | 1 + man/man1/cstyle.1 | 1 + man/man1/raidz_test.1 | 1 + man/man1/test-runner.1 | 1 + man/man1/zhack.1 | 1 + man/man1/ztest.1 | 1 + man/man1/zvol_wait.1 | 1 + man/man4/spl.4 | 1 + man/man4/zfs.4 | 1 + man/man5/vdev_id.conf.5 | 1 + man/man7/dracut.zfs.7 | 1 + man/man7/vdevprops.7 | 1 + man/man7/zfsconcepts.7 | 1 + man/man7/zfsprops.7 | 1 + man/man7/zpool-features.7 | 1 + man/man7/zpoolconcepts.7 | 1 + man/man7/zpoolprops.7 | 1 + man/man8/fsck.zfs.8 | 1 + man/man8/mount.zfs.8 | 1 + man/man8/vdev_id.8 | 1 + man/man8/zdb.8 | 1 + man/man8/zed.8.in | 1 + man/man8/zfs-allow.8 | 1 + man/man8/zfs-bookmark.8 | 1 + man/man8/zfs-clone.8 | 1 + man/man8/zfs-create.8 | 1 + man/man8/zfs-destroy.8 | 1 + man/man8/zfs-diff.8 | 1 + man/man8/zfs-hold.8 | 1 + man/man8/zfs-jail.8 | 1 + man/man8/zfs-list.8 | 1 + man/man8/zfs-load-key.8 | 1 + man/man8/zfs-mount.8 | 1 + man/man8/zfs-program.8 | 1 + man/man8/zfs-project.8 | 1 + man/man8/zfs-promote.8 | 1 + man/man8/zfs-receive.8 | 1 + man/man8/zfs-rename.8 | 1 + man/man8/zfs-rollback.8 | 1 + man/man8/zfs-send.8 | 1 + man/man8/zfs-set.8 | 1 + man/man8/zfs-share.8 | 1 + man/man8/zfs-snapshot.8 | 1 + man/man8/zfs-upgrade.8 | 1 + man/man8/zfs-userspace.8 | 1 + man/man8/zfs-wait.8 | 1 + man/man8/zfs-zone.8 | 1 + man/man8/zfs.8 | 1 + man/man8/zfs_ids_to_path.8 | 1 + man/man8/zfs_prepare_disk.8.in | 1 + man/man8/zgenhostid.8 | 1 + man/man8/zinject.8 | 1 + man/man8/zpool-add.8 | 1 + man/man8/zpool-attach.8 | 1 + man/man8/zpool-checkpoint.8 | 1 + man/man8/zpool-clear.8 | 1 + man/man8/zpool-create.8 | 1 + man/man8/zpool-ddtprune.8 | 1 + man/man8/zpool-destroy.8 | 1 + man/man8/zpool-detach.8 | 1 + man/man8/zpool-events.8 | 1 + man/man8/zpool-export.8 | 1 + man/man8/zpool-get.8 | 1 + man/man8/zpool-history.8 | 1 + man/man8/zpool-import.8 | 1 + man/man8/zpool-initialize.8 | 1 + man/man8/zpool-iostat.8 | 1 + man/man8/zpool-labelclear.8 | 1 + man/man8/zpool-list.8 | 1 + man/man8/zpool-offline.8 | 1 + man/man8/zpool-prefetch.8 | 1 + man/man8/zpool-reguid.8 | 1 + man/man8/zpool-remove.8 | 1 + man/man8/zpool-reopen.8 | 1 + man/man8/zpool-replace.8 | 1 + man/man8/zpool-resilver.8 | 1 + man/man8/zpool-scrub.8 | 1 + man/man8/zpool-split.8 | 1 + man/man8/zpool-status.8 | 1 + man/man8/zpool-sync.8 | 1 + man/man8/zpool-trim.8 | 1 + man/man8/zpool-upgrade.8 | 1 + man/man8/zpool-wait.8 | 1 + man/man8/zpool.8 | 1 + man/man8/zpool_influxdb.8 | 1 + man/man8/zstream.8 | 1 + module/avl/avl.c | 1 + module/icp/algs/aes/aes_impl.c | 1 + module/icp/algs/aes/aes_impl_aesni.c | 1 + module/icp/algs/aes/aes_impl_generic.c | 1 + module/icp/algs/aes/aes_impl_x86-64.c | 1 + module/icp/algs/aes/aes_modes.c | 1 + module/icp/algs/blake3/blake3.c | 1 + module/icp/algs/blake3/blake3_generic.c | 1 + module/icp/algs/blake3/blake3_impl.c | 1 + module/icp/algs/blake3/blake3_impl.h | 1 + module/icp/algs/edonr/edonr.c | 1 + module/icp/algs/modes/ccm.c | 1 + module/icp/algs/modes/gcm.c | 1 + module/icp/algs/modes/gcm_generic.c | 1 + module/icp/algs/modes/gcm_pclmulqdq.c | 1 + module/icp/algs/modes/modes.c | 1 + module/icp/algs/sha2/sha256_impl.c | 1 + module/icp/algs/sha2/sha2_generic.c | 1 + module/icp/algs/sha2/sha512_impl.c | 1 + module/icp/api/kcf_cipher.c | 1 + module/icp/api/kcf_ctxops.c | 1 + module/icp/api/kcf_mac.c | 1 + module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S | 1 + module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S | 1 + module/icp/asm-ppc64/blake3/b3_ppc64le_sse2.S | 1 + module/icp/asm-ppc64/blake3/b3_ppc64le_sse41.S | 1 + module/icp/asm-x86_64/aes/aestab2.h | 1 + module/icp/asm-x86_64/blake3/blake3_avx2.S | 1 + module/icp/asm-x86_64/blake3/blake3_avx512.S | 1 + module/icp/asm-x86_64/blake3/blake3_sse2.S | 1 + module/icp/asm-x86_64/blake3/blake3_sse41.S | 1 + module/icp/asm-x86_64/modes/gcm_pclmulqdq.S | 1 + module/icp/core/kcf_callprov.c | 1 + module/icp/core/kcf_mech_tabs.c | 1 + module/icp/core/kcf_prov_lib.c | 1 + module/icp/core/kcf_prov_tabs.c | 1 + module/icp/core/kcf_sched.c | 1 + module/icp/illumos-crypto.c | 1 + module/icp/include/aes/aes_impl.h | 1 + module/icp/include/generic_impl.c | 1 + module/icp/include/modes/gcm_impl.h | 1 + module/icp/include/modes/modes.h | 1 + module/icp/include/sha2/sha2_impl.h | 1 + module/icp/include/sys/crypto/impl.h | 1 + module/icp/include/sys/crypto/sched_impl.h | 1 + module/icp/include/sys/crypto/spi.h | 1 + module/icp/io/aes.c | 1 + module/icp/io/sha2_mod.c | 1 + module/icp/spi/kcf_spi.c | 1 + module/lua/README.zfs | 1 + module/lua/setjmp/setjmp_i386.S | 1 + module/lua/setjmp/setjmp_x86_64.S | 1 + module/nvpair/fnvpair.c | 1 + module/nvpair/nvpair.c | 1 + module/nvpair/nvpair_alloc_fixed.c | 1 + module/nvpair/nvpair_alloc_spl.c | 1 + module/os/freebsd/spl/acl_common.c | 1 + module/os/freebsd/spl/callb.c | 1 + module/os/freebsd/spl/list.c | 1 + module/os/freebsd/spl/spl_cmn_err.c | 1 + module/os/freebsd/spl/spl_string.c | 1 + module/os/freebsd/spl/spl_uio.c | 1 + module/os/freebsd/zfs/abd_os.c | 1 + module/os/freebsd/zfs/arc_os.c | 1 + module/os/freebsd/zfs/hkdf.c | 1 + module/os/freebsd/zfs/spa_os.c | 1 + module/os/freebsd/zfs/vdev_geom.c | 1 + module/os/freebsd/zfs/vdev_label_os.c | 1 + module/os/freebsd/zfs/zfs_acl.c | 1 + module/os/freebsd/zfs/zfs_ctldir.c | 1 + module/os/freebsd/zfs/zfs_debug.c | 1 + module/os/freebsd/zfs/zfs_dir.c | 1 + module/os/freebsd/zfs/zfs_vfsops.c | 1 + module/os/freebsd/zfs/zfs_vnops_os.c | 1 + module/os/freebsd/zfs/zfs_znode_os.c | 1 + module/os/freebsd/zfs/zio_crypt.c | 1 + module/os/freebsd/zfs/zvol_os.c | 1 + module/os/linux/spl/spl-procfs-list.c | 1 + module/os/linux/spl/spl-trace.c | 1 + module/os/linux/zfs/abd_os.c | 1 + module/os/linux/zfs/arc_os.c | 1 + module/os/linux/zfs/mmp_os.c | 1 + module/os/linux/zfs/policy.c | 1 + module/os/linux/zfs/qat.c | 1 + module/os/linux/zfs/qat_compress.c | 1 + module/os/linux/zfs/qat_crypt.c | 1 + module/os/linux/zfs/spa_misc_os.c | 1 + module/os/linux/zfs/trace.c | 1 + module/os/linux/zfs/vdev_disk.c | 1 + module/os/linux/zfs/vdev_label_os.c | 1 + module/os/linux/zfs/vdev_raidz.c | 1 + module/os/linux/zfs/zfs_acl.c | 1 + module/os/linux/zfs/zfs_ctldir.c | 1 + module/os/linux/zfs/zfs_debug.c | 1 + module/os/linux/zfs/zfs_dir.c | 1 + module/os/linux/zfs/zfs_file_os.c | 1 + module/os/linux/zfs/zfs_ioctl_os.c | 1 + module/os/linux/zfs/zfs_sysfs.c | 1 + module/os/linux/zfs/zfs_uio.c | 1 + module/os/linux/zfs/zfs_vfsops.c | 1 + module/os/linux/zfs/zfs_vnops_os.c | 1 + module/os/linux/zfs/zfs_znode_os.c | 1 + module/os/linux/zfs/zio_crypt.c | 1 + module/os/linux/zfs/zpl_ctldir.c | 1 + module/os/linux/zfs/zpl_export.c | 1 + module/os/linux/zfs/zpl_file.c | 1 + module/os/linux/zfs/zpl_file_range.c | 1 + module/os/linux/zfs/zpl_inode.c | 1 + module/os/linux/zfs/zpl_super.c | 1 + module/os/linux/zfs/zpl_xattr.c | 1 + module/os/linux/zfs/zvol_os.c | 1 + module/unicode/u8_textprep.c | 1 + module/zcommon/simd_stat.c | 1 + module/zcommon/zfeature_common.c | 1 + module/zcommon/zfs_comutil.c | 1 + module/zcommon/zfs_deleg.c | 1 + module/zcommon/zfs_fletcher.c | 1 + module/zcommon/zfs_fletcher_avx512.c | 1 + module/zcommon/zfs_namecheck.c | 1 + module/zcommon/zfs_prop.c | 1 + module/zcommon/zfs_valstr.c | 1 + module/zcommon/zpool_prop.c | 1 + module/zcommon/zprop_common.c | 1 + module/zfs/abd.c | 1 + module/zfs/aggsum.c | 1 + module/zfs/arc.c | 1 + module/zfs/blake3_zfs.c | 1 + module/zfs/blkptr.c | 1 + module/zfs/bplist.c | 1 + module/zfs/bpobj.c | 1 + module/zfs/bptree.c | 1 + module/zfs/bqueue.c | 1 + module/zfs/brt.c | 1 + module/zfs/btree.c | 1 + module/zfs/dataset_kstats.c | 1 + module/zfs/dbuf.c | 1 + module/zfs/dbuf_stats.c | 1 + module/zfs/ddt.c | 1 + module/zfs/ddt_log.c | 1 + module/zfs/ddt_stats.c | 1 + module/zfs/ddt_zap.c | 1 + module/zfs/dmu.c | 1 + module/zfs/dmu_diff.c | 1 + module/zfs/dmu_direct.c | 1 + module/zfs/dmu_object.c | 1 + module/zfs/dmu_objset.c | 1 + module/zfs/dmu_recv.c | 1 + module/zfs/dmu_redact.c | 1 + module/zfs/dmu_send.c | 1 + module/zfs/dmu_traverse.c | 1 + module/zfs/dmu_tx.c | 1 + module/zfs/dmu_zfetch.c | 1 + module/zfs/dnode.c | 1 + module/zfs/dnode_sync.c | 1 + module/zfs/dsl_bookmark.c | 1 + module/zfs/dsl_crypt.c | 1 + module/zfs/dsl_dataset.c | 1 + module/zfs/dsl_deadlist.c | 1 + module/zfs/dsl_deleg.c | 1 + module/zfs/dsl_destroy.c | 1 + module/zfs/dsl_dir.c | 1 + module/zfs/dsl_pool.c | 1 + module/zfs/dsl_prop.c | 1 + module/zfs/dsl_scan.c | 1 + module/zfs/dsl_synctask.c | 1 + module/zfs/dsl_userhold.c | 1 + module/zfs/edonr_zfs.c | 1 + module/zfs/fm.c | 1 + module/zfs/gzip.c | 1 + module/zfs/hkdf.c | 1 + module/zfs/lzjb.c | 1 + module/zfs/metaslab.c | 1 + module/zfs/mmp.c | 1 + module/zfs/multilist.c | 1 + module/zfs/objlist.c | 1 + module/zfs/pathname.c | 1 + module/zfs/range_tree.c | 1 + module/zfs/refcount.c | 1 + module/zfs/rrwlock.c | 1 + module/zfs/sa.c | 1 + module/zfs/sha2_zfs.c | 1 + module/zfs/skein_zfs.c | 1 + module/zfs/spa.c | 1 + module/zfs/spa_checkpoint.c | 1 + module/zfs/spa_config.c | 1 + module/zfs/spa_errlog.c | 1 + module/zfs/spa_history.c | 1 + module/zfs/spa_log_spacemap.c | 1 + module/zfs/spa_misc.c | 1 + module/zfs/spa_stats.c | 1 + module/zfs/space_map.c | 1 + module/zfs/space_reftree.c | 1 + module/zfs/txg.c | 1 + module/zfs/uberblock.c | 1 + module/zfs/unique.c | 1 + module/zfs/vdev.c | 1 + module/zfs/vdev_draid.c | 1 + module/zfs/vdev_file.c | 1 + module/zfs/vdev_indirect.c | 1 + module/zfs/vdev_indirect_births.c | 1 + module/zfs/vdev_indirect_mapping.c | 1 + module/zfs/vdev_initialize.c | 1 + module/zfs/vdev_label.c | 1 + module/zfs/vdev_mirror.c | 1 + module/zfs/vdev_missing.c | 1 + module/zfs/vdev_queue.c | 1 + module/zfs/vdev_raidz.c | 1 + module/zfs/vdev_raidz_math.c | 1 + module/zfs/vdev_raidz_math_aarch64_neon.c | 1 + module/zfs/vdev_raidz_math_aarch64_neon_common.h | 1 + module/zfs/vdev_raidz_math_aarch64_neonx2.c | 1 + module/zfs/vdev_raidz_math_avx2.c | 1 + module/zfs/vdev_raidz_math_avx512bw.c | 1 + module/zfs/vdev_raidz_math_avx512f.c | 1 + module/zfs/vdev_raidz_math_impl.h | 1 + module/zfs/vdev_raidz_math_powerpc_altivec.c | 1 + module/zfs/vdev_raidz_math_powerpc_altivec_common.h | 1 + module/zfs/vdev_raidz_math_scalar.c | 1 + module/zfs/vdev_raidz_math_sse2.c | 1 + module/zfs/vdev_raidz_math_ssse3.c | 1 + module/zfs/vdev_rebuild.c | 1 + module/zfs/vdev_removal.c | 1 + module/zfs/vdev_root.c | 1 + module/zfs/vdev_trim.c | 1 + module/zfs/zap.c | 1 + module/zfs/zap_leaf.c | 1 + module/zfs/zap_micro.c | 1 + module/zfs/zcp.c | 1 + module/zfs/zcp_get.c | 1 + module/zfs/zcp_global.c | 1 + module/zfs/zcp_iter.c | 1 + module/zfs/zcp_set.c | 1 + module/zfs/zcp_synctask.c | 1 + module/zfs/zfeature.c | 1 + module/zfs/zfs_byteswap.c | 1 + module/zfs/zfs_chksum.c | 1 + module/zfs/zfs_fm.c | 1 + module/zfs/zfs_fuid.c | 1 + module/zfs/zfs_impl.c | 1 + module/zfs/zfs_ioctl.c | 1 + module/zfs/zfs_log.c | 1 + module/zfs/zfs_onexit.c | 1 + module/zfs/zfs_quota.c | 1 + module/zfs/zfs_ratelimit.c | 1 + module/zfs/zfs_replay.c | 1 + module/zfs/zfs_rlock.c | 1 + module/zfs/zfs_sa.c | 1 + module/zfs/zfs_vnops.c | 1 + module/zfs/zfs_znode.c | 1 + module/zfs/zil.c | 1 + module/zfs/zio.c | 1 + module/zfs/zio_checksum.c | 1 + module/zfs/zio_compress.c | 1 + module/zfs/zio_inject.c | 1 + module/zfs/zle.c | 1 + module/zfs/zrlock.c | 1 + module/zfs/zthr.c | 1 + module/zfs/zvol.c | 1 + scripts/cstyle.pl | 1 + scripts/make_gitrev.sh | 1 + scripts/zfs-tests.sh | 1 + scripts/zloop.sh | 1 + tests/runfiles/bclone.run | 1 + tests/runfiles/common.run | 1 + tests/runfiles/freebsd.run | 1 + tests/runfiles/linux.run | 1 + tests/runfiles/longevity.run | 1 + tests/runfiles/perf-regression.run | 1 + tests/runfiles/sanity.run | 1 + tests/runfiles/sunos.run | 1 + tests/test-runner/bin/test-runner.py.in | 1 + tests/test-runner/bin/zts-report.py.in | 1 + tests/test-runner/include/logapi.shlib | 1 + tests/zfs-tests/callbacks/zfs_dbgmsg.ksh | 1 + tests/zfs-tests/callbacks/zfs_dmesg.ksh | 1 + tests/zfs-tests/callbacks/zfs_mmp.ksh | 1 + tests/zfs-tests/cmd/badsend.c | 1 + tests/zfs-tests/cmd/btree_test.c | 1 + tests/zfs-tests/cmd/checksum/blake3_test.c | 1 + tests/zfs-tests/cmd/checksum/edonr_test.c | 1 + tests/zfs-tests/cmd/checksum/sha2_test.c | 1 + tests/zfs-tests/cmd/checksum/skein_test.c | 1 + tests/zfs-tests/cmd/chg_usr_exec.c | 1 + tests/zfs-tests/cmd/clone_mmap_cached.c | 1 + tests/zfs-tests/cmd/clone_mmap_write.c | 1 + tests/zfs-tests/cmd/ctime.c | 1 + tests/zfs-tests/cmd/devname2devid.c | 1 + tests/zfs-tests/cmd/dir_rd_update.c | 1 + tests/zfs-tests/cmd/draid.c | 1 + tests/zfs-tests/cmd/ereports.c | 1 + tests/zfs-tests/cmd/file/file_append.c | 1 + tests/zfs-tests/cmd/file/file_check.c | 1 + tests/zfs-tests/cmd/file/file_common.h | 1 + tests/zfs-tests/cmd/file/file_fadvise.c | 1 + tests/zfs-tests/cmd/file/file_trunc.c | 1 + tests/zfs-tests/cmd/file/file_write.c | 1 + tests/zfs-tests/cmd/file/largest_file.c | 1 + tests/zfs-tests/cmd/file/randfree_file.c | 1 + tests/zfs-tests/cmd/file/randwritecomp.c | 1 + tests/zfs-tests/cmd/get_diff.c | 1 + tests/zfs-tests/cmd/getversion.c | 1 + tests/zfs-tests/cmd/idmap_util.c | 1 + tests/zfs-tests/cmd/libzfs_input_check.c | 1 + tests/zfs-tests/cmd/linux_dos_attributes/read_dos_attributes.c | 1 + tests/zfs-tests/cmd/linux_dos_attributes/write_dos_attributes.c | 1 + tests/zfs-tests/cmd/manipulate_user_buffer.c | 1 + tests/zfs-tests/cmd/mkbusy.c | 1 + tests/zfs-tests/cmd/mkfile.c | 1 + tests/zfs-tests/cmd/mkfiles.c | 1 + tests/zfs-tests/cmd/mktree.c | 1 + tests/zfs-tests/cmd/mmap_exec.c | 1 + tests/zfs-tests/cmd/mmap_libaio.c | 1 + tests/zfs-tests/cmd/mmap_seek.c | 1 + tests/zfs-tests/cmd/mmap_sync.c | 1 + tests/zfs-tests/cmd/mmapwrite.c | 1 + tests/zfs-tests/cmd/nvlist_to_lua.c | 1 + tests/zfs-tests/cmd/readmmap.c | 1 + tests/zfs-tests/cmd/rename_dir.c | 1 + tests/zfs-tests/cmd/renameat2.c | 1 + tests/zfs-tests/cmd/rm_lnkcnt_zero_file.c | 1 + tests/zfs-tests/cmd/send_doall.c | 1 + tests/zfs-tests/cmd/stride_dd.c | 1 + tests/zfs-tests/cmd/suid_write_to_file.c | 1 + tests/zfs-tests/cmd/threadsappend.c | 1 + tests/zfs-tests/cmd/truncate_test.c | 1 + tests/zfs-tests/cmd/user_ns_exec.c | 1 + tests/zfs-tests/cmd/xattrtest.c | 1 + tests/zfs-tests/cmd/zfs_diff-socket.c | 1 + tests/zfs-tests/include/blkdev.shlib | 1 + tests/zfs-tests/include/default.cfg.in | 1 + tests/zfs-tests/include/kstat.shlib | 1 + tests/zfs-tests/include/libtest.shlib | 1 + tests/zfs-tests/include/math.shlib | 1 + tests/zfs-tests/include/properties.shlib | 1 + tests/zfs-tests/tests/functional/acl/acl.cfg | 1 + tests/zfs-tests/tests/functional/acl/acl_common.kshlib | 1 + tests/zfs-tests/tests/functional/acl/off/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/acl/off/dosmode.ksh | 1 + tests/zfs-tests/tests/functional/acl/off/posixmode.ksh | 1 + tests/zfs-tests/tests/functional/acl/off/setup.ksh | 1 + tests/zfs-tests/tests/functional/acl/posix-sa/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/acl/posix-sa/setup.ksh | 1 + tests/zfs-tests/tests/functional/acl/posix/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/acl/posix/posix_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/acl/posix/posix_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/acl/posix/posix_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/acl/posix/posix_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/acl/posix/setup.ksh | 1 + tests/zfs-tests/tests/functional/alloc_class/alloc_class.cfg | 1 + tests/zfs-tests/tests/functional/alloc_class/alloc_class.kshlib | 1 + .../tests/functional/alloc_class/alloc_class_001_pos.ksh | 1 + .../tests/functional/alloc_class/alloc_class_002_neg.ksh | 1 + .../tests/functional/alloc_class/alloc_class_003_pos.ksh | 1 + .../tests/functional/alloc_class/alloc_class_004_pos.ksh | 1 + .../tests/functional/alloc_class/alloc_class_005_pos.ksh | 1 + .../tests/functional/alloc_class/alloc_class_006_pos.ksh | 1 + .../tests/functional/alloc_class/alloc_class_007_pos.ksh | 1 + .../tests/functional/alloc_class/alloc_class_008_pos.ksh | 1 + .../tests/functional/alloc_class/alloc_class_009_pos.ksh | 1 + .../tests/functional/alloc_class/alloc_class_010_pos.ksh | 1 + .../tests/functional/alloc_class/alloc_class_011_neg.ksh | 1 + .../tests/functional/alloc_class/alloc_class_012_pos.ksh | 1 + .../tests/functional/alloc_class/alloc_class_013_pos.ksh | 1 + .../tests/functional/alloc_class/alloc_class_014_neg.ksh | 1 + .../tests/functional/alloc_class/alloc_class_015_pos.ksh | 1 + tests/zfs-tests/tests/functional/alloc_class/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/alloc_class/setup.ksh | 1 + tests/zfs-tests/tests/functional/append/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/append/file_append.ksh | 1 + tests/zfs-tests/tests/functional/append/setup.ksh | 1 + .../zfs-tests/tests/functional/append/threadsappend_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/arc/arcstats_runtime_tuning.ksh | 1 + tests/zfs-tests/tests/functional/arc/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/arc/dbufstats_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/arc/dbufstats_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/arc/dbufstats_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/arc/setup.ksh | 1 + tests/zfs-tests/tests/functional/atime/atime.cfg | 1 + tests/zfs-tests/tests/functional/atime/atime_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/atime/atime_002_neg.ksh | 1 + tests/zfs-tests/tests/functional/atime/atime_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/atime/atime_common.kshlib | 1 + tests/zfs-tests/tests/functional/atime/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/atime/root_atime_off.ksh | 1 + tests/zfs-tests/tests/functional/atime/root_atime_on.ksh | 1 + tests/zfs-tests/tests/functional/atime/root_relatime_on.ksh | 1 + tests/zfs-tests/tests/functional/atime/setup.ksh | 1 + tests/zfs-tests/tests/functional/bclone/bclone.cfg | 1 + tests/zfs-tests/tests/functional/bclone/bclone_common.kshlib | 1 + .../zfs-tests/tests/functional/bclone/bclone_corner_cases.kshlib | 1 + .../tests/functional/bclone/bclone_crossfs_corner_cases.ksh | 1 + .../functional/bclone/bclone_crossfs_corner_cases_limited.ksh | 1 + tests/zfs-tests/tests/functional/bclone/bclone_crossfs_data.ksh | 1 + .../tests/functional/bclone/bclone_crossfs_embedded.ksh | 1 + tests/zfs-tests/tests/functional/bclone/bclone_crossfs_hole.ksh | 1 + tests/zfs-tests/tests/functional/bclone/bclone_diffprops_all.ksh | 1 + .../tests/functional/bclone/bclone_diffprops_checksum.ksh | 1 + .../tests/functional/bclone/bclone_diffprops_compress.ksh | 1 + .../tests/functional/bclone/bclone_diffprops_copies.ksh | 1 + .../tests/functional/bclone/bclone_diffprops_recordsize.ksh | 1 + tests/zfs-tests/tests/functional/bclone/bclone_prop_sync.ksh | 1 + .../tests/functional/bclone/bclone_samefs_corner_cases.ksh | 1 + .../functional/bclone/bclone_samefs_corner_cases_limited.ksh | 1 + tests/zfs-tests/tests/functional/bclone/bclone_samefs_data.ksh | 1 + .../zfs-tests/tests/functional/bclone/bclone_samefs_embedded.ksh | 1 + tests/zfs-tests/tests/functional/bclone/bclone_samefs_hole.ksh | 1 + tests/zfs-tests/tests/functional/bclone/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/bclone/setup.ksh | 1 + .../tests/functional/block_cloning/block_cloning.kshlib | 1 + .../functional/block_cloning/block_cloning_clone_mmap_cached.ksh | 1 + .../functional/block_cloning/block_cloning_clone_mmap_write.ksh | 1 + .../functional/block_cloning/block_cloning_copyfilerange.ksh | 1 + .../block_cloning/block_cloning_copyfilerange_cross_dataset.ksh | 1 + .../block_cloning/block_cloning_copyfilerange_fallback.ksh | 1 + .../block_cloning_copyfilerange_fallback_same_txg.ksh | 1 + .../block_cloning/block_cloning_copyfilerange_partial.ksh | 1 + .../functional/block_cloning/block_cloning_cross_enc_dataset.ksh | 1 + .../block_cloning/block_cloning_disabled_copyfilerange.ksh | 1 + .../functional/block_cloning/block_cloning_disabled_ficlone.ksh | 1 + .../block_cloning/block_cloning_disabled_ficlonerange.ksh | 1 + .../tests/functional/block_cloning/block_cloning_ficlone.ksh | 1 + .../functional/block_cloning/block_cloning_ficlonerange.ksh | 1 + .../block_cloning/block_cloning_ficlonerange_partial.ksh | 1 + .../functional/block_cloning/block_cloning_large_offset.ksh | 1 + .../block_cloning/block_cloning_lwb_buffer_overflow.ksh | 1 + .../tests/functional/block_cloning/block_cloning_replay.ksh | 1 + .../functional/block_cloning/block_cloning_replay_encrypted.ksh | 1 + .../functional/block_cloning/block_cloning_rlimit_fsize.ksh | 1 + tests/zfs-tests/tests/functional/block_cloning/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/block_cloning/setup.ksh | 1 + tests/zfs-tests/tests/functional/bootfs/bootfs_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/bootfs/bootfs_002_neg.ksh | 1 + tests/zfs-tests/tests/functional/bootfs/bootfs_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/bootfs/bootfs_004_neg.ksh | 1 + tests/zfs-tests/tests/functional/bootfs/bootfs_005_neg.ksh | 1 + tests/zfs-tests/tests/functional/bootfs/bootfs_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/bootfs/bootfs_007_pos.ksh | 1 + tests/zfs-tests/tests/functional/bootfs/bootfs_008_pos.ksh | 1 + tests/zfs-tests/tests/functional/bootfs/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/bootfs/setup.ksh | 1 + tests/zfs-tests/tests/functional/btree/btree_negative.ksh | 1 + tests/zfs-tests/tests/functional/btree/btree_positive.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache.cfg | 1 + tests/zfs-tests/tests/functional/cache/cache.kshlib | 1 + tests/zfs-tests/tests/functional/cache/cache_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache_004_neg.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache_005_neg.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache_007_neg.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache_008_neg.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache_009_pos.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache_010_pos.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache_011_pos.ksh | 1 + tests/zfs-tests/tests/functional/cache/cache_012_pos.ksh | 1 + tests/zfs-tests/tests/functional/cache/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cache/setup.ksh | 1 + tests/zfs-tests/tests/functional/cachefile/cachefile.cfg | 1 + tests/zfs-tests/tests/functional/cachefile/cachefile.kshlib | 1 + tests/zfs-tests/tests/functional/cachefile/cachefile_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/cachefile/cachefile_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/cachefile/cachefile_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/cachefile/cachefile_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/cachefile/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cachefile/setup.ksh | 1 + tests/zfs-tests/tests/functional/casenorm/case_all_values.ksh | 1 + tests/zfs-tests/tests/functional/casenorm/casenorm.cfg | 1 + tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib | 1 + tests/zfs-tests/tests/functional/casenorm/cleanup.ksh | 1 + .../tests/functional/casenorm/insensitive_formd_delete.ksh | 1 + .../tests/functional/casenorm/insensitive_formd_lookup.ksh | 1 + .../tests/functional/casenorm/insensitive_none_delete.ksh | 1 + .../tests/functional/casenorm/insensitive_none_lookup.ksh | 1 + .../zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh | 1 + tests/zfs-tests/tests/functional/casenorm/mixed_formd_delete.ksh | 1 + tests/zfs-tests/tests/functional/casenorm/mixed_formd_lookup.ksh | 1 + .../tests/functional/casenorm/mixed_formd_lookup_ci.ksh | 1 + tests/zfs-tests/tests/functional/casenorm/mixed_none_delete.ksh | 1 + tests/zfs-tests/tests/functional/casenorm/mixed_none_lookup.ksh | 1 + .../zfs-tests/tests/functional/casenorm/mixed_none_lookup_ci.ksh | 1 + tests/zfs-tests/tests/functional/casenorm/norm_all_values.ksh | 1 + .../tests/functional/casenorm/sensitive_formd_delete.ksh | 1 + .../tests/functional/casenorm/sensitive_formd_lookup.ksh | 1 + .../tests/functional/casenorm/sensitive_none_delete.ksh | 1 + .../tests/functional/casenorm/sensitive_none_lookup.ksh | 1 + tests/zfs-tests/tests/functional/casenorm/setup.ksh | 1 + .../tests/functional/channel_program/channel_common.kshlib | 1 + .../tests/functional/channel_program/lua_core/cleanup.ksh | 1 + .../tests/functional/channel_program/lua_core/setup.ksh | 1 + .../functional/channel_program/lua_core/tst.args_to_lua.ksh | 1 + .../functional/channel_program/lua_core/tst.args_to_lua.zcp | 1 + .../functional/channel_program/lua_core/tst.divide_by_zero.ksh | 1 + .../functional/channel_program/lua_core/tst.divide_by_zero.zcp | 1 + .../tests/functional/channel_program/lua_core/tst.exists.ksh | 1 + .../tests/functional/channel_program/lua_core/tst.exists.zcp | 1 + .../functional/channel_program/lua_core/tst.integer_illegal.ksh | 1 + .../functional/channel_program/lua_core/tst.integer_overflow.ksh | 1 + .../channel_program/lua_core/tst.language_functions_neg.ksh | 1 + .../channel_program/lua_core/tst.language_functions_pos.ksh | 1 + .../tests/functional/channel_program/lua_core/tst.large_prog.ksh | 1 + .../tests/functional/channel_program/lua_core/tst.large_prog.zcp | 1 + .../tests/functional/channel_program/lua_core/tst.libraries.ksh | 1 + .../functional/channel_program/lua_core/tst.memory_limit.ksh | 1 + .../tests/functional/channel_program/lua_core/tst.nested_neg.ksh | 1 + .../tests/functional/channel_program/lua_core/tst.nested_neg.zcp | 1 + .../tests/functional/channel_program/lua_core/tst.nested_pos.ksh | 1 + .../tests/functional/channel_program/lua_core/tst.nested_pos.zcp | 1 + .../functional/channel_program/lua_core/tst.nvlist_to_lua.ksh | 1 + .../tests/functional/channel_program/lua_core/tst.recursive.zcp | 1 + .../functional/channel_program/lua_core/tst.recursive_neg.ksh | 1 + .../functional/channel_program/lua_core/tst.recursive_pos.ksh | 1 + .../functional/channel_program/lua_core/tst.return_large.ksh | 1 + .../functional/channel_program/lua_core/tst.return_large.zcp | 1 + .../channel_program/lua_core/tst.return_nvlist_neg.ksh | 1 + .../channel_program/lua_core/tst.return_nvlist_pos.ksh | 1 + .../channel_program/lua_core/tst.return_recursive_table.ksh | 1 + .../channel_program/lua_core/tst.return_recursive_table.zcp | 1 + .../tests/functional/channel_program/lua_core/tst.stack_gsub.ksh | 1 + .../tests/functional/channel_program/lua_core/tst.stack_gsub.zcp | 1 + .../tests/functional/channel_program/lua_core/tst.timeout.ksh | 1 + .../tests/functional/channel_program/lua_core/tst.timeout.zcp | 1 + .../tests/functional/channel_program/synctask_core/cleanup.ksh | 1 + .../tests/functional/channel_program/synctask_core/setup.ksh | 1 + .../channel_program/synctask_core/tst.bookmark.copy.ksh | 1 + .../channel_program/synctask_core/tst.bookmark.copy.zcp | 1 + .../channel_program/synctask_core/tst.bookmark.create.ksh | 1 + .../channel_program/synctask_core/tst.bookmark.create.zcp | 1 + .../functional/channel_program/synctask_core/tst.destroy_fs.ksh | 1 + .../channel_program/synctask_core/tst.destroy_snap.ksh | 1 + .../channel_program/synctask_core/tst.get_count_and_limit.ksh | 1 + .../channel_program/synctask_core/tst.get_index_props.ksh | 1 + .../channel_program/synctask_core/tst.get_index_props.zcp | 1 + .../channel_program/synctask_core/tst.get_mountpoint.ksh | 1 + .../functional/channel_program/synctask_core/tst.get_neg.ksh | 1 + .../channel_program/synctask_core/tst.get_number_props.ksh | 1 + .../channel_program/synctask_core/tst.get_number_props.zcp | 1 + .../channel_program/synctask_core/tst.get_string_props.ksh | 1 + .../channel_program/synctask_core/tst.get_string_props.zcp | 1 + .../functional/channel_program/synctask_core/tst.get_type.ksh | 1 + .../channel_program/synctask_core/tst.get_userquota.ksh | 1 + .../functional/channel_program/synctask_core/tst.get_written.ksh | 1 + .../functional/channel_program/synctask_core/tst.inherit.ksh | 1 + .../channel_program/synctask_core/tst.list_bookmarks.ksh | 1 + .../channel_program/synctask_core/tst.list_children.ksh | 1 + .../functional/channel_program/synctask_core/tst.list_clones.ksh | 1 + .../functional/channel_program/synctask_core/tst.list_holds.ksh | 1 + .../channel_program/synctask_core/tst.list_snapshots.ksh | 1 + .../channel_program/synctask_core/tst.list_system_props.ksh | 1 + .../channel_program/synctask_core/tst.list_user_props.ksh | 1 + .../channel_program/synctask_core/tst.parse_args_neg.ksh | 1 + .../channel_program/synctask_core/tst.promote_conflict.ksh | 1 + .../channel_program/synctask_core/tst.promote_conflict.zcp | 1 + .../channel_program/synctask_core/tst.promote_multiple.ksh | 1 + .../channel_program/synctask_core/tst.promote_simple.ksh | 1 + .../channel_program/synctask_core/tst.rollback_mult.ksh | 1 + .../channel_program/synctask_core/tst.rollback_one.ksh | 1 + .../functional/channel_program/synctask_core/tst.set_props.ksh | 1 + .../functional/channel_program/synctask_core/tst.set_props.zcp | 1 + .../channel_program/synctask_core/tst.snapshot_destroy.ksh | 1 + .../channel_program/synctask_core/tst.snapshot_destroy.zcp | 1 + .../channel_program/synctask_core/tst.snapshot_neg.ksh | 1 + .../channel_program/synctask_core/tst.snapshot_neg.zcp | 1 + .../channel_program/synctask_core/tst.snapshot_recursive.ksh | 1 + .../channel_program/synctask_core/tst.snapshot_recursive.zcp | 1 + .../channel_program/synctask_core/tst.snapshot_rename.ksh | 1 + .../channel_program/synctask_core/tst.snapshot_rename.zcp | 1 + .../channel_program/synctask_core/tst.snapshot_simple.ksh | 1 + .../channel_program/synctask_core/tst.snapshot_simple.zcp | 1 + .../channel_program/synctask_core/tst.terminate_by_signal.ksh | 1 + tests/zfs-tests/tests/functional/chattr/chattr_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/chattr/chattr_002_neg.ksh | 1 + tests/zfs-tests/tests/functional/chattr/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/chattr/setup.ksh | 1 + tests/zfs-tests/tests/functional/checksum/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/checksum/default.cfg | 1 + tests/zfs-tests/tests/functional/checksum/filetest_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/checksum/filetest_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/checksum/run_blake3_test.ksh | 1 + tests/zfs-tests/tests/functional/checksum/run_edonr_test.ksh | 1 + tests/zfs-tests/tests/functional/checksum/run_sha2_test.ksh | 1 + tests/zfs-tests/tests/functional/checksum/run_skein_test.ksh | 1 + tests/zfs-tests/tests/functional/checksum/setup.ksh | 1 + .../tests/functional/clean_mirror/clean_mirror_001_pos.ksh | 1 + .../tests/functional/clean_mirror/clean_mirror_002_pos.ksh | 1 + .../tests/functional/clean_mirror/clean_mirror_003_pos.ksh | 1 + .../tests/functional/clean_mirror/clean_mirror_004_pos.ksh | 1 + .../tests/functional/clean_mirror/clean_mirror_common.kshlib | 1 + tests/zfs-tests/tests/functional/clean_mirror/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/clean_mirror/default.cfg | 1 + tests/zfs-tests/tests/functional/clean_mirror/setup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/cli_common.kshlib | 1 + tests/zfs-tests/tests/functional/cli_root/json/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/json/json_sanity.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/json/setup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_neg.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_backup.ksh | 1 + .../tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_checksum.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress.ksh | 1 + .../tests/functional/cli_root/zdb/zdb_decompress_zstd.ksh | 1 + .../tests/functional/cli_root/zdb/zdb_display_block.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_encrypted.ksh | 1 + .../tests/functional/cli_root/zdb/zdb_label_checksum.ksh | 1 + .../tests/functional/cli_root/zdb/zdb_object_range_neg.ksh | 1 + .../tests/functional/cli_root/zdb/zdb_object_range_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_objset_id.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_recover.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zdb/zdb_recover_2.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs/setup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs/zfs_001_neg.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs/zfs_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs/zfs_003_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_bookmark/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/setup.ksh | 1 + .../functional/cli_root/zfs_bookmark/zfs_bookmark_cliargs.ksh | 1 + .../tests/functional/cli_root/zfs_change-key/cleanup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_change-key/setup.ksh | 1 + .../tests/functional/cli_root/zfs_change-key/zfs_change-key.ksh | 1 + .../functional/cli_root/zfs_change-key/zfs_change-key_child.ksh | 1 + .../functional/cli_root/zfs_change-key/zfs_change-key_clones.ksh | 1 + .../functional/cli_root/zfs_change-key/zfs_change-key_format.ksh | 1 + .../cli_root/zfs_change-key/zfs_change-key_inherit.ksh | 1 + .../functional/cli_root/zfs_change-key/zfs_change-key_load.ksh | 1 + .../cli_root/zfs_change-key/zfs_change-key_location.ksh | 1 + .../cli_root/zfs_change-key/zfs_change-key_pbkdf2iters.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_clone/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_clone/setup.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_001_neg.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_002_pos.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_003_pos.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_004_pos.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_005_pos.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_006_pos.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_007_pos.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_008_neg.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_009_neg.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh | 1 + .../functional/cli_root/zfs_clone/zfs_clone_deeply_nested.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_encrypted.ksh | 1 + .../tests/functional/cli_root/zfs_clone/zfs_clone_rm_nested.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_copies/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_copies/setup.ksh | 1 + .../tests/functional/cli_root/zfs_copies/zfs_copies.cfg | 1 + .../tests/functional/cli_root/zfs_copies/zfs_copies.kshlib | 1 + .../tests/functional/cli_root/zfs_copies/zfs_copies_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh | 1 + .../tests/functional/cli_root/zfs_copies/zfs_copies_003_pos.ksh | 1 + .../tests/functional/cli_root/zfs_copies/zfs_copies_004_neg.ksh | 1 + .../tests/functional/cli_root/zfs_copies/zfs_copies_005_neg.ksh | 1 + .../tests/functional/cli_root/zfs_copies/zfs_copies_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_create/cleanup.ksh | 1 + .../tests/functional/cli_root/zfs_create/properties.kshlib | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_create/setup.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create.cfg | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_002_pos.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_004_pos.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_005_pos.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_007_pos.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_008_neg.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_011_pos.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_012_pos.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_014_pos.ksh | 1 + .../functional/cli_root/zfs_create/zfs_create_common.kshlib | 1 + .../functional/cli_root/zfs_create/zfs_create_crypt_combos.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_dryrun.ksh | 1 + .../functional/cli_root/zfs_create/zfs_create_encrypted.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_nomount.ksh | 1 + .../tests/functional/cli_root/zfs_create/zfs_create_verbose.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_destroy/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_destroy/setup.ksh | 1 + .../zfs_destroy/zfs_clone_livelist_condense_and_disable.ksh | 1 + .../cli_root/zfs_destroy/zfs_clone_livelist_condense_races.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_clone_livelist_dedup.ksh | 1 + .../tests/functional/cli_root/zfs_destroy/zfs_destroy.cfg | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_001_pos.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_002_pos.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_003_pos.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_004_pos.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_005_neg.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_006_neg.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_007_neg.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_008_pos.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_009_pos.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_010_pos.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_011_pos.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_012_pos.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_013_neg.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_014_pos.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_015_pos.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_016_pos.ksh | 1 + .../cli_root/zfs_destroy/zfs_destroy_clone_livelist.ksh | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_common.kshlib | 1 + .../functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh | 1 + .../cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_diff/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_diff/setup.ksh | 1 + .../tests/functional/cli_root/zfs_diff/zfs_diff_changes.ksh | 1 + .../tests/functional/cli_root/zfs_diff/zfs_diff_cliargs.ksh | 1 + .../tests/functional/cli_root/zfs_diff/zfs_diff_encrypted.ksh | 1 + .../tests/functional/cli_root/zfs_diff/zfs_diff_mangle.ksh | 1 + .../tests/functional/cli_root/zfs_diff/zfs_diff_timestamp.ksh | 1 + .../tests/functional/cli_root/zfs_diff/zfs_diff_types.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_get/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_get/setup.ksh | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_002_pos.ksh | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_003_pos.ksh | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_004_pos.ksh | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_005_neg.ksh | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_006_neg.ksh | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_007_neg.ksh | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_008_pos.ksh | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_009_pos.ksh | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_010_neg.ksh | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_common.kshlib | 1 + .../tests/functional/cli_root/zfs_get/zfs_get_list_d.kshlib | 1 + .../tests/functional/cli_root/zfs_ids_to_path/cleanup.ksh | 1 + .../tests/functional/cli_root/zfs_ids_to_path/setup.ksh | 1 + .../cli_root/zfs_ids_to_path/zfs_ids_to_path_001_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_inherit/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_inherit/setup.ksh | 1 + .../functional/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh | 1 + .../functional/cli_root/zfs_inherit/zfs_inherit_002_neg.ksh | 1 + .../functional/cli_root/zfs_inherit/zfs_inherit_003_pos.ksh | 1 + .../functional/cli_root/zfs_inherit/zfs_inherit_mountpoint.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_jail/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_jail/setup.ksh | 1 + .../tests/functional/cli_root/zfs_jail/zfs_jail_001_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_load-key/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_load-key/setup.ksh | 1 + .../tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg | 1 + .../tests/functional/cli_root/zfs_load-key/zfs_load-key.ksh | 1 + .../tests/functional/cli_root/zfs_load-key/zfs_load-key_all.ksh | 1 + .../functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib | 1 + .../tests/functional/cli_root/zfs_load-key/zfs_load-key_file.ksh | 1 + .../functional/cli_root/zfs_load-key/zfs_load-key_https.ksh | 1 + .../functional/cli_root/zfs_load-key/zfs_load-key_location.ksh | 1 + .../tests/functional/cli_root/zfs_load-key/zfs_load-key_noop.ksh | 1 + .../functional/cli_root/zfs_load-key/zfs_load-key_recursive.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_mount/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_mount/setup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.cfg | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount.kshlib | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_002_pos.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_003_pos.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_004_pos.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_005_pos.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_006_pos.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_007_pos.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_008_pos.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_009_neg.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_010_neg.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_011_neg.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_012_pos.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_013_pos.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_014_neg.ksh | 1 + .../functional/cli_root/zfs_mount/zfs_mount_all_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh | 1 + .../functional/cli_root/zfs_mount/zfs_mount_all_mountpoints.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_encrypted.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_recursive.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh | 1 + .../tests/functional/cli_root/zfs_mount/zfs_multi_mount.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_program/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_program/setup.ksh | 1 + .../tests/functional/cli_root/zfs_program/zfs_program_json.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_promote/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_promote/setup.ksh | 1 + .../tests/functional/cli_root/zfs_promote/zfs_promote.cfg | 1 + .../functional/cli_root/zfs_promote/zfs_promote_001_pos.ksh | 1 + .../functional/cli_root/zfs_promote/zfs_promote_002_pos.ksh | 1 + .../functional/cli_root/zfs_promote/zfs_promote_003_pos.ksh | 1 + .../functional/cli_root/zfs_promote/zfs_promote_004_pos.ksh | 1 + .../functional/cli_root/zfs_promote/zfs_promote_005_pos.ksh | 1 + .../functional/cli_root/zfs_promote/zfs_promote_006_neg.ksh | 1 + .../functional/cli_root/zfs_promote/zfs_promote_007_neg.ksh | 1 + .../functional/cli_root/zfs_promote/zfs_promote_008_pos.ksh | 1 + .../cli_root/zfs_promote/zfs_promote_encryptionroot.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_property/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_property/setup.ksh | 1 + .../cli_root/zfs_property/zfs_written_property_001_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_receive/cleanup.ksh | 1 + .../cli_root/zfs_receive/receive-o-x_props_aliases.ksh | 1 + .../cli_root/zfs_receive/receive-o-x_props_override.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_receive/setup.ksh | 1 + .../tests/functional/cli_root/zfs_receive/zfs_receive_-e.ksh | 1 + .../cli_root/zfs_receive/zfs_receive_-wR-encrypted-mix.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_001_pos.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_002_pos.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_003_pos.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_004_neg.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_005_neg.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_006_pos.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_007_neg.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_008_pos.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_009_neg.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_010_pos.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_011_pos.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_012_pos.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_013_pos.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_014_pos.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_015_pos.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_016_pos.ksh | 1 + .../cli_root/zfs_receive/zfs_receive_compressed_corrective.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_corrective.ksh | 1 + .../cli_root/zfs_receive/zfs_receive_from_encrypted.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_from_zstd.ksh | 1 + .../cli_root/zfs_receive/zfs_receive_large_block_corrective.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_new_props.ksh | 1 + .../tests/functional/cli_root/zfs_receive/zfs_receive_raw.ksh | 1 + .../tests/functional/cli_root/zfs_receive/zfs_receive_raw_-d.ksh | 1 + .../cli_root/zfs_receive/zfs_receive_raw_incremental.ksh | 1 + .../functional/cli_root/zfs_receive/zfs_receive_to_encrypted.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_rename/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_rename/setup.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename.cfg | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename.kshlib | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_002_pos.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_003_pos.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_004_neg.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_005_neg.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_006_pos.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_007_pos.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_008_pos.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_009_neg.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_010_neg.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_011_pos.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_012_neg.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_013_pos.ksh | 1 + .../tests/functional/cli_root/zfs_rename/zfs_rename_014_neg.ksh | 1 + .../cli_root/zfs_rename/zfs_rename_encrypted_child.ksh | 1 + .../functional/cli_root/zfs_rename/zfs_rename_mountpoint.ksh | 1 + .../functional/cli_root/zfs_rename/zfs_rename_nounmount.ksh | 1 + .../functional/cli_root/zfs_rename/zfs_rename_to_encrypted.ksh | 1 + .../tests/functional/cli_root/zfs_reservation/cleanup.ksh | 1 + .../tests/functional/cli_root/zfs_reservation/setup.ksh | 1 + .../cli_root/zfs_reservation/zfs_reservation_001_pos.ksh | 1 + .../cli_root/zfs_reservation/zfs_reservation_002_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_rollback/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_rollback/setup.ksh | 1 + .../tests/functional/cli_root/zfs_rollback/zfs_rollback.cfg | 1 + .../functional/cli_root/zfs_rollback/zfs_rollback_001_pos.ksh | 1 + .../functional/cli_root/zfs_rollback/zfs_rollback_002_pos.ksh | 1 + .../functional/cli_root/zfs_rollback/zfs_rollback_003_neg.ksh | 1 + .../functional/cli_root/zfs_rollback/zfs_rollback_004_neg.ksh | 1 + .../functional/cli_root/zfs_rollback/zfs_rollback_common.kshlib | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_send/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_send/setup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_send/zfs_send-b.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send.cfg | 1 + .../tests/functional/cli_root/zfs_send/zfs_send_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_send/zfs_send_002_pos.ksh | 1 + .../tests/functional/cli_root/zfs_send/zfs_send_003_pos.ksh | 1 + .../tests/functional/cli_root/zfs_send/zfs_send_004_neg.ksh | 1 + .../tests/functional/cli_root/zfs_send/zfs_send_005_pos.ksh | 1 + .../tests/functional/cli_root/zfs_send/zfs_send_006_pos.ksh | 1 + .../tests/functional/cli_root/zfs_send/zfs_send_007_pos.ksh | 1 + .../tests/functional/cli_root/zfs_send/zfs_send_encrypted.ksh | 1 + .../functional/cli_root/zfs_send/zfs_send_encrypted_unloaded.ksh | 1 + .../tests/functional/cli_root/zfs_send/zfs_send_raw.ksh | 1 + .../tests/functional/cli_root/zfs_send/zfs_send_skip_missing.ksh | 1 + .../tests/functional/cli_root/zfs_send/zfs_send_sparse.ksh | 1 + .../tests/functional/cli_root/zfs_set/cache_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/cache_002_neg.ksh | 1 + .../tests/functional/cli_root/zfs_set/canmount_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/canmount_002_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/canmount_003_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/canmount_004_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/checksum_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_set/cleanup.ksh | 1 + .../tests/functional/cli_root/zfs_set/compression_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/mountpoint_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/mountpoint_002_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/mountpoint_003_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/onoffs_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/property_alias_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/readonly_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/reservation_001_neg.ksh | 1 + .../tests/functional/cli_root/zfs_set/ro_props_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_set/setup.ksh | 1 + .../tests/functional/cli_root/zfs_set/share_mount_001_neg.ksh | 1 + .../tests/functional/cli_root/zfs_set/snapdir_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/user_property_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/user_property_002_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/user_property_003_neg.ksh | 1 + .../tests/functional/cli_root/zfs_set/user_property_004_pos.ksh | 1 + .../tests/functional/cli_root/zfs_set/version_001_neg.ksh | 1 + .../tests/functional/cli_root/zfs_set/zfs_set_001_neg.ksh | 1 + .../tests/functional/cli_root/zfs_set/zfs_set_002_neg.ksh | 1 + .../tests/functional/cli_root/zfs_set/zfs_set_003_neg.ksh | 1 + .../tests/functional/cli_root/zfs_set/zfs_set_common.kshlib | 1 + .../functional/cli_root/zfs_set/zfs_set_feature_activation.ksh | 1 + .../tests/functional/cli_root/zfs_set/zfs_set_keylocation.ksh | 1 + .../tests/functional/cli_root/zfs_set/zfs_set_nomount.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_share/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_share/setup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_share/zfs_share.cfg | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_002_pos.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_003_pos.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_004_pos.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_006_pos.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_007_neg.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_008_neg.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_009_neg.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_010_neg.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_011_pos.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_012_pos.ksh | 1 + .../tests/functional/cli_root/zfs_share/zfs_share_013_pos.ksh | 1 + .../functional/cli_root/zfs_share/zfs_share_after_mount.ksh | 1 + .../cli_root/zfs_share/zfs_share_concurrent_shares.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_snapshot/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/setup.ksh | 1 + .../tests/functional/cli_root/zfs_snapshot/zfs_snapshot.cfg | 1 + .../functional/cli_root/zfs_snapshot/zfs_snapshot_001_neg.ksh | 1 + .../functional/cli_root/zfs_snapshot/zfs_snapshot_002_neg.ksh | 1 + .../functional/cli_root/zfs_snapshot/zfs_snapshot_003_neg.ksh | 1 + .../functional/cli_root/zfs_snapshot/zfs_snapshot_004_neg.ksh | 1 + .../functional/cli_root/zfs_snapshot/zfs_snapshot_005_neg.ksh | 1 + .../functional/cli_root/zfs_snapshot/zfs_snapshot_006_pos.ksh | 1 + .../functional/cli_root/zfs_snapshot/zfs_snapshot_007_neg.ksh | 1 + .../functional/cli_root/zfs_snapshot/zfs_snapshot_008_neg.ksh | 1 + .../functional/cli_root/zfs_snapshot/zfs_snapshot_009_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/setup.ksh | 1 + .../functional/cli_root/zfs_sysfs/zfeature_set_unsupported.ksh | 1 + .../tests/functional/cli_root/zfs_sysfs/zfs_get_unsupported.ksh | 1 + .../tests/functional/cli_root/zfs_sysfs/zfs_set_unsupported.ksh | 1 + .../tests/functional/cli_root/zfs_sysfs/zfs_sysfs_live.ksh | 1 + .../functional/cli_root/zfs_sysfs/zpool_get_unsupported.ksh | 1 + .../functional/cli_root/zfs_sysfs/zpool_set_unsupported.ksh | 1 + .../tests/functional/cli_root/zfs_unload-key/cleanup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_unload-key/setup.ksh | 1 + .../tests/functional/cli_root/zfs_unload-key/zfs_unload-key.ksh | 1 + .../functional/cli_root/zfs_unload-key/zfs_unload-key_all.ksh | 1 + .../cli_root/zfs_unload-key/zfs_unload-key_recursive.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_unmount/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_unmount/setup.ksh | 1 + .../tests/functional/cli_root/zfs_unmount/zfs_unmount.cfg | 1 + .../tests/functional/cli_root/zfs_unmount/zfs_unmount.kshlib | 1 + .../functional/cli_root/zfs_unmount/zfs_unmount_001_pos.ksh | 1 + .../functional/cli_root/zfs_unmount/zfs_unmount_002_pos.ksh | 1 + .../functional/cli_root/zfs_unmount/zfs_unmount_003_pos.ksh | 1 + .../functional/cli_root/zfs_unmount/zfs_unmount_004_pos.ksh | 1 + .../functional/cli_root/zfs_unmount/zfs_unmount_005_pos.ksh | 1 + .../functional/cli_root/zfs_unmount/zfs_unmount_006_pos.ksh | 1 + .../functional/cli_root/zfs_unmount/zfs_unmount_007_neg.ksh | 1 + .../functional/cli_root/zfs_unmount/zfs_unmount_008_neg.ksh | 1 + .../functional/cli_root/zfs_unmount/zfs_unmount_009_pos.ksh | 1 + .../functional/cli_root/zfs_unmount/zfs_unmount_all_001_pos.ksh | 1 + .../tests/functional/cli_root/zfs_unmount/zfs_unmount_nested.ksh | 1 + .../functional/cli_root/zfs_unmount/zfs_unmount_unload_keys.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_unshare/cleanup.ksh | 1 + .../functional/cli_root/zfs_unshare/zfs_unshare_001_pos.ksh | 1 + .../functional/cli_root/zfs_unshare/zfs_unshare_002_pos.ksh | 1 + .../functional/cli_root/zfs_unshare/zfs_unshare_003_pos.ksh | 1 + .../functional/cli_root/zfs_unshare/zfs_unshare_004_neg.ksh | 1 + .../functional/cli_root/zfs_unshare/zfs_unshare_005_neg.ksh | 1 + .../functional/cli_root/zfs_unshare/zfs_unshare_006_pos.ksh | 1 + .../functional/cli_root/zfs_unshare/zfs_unshare_007_pos.ksh | 1 + .../functional/cli_root/zfs_unshare/zfs_unshare_008_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_upgrade/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh | 1 + .../tests/functional/cli_root/zfs_upgrade/zfs_upgrade.kshlib | 1 + .../functional/cli_root/zfs_upgrade/zfs_upgrade_001_pos.ksh | 1 + .../functional/cli_root/zfs_upgrade/zfs_upgrade_002_pos.ksh | 1 + .../functional/cli_root/zfs_upgrade/zfs_upgrade_003_pos.ksh | 1 + .../functional/cli_root/zfs_upgrade/zfs_upgrade_004_pos.ksh | 1 + .../functional/cli_root/zfs_upgrade/zfs_upgrade_005_pos.ksh | 1 + .../functional/cli_root/zfs_upgrade/zfs_upgrade_006_neg.ksh | 1 + .../functional/cli_root/zfs_upgrade/zfs_upgrade_007_neg.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_wait/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zfs_wait/setup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait.kshlib | 1 + .../tests/functional/cli_root/zfs_wait/zfs_wait_deleteq.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zhack/library.kshlib | 1 + .../tests/functional/cli_root/zhack/zhack_label_repair_001.ksh | 1 + .../tests/functional/cli_root/zhack/zhack_label_repair_002.ksh | 1 + .../tests/functional/cli_root/zhack/zhack_label_repair_003.ksh | 1 + .../tests/functional/cli_root/zhack/zhack_label_repair_004.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zinject/zinject_args.ksh | 1 + .../tests/functional/cli_root/zinject/zinject_counts.ksh | 1 + .../tests/functional/cli_root/zinject/zinject_probe.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool/setup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool/zpool_001_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool/zpool_002_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool/zpool_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool/zpool_colors.ksh | 1 + .../tests/functional/cli_root/zpool_add/add-o_ashift.ksh | 1 + .../functional/cli_root/zpool_add/add_nested_replacing_spare.ksh | 1 + .../tests/functional/cli_root/zpool_add/add_prop_ashift.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_add/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_add/setup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.cfg | 1 + .../tests/functional/cli_root/zpool_add/zpool_add.kshlib | 1 + .../tests/functional/cli_root/zpool_add/zpool_add_001_pos.ksh | 1 + .../tests/functional/cli_root/zpool_add/zpool_add_002_pos.ksh | 1 + .../tests/functional/cli_root/zpool_add/zpool_add_003_pos.ksh | 1 + .../tests/functional/cli_root/zpool_add/zpool_add_004_pos.ksh | 1 + .../tests/functional/cli_root/zpool_add/zpool_add_005_pos.ksh | 1 + .../tests/functional/cli_root/zpool_add/zpool_add_006_pos.ksh | 1 + .../tests/functional/cli_root/zpool_add/zpool_add_007_neg.ksh | 1 + .../tests/functional/cli_root/zpool_add/zpool_add_008_neg.ksh | 1 + .../tests/functional/cli_root/zpool_add/zpool_add_009_neg.ksh | 1 + .../tests/functional/cli_root/zpool_add/zpool_add_010_pos.ksh | 1 + .../functional/cli_root/zpool_add/zpool_add_dryrun_output.ksh | 1 + .../tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_attach/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_attach/setup.ksh | 1 + .../functional/cli_root/zpool_attach/zpool_attach_001_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_clear/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_clear/setup.ksh | 1 + .../tests/functional/cli_root/zpool_clear/zpool_clear.cfg | 1 + .../functional/cli_root/zpool_clear/zpool_clear_001_pos.ksh | 1 + .../functional/cli_root/zpool_clear/zpool_clear_002_neg.ksh | 1 + .../functional/cli_root/zpool_clear/zpool_clear_003_neg.ksh | 1 + .../functional/cli_root/zpool_clear/zpool_clear_readonly.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_create/cleanup.ksh | 1 + .../tests/functional/cli_root/zpool_create/create-o_ashift.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_create/setup.ksh | 1 + .../tests/functional/cli_root/zpool_create/zpool_create.cfg | 1 + .../tests/functional/cli_root/zpool_create/zpool_create.shlib | 1 + .../functional/cli_root/zpool_create/zpool_create_001_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_002_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_003_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_004_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_005_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_006_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_007_neg.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_008_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_009_neg.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_010_neg.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_011_neg.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_012_neg.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_014_neg.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_015_neg.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_016_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_017_neg.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_018_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_019_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_020_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_021_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_022_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_023_neg.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_024_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_crypt_combos.ksh | 1 + .../cli_root/zpool_create/zpool_create_draid_001_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_draid_002_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_draid_003_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_draid_004_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_dryrun_output.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_encrypted.ksh | 1 + .../cli_root/zpool_create/zpool_create_features_001_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_features_002_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_features_003_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_features_004_neg.ksh | 1 + .../cli_root/zpool_create/zpool_create_features_005_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_features_006_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_features_007_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_features_008_pos.ksh | 1 + .../cli_root/zpool_create/zpool_create_features_009_pos.ksh | 1 + .../functional/cli_root/zpool_create/zpool_create_tempname.ksh | 1 + .../tests/functional/cli_root/zpool_destroy/zpool_destroy.cfg | 1 + .../functional/cli_root/zpool_destroy/zpool_destroy_001_pos.ksh | 1 + .../functional/cli_root/zpool_destroy/zpool_destroy_002_pos.ksh | 1 + .../functional/cli_root/zpool_destroy/zpool_destroy_003_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_detach/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_detach/setup.ksh | 1 + .../functional/cli_root/zpool_detach/zpool_detach_001_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_events/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_events/setup.ksh | 1 + .../tests/functional/cli_root/zpool_events/zpool_events.cfg | 1 + .../tests/functional/cli_root/zpool_events/zpool_events.kshlib | 1 + .../functional/cli_root/zpool_events/zpool_events_clear.ksh | 1 + .../cli_root/zpool_events/zpool_events_clear_retained.ksh | 1 + .../functional/cli_root/zpool_events/zpool_events_cliargs.ksh | 1 + .../functional/cli_root/zpool_events/zpool_events_duplicates.ksh | 1 + .../functional/cli_root/zpool_events/zpool_events_errors.ksh | 1 + .../functional/cli_root/zpool_events/zpool_events_follow.ksh | 1 + .../functional/cli_root/zpool_events/zpool_events_poolname.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_expand/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_expand/setup.ksh | 1 + .../tests/functional/cli_root/zpool_expand/zpool_expand.cfg | 1 + .../functional/cli_root/zpool_expand/zpool_expand_001_pos.ksh | 1 + .../functional/cli_root/zpool_expand/zpool_expand_002_pos.ksh | 1 + .../functional/cli_root/zpool_expand/zpool_expand_003_neg.ksh | 1 + .../functional/cli_root/zpool_expand/zpool_expand_004_pos.ksh | 1 + .../functional/cli_root/zpool_expand/zpool_expand_005_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_export/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_export/setup.ksh | 1 + .../tests/functional/cli_root/zpool_export/zpool_export.cfg | 1 + .../tests/functional/cli_root/zpool_export/zpool_export.kshlib | 1 + .../functional/cli_root/zpool_export/zpool_export_001_pos.ksh | 1 + .../functional/cli_root/zpool_export/zpool_export_002_pos.ksh | 1 + .../functional/cli_root/zpool_export/zpool_export_003_neg.ksh | 1 + .../functional/cli_root/zpool_export/zpool_export_004_pos.ksh | 1 + .../cli_root/zpool_export/zpool_export_parallel_admin.ksh | 1 + .../cli_root/zpool_export/zpool_export_parallel_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_get/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_get/setup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_get/vdev_get.cfg | 1 + .../tests/functional/cli_root/zpool_get/vdev_get_001_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_get/zpool_get.cfg | 1 + .../tests/functional/cli_root/zpool_get/zpool_get_001_pos.ksh | 1 + .../tests/functional/cli_root/zpool_get/zpool_get_002_pos.ksh | 1 + .../tests/functional/cli_root/zpool_get/zpool_get_003_pos.ksh | 1 + .../tests/functional/cli_root/zpool_get/zpool_get_004_neg.ksh | 1 + .../tests/functional/cli_root/zpool_get/zpool_get_005_pos.ksh | 1 + .../tests/functional/cli_root/zpool_get/zpool_get_parsable.cfg | 1 + .../tests/functional/cli_root/zpool_history/cleanup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_history/setup.ksh | 1 + .../functional/cli_root/zpool_history/zpool_history_001_neg.ksh | 1 + .../functional/cli_root/zpool_history/zpool_history_002_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_import/cleanup.ksh | 1 + .../cli_root/zpool_import/import_cachefile_device_added.ksh | 1 + .../cli_root/zpool_import/import_cachefile_device_removed.ksh | 1 + .../cli_root/zpool_import/import_cachefile_device_replaced.ksh | 1 + .../cli_root/zpool_import/import_cachefile_mirror_attached.ksh | 1 + .../cli_root/zpool_import/import_cachefile_mirror_detached.ksh | 1 + .../cli_root/zpool_import/import_cachefile_paths_changed.ksh | 1 + .../cli_root/zpool_import/import_cachefile_shared_device.ksh | 1 + .../functional/cli_root/zpool_import/import_devices_missing.ksh | 1 + .../functional/cli_root/zpool_import/import_log_missing.ksh | 1 + .../functional/cli_root/zpool_import/import_paths_changed.ksh | 1 + .../cli_root/zpool_import/import_rewind_config_changed.ksh | 1 + .../cli_root/zpool_import/import_rewind_device_replaced.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_import/setup.ksh | 1 + .../tests/functional/cli_root/zpool_import/zpool_import.cfg | 1 + .../tests/functional/cli_root/zpool_import/zpool_import.kshlib | 1 + .../functional/cli_root/zpool_import/zpool_import_001_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_002_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_003_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_004_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_005_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_006_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_007_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_008_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_009_neg.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_010_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_011_neg.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_012_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_013_neg.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_014_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_015_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_016_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_017_pos.ksh | 1 + .../cli_root/zpool_import/zpool_import_all_001_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_encrypted.ksh | 1 + .../cli_root/zpool_import/zpool_import_encrypted_load.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_errata3.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_errata4.ksh | 1 + .../cli_root/zpool_import/zpool_import_features_001_pos.ksh | 1 + .../cli_root/zpool_import/zpool_import_features_002_neg.ksh | 1 + .../cli_root/zpool_import/zpool_import_features_003_pos.ksh | 1 + .../cli_root/zpool_import/zpool_import_hostid_changed.ksh | 1 + .../zpool_import/zpool_import_hostid_changed_cachefile.ksh | 1 + .../zpool_import_hostid_changed_cachefile_unclean_export.ksh | 1 + .../zpool_import/zpool_import_hostid_changed_unclean_export.ksh | 1 + .../cli_root/zpool_import/zpool_import_missing_001_pos.ksh | 1 + .../cli_root/zpool_import/zpool_import_missing_002_pos.ksh | 1 + .../cli_root/zpool_import/zpool_import_missing_003_pos.ksh | 1 + .../cli_root/zpool_import/zpool_import_parallel_admin.ksh | 1 + .../cli_root/zpool_import/zpool_import_parallel_neg.ksh | 1 + .../cli_root/zpool_import/zpool_import_parallel_pos.ksh | 1 + .../cli_root/zpool_import/zpool_import_rename_001_pos.ksh | 1 + .../functional/cli_root/zpool_import/zpool_import_status.ksh | 1 + .../tests/functional/cli_root/zpool_initialize/cleanup.ksh | 1 + .../functional/cli_root/zpool_initialize/zpool_initialize.kshlib | 1 + .../zpool_initialize_attach_detach_add_remove.ksh | 1 + .../zpool_initialize_fault_export_import_online.ksh | 1 + .../cli_root/zpool_initialize/zpool_initialize_import_export.ksh | 1 + .../zpool_initialize_offline_export_import_online.ksh | 1 + .../zpool_initialize/zpool_initialize_online_offline.ksh | 1 + .../cli_root/zpool_initialize/zpool_initialize_split.ksh | 1 + .../zpool_initialize/zpool_initialize_start_and_cancel_neg.ksh | 1 + .../zpool_initialize/zpool_initialize_start_and_cancel_pos.ksh | 1 + .../zpool_initialize/zpool_initialize_suspend_resume.ksh | 1 + .../cli_root/zpool_initialize/zpool_initialize_uninit.ksh | 1 + .../zpool_initialize/zpool_initialize_unsupported_vdevs.ksh | 1 + .../zpool_initialize/zpool_initialize_verify_checksums.ksh | 1 + .../zpool_initialize/zpool_initialize_verify_initialized.ksh | 1 + .../tests/functional/cli_root/zpool_labelclear/labelclear.cfg | 1 + .../cli_root/zpool_labelclear/zpool_labelclear_active.ksh | 1 + .../cli_root/zpool_labelclear/zpool_labelclear_exported.ksh | 1 + .../cli_root/zpool_labelclear/zpool_labelclear_removed.ksh | 1 + .../cli_root/zpool_labelclear/zpool_labelclear_valid.ksh | 1 + .../tests/functional/cli_root/zpool_offline/cleanup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_offline/setup.ksh | 1 + .../functional/cli_root/zpool_offline/zpool_offline_001_pos.ksh | 1 + .../functional/cli_root/zpool_offline/zpool_offline_002_neg.ksh | 1 + .../functional/cli_root/zpool_offline/zpool_offline_003_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_online/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_online/setup.ksh | 1 + .../functional/cli_root/zpool_online/zpool_online_001_pos.ksh | 1 + .../functional/cli_root/zpool_online/zpool_online_002_neg.ksh | 1 + .../tests/functional/cli_root/zpool_prefetch/cleanup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_prefetch/setup.ksh | 1 + .../cli_root/zpool_prefetch/zpool_prefetch_001_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_reguid/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_reguid/setup.ksh | 1 + .../functional/cli_root/zpool_reguid/zpool_reguid_001_pos.ksh | 1 + .../functional/cli_root/zpool_reguid/zpool_reguid_002_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_remove/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_remove/setup.ksh | 1 + .../tests/functional/cli_root/zpool_remove/zpool_remove.cfg | 1 + .../functional/cli_root/zpool_remove/zpool_remove_001_neg.ksh | 1 + .../functional/cli_root/zpool_remove/zpool_remove_002_pos.ksh | 1 + .../functional/cli_root/zpool_remove/zpool_remove_003_pos.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_reopen/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_reopen/setup.ksh | 1 + .../tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg | 1 + .../tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib | 1 + .../functional/cli_root/zpool_reopen/zpool_reopen_001_pos.ksh | 1 + .../functional/cli_root/zpool_reopen/zpool_reopen_002_pos.ksh | 1 + .../functional/cli_root/zpool_reopen/zpool_reopen_003_pos.ksh | 1 + .../functional/cli_root/zpool_reopen/zpool_reopen_004_pos.ksh | 1 + .../functional/cli_root/zpool_reopen/zpool_reopen_005_pos.ksh | 1 + .../functional/cli_root/zpool_reopen/zpool_reopen_006_neg.ksh | 1 + .../functional/cli_root/zpool_reopen/zpool_reopen_007_pos.ksh | 1 + .../tests/functional/cli_root/zpool_replace/cleanup.ksh | 1 + .../tests/functional/cli_root/zpool_replace/replace-o_ashift.ksh | 1 + .../functional/cli_root/zpool_replace/replace_prop_ashift.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_replace/setup.ksh | 1 + .../functional/cli_root/zpool_replace/zpool_replace_001_neg.ksh | 1 + .../tests/functional/cli_root/zpool_resilver/cleanup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_resilver/setup.ksh | 1 + .../tests/functional/cli_root/zpool_resilver/zpool_resilver.cfg | 1 + .../cli_root/zpool_resilver/zpool_resilver_bad_args.ksh | 1 + .../cli_root/zpool_resilver/zpool_resilver_concurrent.ksh | 1 + .../cli_root/zpool_resilver/zpool_resilver_restart.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_scrub/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_scrub/setup.ksh | 1 + .../cli_root/zpool_scrub/zpool_error_scrub_001_pos.ksh | 1 + .../cli_root/zpool_scrub/zpool_error_scrub_002_pos.ksh | 1 + .../cli_root/zpool_scrub/zpool_error_scrub_003_pos.ksh | 1 + .../cli_root/zpool_scrub/zpool_error_scrub_004_pos.ksh | 1 + .../tests/functional/cli_root/zpool_scrub/zpool_scrub.cfg | 1 + .../functional/cli_root/zpool_scrub/zpool_scrub_001_neg.ksh | 1 + .../functional/cli_root/zpool_scrub/zpool_scrub_002_pos.ksh | 1 + .../functional/cli_root/zpool_scrub/zpool_scrub_003_pos.ksh | 1 + .../functional/cli_root/zpool_scrub/zpool_scrub_004_pos.ksh | 1 + .../functional/cli_root/zpool_scrub/zpool_scrub_005_pos.ksh | 1 + .../cli_root/zpool_scrub/zpool_scrub_encrypted_unloaded.ksh | 1 + .../cli_root/zpool_scrub/zpool_scrub_multiple_copies.ksh | 1 + .../cli_root/zpool_scrub/zpool_scrub_offline_device.ksh | 1 + .../cli_root/zpool_scrub/zpool_scrub_print_repairing.ksh | 1 + .../cli_root/zpool_scrub/zpool_scrub_txg_continue_from_last.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_set/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_set/setup.ksh | 1 + .../functional/cli_root/zpool_set/user_property_001_pos.ksh | 1 + .../functional/cli_root/zpool_set/user_property_002_neg.ksh | 1 + .../tests/functional/cli_root/zpool_set/vdev_set_001_pos.ksh | 1 + .../tests/functional/cli_root/zpool_set/zpool_set_001_pos.ksh | 1 + .../tests/functional/cli_root/zpool_set/zpool_set_002_neg.ksh | 1 + .../tests/functional/cli_root/zpool_set/zpool_set_003_neg.ksh | 1 + .../tests/functional/cli_root/zpool_set/zpool_set_ashift.ksh | 1 + .../functional/cli_root/zpool_set/zpool_set_clear_userprop.ksh | 1 + .../tests/functional/cli_root/zpool_set/zpool_set_common.kshlib | 1 + .../tests/functional/cli_root/zpool_set/zpool_set_features.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_split/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_split/setup.ksh | 1 + .../tests/functional/cli_root/zpool_split/zpool_split.cfg | 1 + .../functional/cli_root/zpool_split/zpool_split_cliargs.ksh | 1 + .../functional/cli_root/zpool_split/zpool_split_devices.ksh | 1 + .../cli_root/zpool_split/zpool_split_dryrun_output.ksh | 1 + .../functional/cli_root/zpool_split/zpool_split_encryption.ksh | 1 + .../functional/cli_root/zpool_split/zpool_split_indirect.ksh | 1 + .../tests/functional/cli_root/zpool_split/zpool_split_props.ksh | 1 + .../functional/cli_root/zpool_split/zpool_split_resilver.ksh | 1 + .../tests/functional/cli_root/zpool_split/zpool_split_vdevs.ksh | 1 + .../functional/cli_root/zpool_split/zpool_split_wholedisk.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_status/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_status/setup.ksh | 1 + .../functional/cli_root/zpool_status/zpool_status_001_pos.ksh | 1 + .../functional/cli_root/zpool_status/zpool_status_002_pos.ksh | 1 + .../functional/cli_root/zpool_status/zpool_status_003_pos.ksh | 1 + .../functional/cli_root/zpool_status/zpool_status_004_pos.ksh | 1 + .../functional/cli_root/zpool_status/zpool_status_005_pos.ksh | 1 + .../functional/cli_root/zpool_status/zpool_status_006_pos.ksh | 1 + .../functional/cli_root/zpool_status/zpool_status_007_pos.ksh | 1 + .../functional/cli_root/zpool_status/zpool_status_008_pos.ksh | 1 + .../cli_root/zpool_status/zpool_status_features_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_sync/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_sync/setup.ksh | 1 + .../tests/functional/cli_root/zpool_sync/zpool_sync_001_pos.ksh | 1 + .../tests/functional/cli_root/zpool_sync/zpool_sync_002_neg.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_trim/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_trim/setup.ksh | 1 + .../tests/functional/cli_root/zpool_trim/zpool_trim.kshlib | 1 + .../cli_root/zpool_trim/zpool_trim_attach_detach_add_remove.ksh | 1 + .../zpool_trim/zpool_trim_fault_export_import_online.ksh | 1 + .../functional/cli_root/zpool_trim/zpool_trim_import_export.ksh | 1 + .../tests/functional/cli_root/zpool_trim/zpool_trim_multiple.ksh | 1 + .../tests/functional/cli_root/zpool_trim/zpool_trim_neg.ksh | 1 + .../zpool_trim/zpool_trim_offline_export_import_online.ksh | 1 + .../functional/cli_root/zpool_trim/zpool_trim_online_offline.ksh | 1 + .../tests/functional/cli_root/zpool_trim/zpool_trim_partial.ksh | 1 + .../tests/functional/cli_root/zpool_trim/zpool_trim_rate.ksh | 1 + .../tests/functional/cli_root/zpool_trim/zpool_trim_rate_neg.ksh | 1 + .../tests/functional/cli_root/zpool_trim/zpool_trim_secure.ksh | 1 + .../tests/functional/cli_root/zpool_trim/zpool_trim_split.ksh | 1 + .../cli_root/zpool_trim/zpool_trim_start_and_cancel_neg.ksh | 1 + .../cli_root/zpool_trim/zpool_trim_start_and_cancel_pos.ksh | 1 + .../functional/cli_root/zpool_trim/zpool_trim_suspend_resume.ksh | 1 + .../cli_root/zpool_trim/zpool_trim_unsupported_vdevs.ksh | 1 + .../cli_root/zpool_trim/zpool_trim_verify_checksums.ksh | 1 + .../functional/cli_root/zpool_trim/zpool_trim_verify_trimmed.ksh | 1 + .../tests/functional/cli_root/zpool_upgrade/cleanup.ksh | 1 + .../zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh | 1 + .../tests/functional/cli_root/zpool_upgrade/zpool_upgrade.cfg | 1 + .../tests/functional/cli_root/zpool_upgrade/zpool_upgrade.kshlib | 1 + .../functional/cli_root/zpool_upgrade/zpool_upgrade_001_pos.ksh | 1 + .../functional/cli_root/zpool_upgrade/zpool_upgrade_002_pos.ksh | 1 + .../functional/cli_root/zpool_upgrade/zpool_upgrade_003_pos.ksh | 1 + .../functional/cli_root/zpool_upgrade/zpool_upgrade_004_pos.ksh | 1 + .../functional/cli_root/zpool_upgrade/zpool_upgrade_005_neg.ksh | 1 + .../functional/cli_root/zpool_upgrade/zpool_upgrade_006_neg.ksh | 1 + .../functional/cli_root/zpool_upgrade/zpool_upgrade_007_pos.ksh | 1 + .../functional/cli_root/zpool_upgrade/zpool_upgrade_008_pos.ksh | 1 + .../functional/cli_root/zpool_upgrade/zpool_upgrade_009_neg.ksh | 1 + .../cli_root/zpool_upgrade/zpool_upgrade_features_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_wait/cleanup.ksh | 1 + .../tests/functional/cli_root/zpool_wait/scan/cleanup.ksh | 1 + .../tests/functional/cli_root/zpool_wait/scan/setup.ksh | 1 + .../functional/cli_root/zpool_wait/scan/zpool_wait_rebuild.ksh | 1 + .../functional/cli_root/zpool_wait/scan/zpool_wait_replace.ksh | 1 + .../cli_root/zpool_wait/scan/zpool_wait_replace_cancel.ksh | 1 + .../functional/cli_root/zpool_wait/scan/zpool_wait_resilver.ksh | 1 + .../cli_root/zpool_wait/scan/zpool_wait_scrub_basic.ksh | 1 + .../cli_root/zpool_wait/scan/zpool_wait_scrub_cancel.ksh | 1 + .../cli_root/zpool_wait/scan/zpool_wait_scrub_flag.ksh | 1 + tests/zfs-tests/tests/functional/cli_root/zpool_wait/setup.ksh | 1 + .../tests/functional/cli_root/zpool_wait/zpool_wait.kshlib | 1 + .../tests/functional/cli_root/zpool_wait/zpool_wait_discard.ksh | 1 + .../tests/functional/cli_root/zpool_wait/zpool_wait_freeing.ksh | 1 + .../cli_root/zpool_wait/zpool_wait_initialize_basic.ksh | 1 + .../cli_root/zpool_wait/zpool_wait_initialize_cancel.ksh | 1 + .../cli_root/zpool_wait/zpool_wait_initialize_flag.ksh | 1 + .../tests/functional/cli_root/zpool_wait/zpool_wait_multiple.ksh | 1 + .../functional/cli_root/zpool_wait/zpool_wait_no_activity.ksh | 1 + .../tests/functional/cli_root/zpool_wait/zpool_wait_remove.ksh | 1 + .../functional/cli_root/zpool_wait/zpool_wait_remove_cancel.ksh | 1 + .../functional/cli_root/zpool_wait/zpool_wait_trim_basic.ksh | 1 + .../functional/cli_root/zpool_wait/zpool_wait_trim_cancel.ksh | 1 + .../functional/cli_root/zpool_wait/zpool_wait_trim_flag.ksh | 1 + .../tests/functional/cli_root/zpool_wait/zpool_wait_usage.ksh | 1 + .../tests/functional/cli_user/misc/arc_summary_001_pos.ksh | 1 + .../tests/functional/cli_user/misc/arc_summary_002_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_user/misc/arcstat_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/misc/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/misc/misc.cfg | 1 + tests/zfs-tests/tests/functional/cli_user/misc/setup.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/misc/zdb_001_neg.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/misc/zfs_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_allow_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_clone_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_create_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_destroy_001_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_user/misc/zfs_get_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_inherit_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_mount_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_promote_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_receive_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_rename_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_rollback_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_send_001_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_user/misc/zfs_set_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_share_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_snapshot_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_unallow_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_unmount_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_unshare_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zfs_upgrade_001_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_user/misc/zilstat_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/misc/zpool_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_add_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_attach_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_clear_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_create_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_destroy_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_detach_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_export_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_get_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_history_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_import_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_import_002_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_offline_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_online_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_remove_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_replace_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_scrub_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_set_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_status_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_upgrade_001_neg.ksh | 1 + .../tests/functional/cli_user/misc/zpool_wait_privilege.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/zfs_list/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/zfs_list/setup.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.cfg | 1 + .../zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.kshlib | 1 + .../tests/functional/cli_user/zfs_list/zfs_list_001_pos.ksh | 1 + .../tests/functional/cli_user/zfs_list/zfs_list_002_pos.ksh | 1 + .../tests/functional/cli_user/zfs_list/zfs_list_003_pos.ksh | 1 + .../tests/functional/cli_user/zfs_list/zfs_list_004_neg.ksh | 1 + .../tests/functional/cli_user/zfs_list/zfs_list_007_pos.ksh | 1 + .../tests/functional/cli_user/zfs_list/zfs_list_008_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_user/zpool_iostat/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/zpool_iostat/setup.ksh | 1 + .../functional/cli_user/zpool_iostat/zpool_iostat_-c_disable.ksh | 1 + .../functional/cli_user/zpool_iostat/zpool_iostat_-c_homedir.ksh | 1 + .../cli_user/zpool_iostat/zpool_iostat_-c_searchpath.ksh | 1 + .../functional/cli_user/zpool_iostat/zpool_iostat_001_neg.ksh | 1 + .../functional/cli_user/zpool_iostat/zpool_iostat_002_pos.ksh | 1 + .../functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh | 1 + .../functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh | 1 + .../functional/cli_user/zpool_iostat/zpool_iostat_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/zpool_list/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/zpool_list/setup.ksh | 1 + .../tests/functional/cli_user/zpool_list/zpool_list_001_pos.ksh | 1 + .../tests/functional/cli_user/zpool_list/zpool_list_002_neg.ksh | 1 + .../zfs-tests/tests/functional/cli_user/zpool_status/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cli_user/zpool_status/setup.ksh | 1 + .../functional/cli_user/zpool_status/zpool_status_-c_disable.ksh | 1 + .../functional/cli_user/zpool_status/zpool_status_-c_homedir.ksh | 1 + .../cli_user/zpool_status/zpool_status_-c_searchpath.ksh | 1 + .../functional/cli_user/zpool_status/zpool_status_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/compression/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/compression/compress.cfg | 1 + .../zfs-tests/tests/functional/compression/compress_001_pos.ksh | 1 + .../zfs-tests/tests/functional/compression/compress_002_pos.ksh | 1 + .../zfs-tests/tests/functional/compression/compress_003_pos.ksh | 1 + .../zfs-tests/tests/functional/compression/compress_004_pos.ksh | 1 + .../tests/functional/compression/compress_zstd_bswap.ksh | 1 + .../tests/functional/compression/l2arc_compressed_arc.ksh | 1 + .../functional/compression/l2arc_compressed_arc_disabled.ksh | 1 + tests/zfs-tests/tests/functional/compression/l2arc_encrypted.ksh | 1 + .../functional/compression/l2arc_encrypted_no_compressed_arc.ksh | 1 + tests/zfs-tests/tests/functional/compression/setup.ksh | 1 + tests/zfs-tests/tests/functional/cp_files/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/cp_files/cp_files_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/cp_files/cp_files_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/cp_files/cp_stress.ksh | 1 + tests/zfs-tests/tests/functional/cp_files/setup.ksh | 1 + tests/zfs-tests/tests/functional/crtime/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/crtime/crtime_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/crtime/setup.ksh | 1 + tests/zfs-tests/tests/functional/crypto/icp_aes_ccm.ksh | 1 + tests/zfs-tests/tests/functional/crypto/icp_aes_gcm.ksh | 1 + tests/zfs-tests/tests/functional/ctime/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/ctime/ctime_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/ctime/setup.ksh | 1 + tests/zfs-tests/tests/functional/deadman/deadman.cfg | 1 + tests/zfs-tests/tests/functional/deadman/deadman_ratelimit.ksh | 1 + tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh | 1 + tests/zfs-tests/tests/functional/deadman/deadman_zio.ksh | 1 + tests/zfs-tests/tests/functional/dedup/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/dedup/dedup_fdt_create.ksh | 1 + tests/zfs-tests/tests/functional/dedup/dedup_fdt_import.ksh | 1 + tests/zfs-tests/tests/functional/dedup/dedup_fdt_pacing.ksh | 1 + tests/zfs-tests/tests/functional/dedup/dedup_legacy_create.ksh | 1 + .../zfs-tests/tests/functional/dedup/dedup_legacy_fdt_mixed.ksh | 1 + .../tests/functional/dedup/dedup_legacy_fdt_upgrade.ksh | 1 + tests/zfs-tests/tests/functional/dedup/dedup_legacy_import.ksh | 1 + tests/zfs-tests/tests/functional/dedup/dedup_prune.ksh | 1 + tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh | 1 + tests/zfs-tests/tests/functional/dedup/dedup_zap_shrink.ksh | 1 + tests/zfs-tests/tests/functional/dedup/setup.ksh | 1 + tests/zfs-tests/tests/functional/delegate/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/delegate/delegate.cfg | 1 + tests/zfs-tests/tests/functional/delegate/delegate_common.kshlib | 1 + tests/zfs-tests/tests/functional/delegate/setup.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_007_pos.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_008_pos.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_011_neg.ksh | 1 + tests/zfs-tests/tests/functional/delegate/zfs_allow_012_neg.ksh | 1 + .../zfs-tests/tests/functional/delegate/zfs_unallow_001_pos.ksh | 1 + .../zfs-tests/tests/functional/delegate/zfs_unallow_002_pos.ksh | 1 + .../zfs-tests/tests/functional/delegate/zfs_unallow_003_pos.ksh | 1 + .../zfs-tests/tests/functional/delegate/zfs_unallow_004_pos.ksh | 1 + .../zfs-tests/tests/functional/delegate/zfs_unallow_005_pos.ksh | 1 + .../zfs-tests/tests/functional/delegate/zfs_unallow_006_pos.ksh | 1 + .../zfs-tests/tests/functional/delegate/zfs_unallow_007_neg.ksh | 1 + .../zfs-tests/tests/functional/delegate/zfs_unallow_008_neg.ksh | 1 + tests/zfs-tests/tests/functional/devices/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/devices/devices.cfg | 1 + tests/zfs-tests/tests/functional/devices/devices_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/devices/devices_002_neg.ksh | 1 + tests/zfs-tests/tests/functional/devices/devices_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/devices/devices_common.kshlib | 1 + tests/zfs-tests/tests/functional/devices/setup.ksh | 1 + tests/zfs-tests/tests/functional/direct/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio.cfg | 1 + tests/zfs-tests/tests/functional/direct/dio.kshlib | 1 + tests/zfs-tests/tests/functional/direct/dio_aligned_block.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_async_always.ksh | 1 + .../tests/functional/direct/dio_async_fio_ioengines.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_compression.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_dedup.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_encryption.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_grow_block.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_loopback_dev.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_max_recordsize.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_mixed.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_mmap.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_overwrites.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_property.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_random.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_read_verify.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_recordsize.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_unaligned_block.ksh | 1 + .../zfs-tests/tests/functional/direct/dio_unaligned_filesize.ksh | 1 + .../zfs-tests/tests/functional/direct/dio_write_stable_pages.ksh | 1 + tests/zfs-tests/tests/functional/direct/dio_write_verify.ksh | 1 + tests/zfs-tests/tests/functional/direct/setup.ksh | 1 + tests/zfs-tests/tests/functional/dos_attributes/cleanup.ksh | 1 + .../tests/functional/dos_attributes/read_dos_attrs_001.ksh | 1 + tests/zfs-tests/tests/functional/dos_attributes/setup.ksh | 1 + .../tests/functional/dos_attributes/write_dos_attrs_001.ksh | 1 + tests/zfs-tests/tests/functional/events/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/events/events.cfg | 1 + tests/zfs-tests/tests/functional/events/events_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/events/events_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/events/events_common.kshlib | 1 + tests/zfs-tests/tests/functional/events/setup.ksh | 1 + tests/zfs-tests/tests/functional/events/zed_cksum_config.ksh | 1 + tests/zfs-tests/tests/functional/events/zed_cksum_reported.ksh | 1 + .../zfs-tests/tests/functional/events/zed_diagnose_multiple.ksh | 1 + tests/zfs-tests/tests/functional/events/zed_fd_spill.ksh | 1 + tests/zfs-tests/tests/functional/events/zed_io_config.ksh | 1 + tests/zfs-tests/tests/functional/events/zed_rc_filter.ksh | 1 + tests/zfs-tests/tests/functional/events/zed_slow_io.ksh | 1 + .../zfs-tests/tests/functional/events/zed_slow_io_many_vdevs.ksh | 1 + tests/zfs-tests/tests/functional/exec/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/exec/exec_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/exec/exec_002_neg.ksh | 1 + tests/zfs-tests/tests/functional/exec/setup.ksh | 1 + tests/zfs-tests/tests/functional/fadvise/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/fadvise/fadvise_sequential.ksh | 1 + tests/zfs-tests/tests/functional/fadvise/setup.ksh | 1 + tests/zfs-tests/tests/functional/fallocate/cleanup.ksh | 1 + .../zfs-tests/tests/functional/fallocate/fallocate_prealloc.ksh | 1 + .../tests/functional/fallocate/fallocate_punch-hole.ksh | 1 + .../tests/functional/fallocate/fallocate_zero-range.ksh | 1 + tests/zfs-tests/tests/functional/fallocate/setup.ksh | 1 + tests/zfs-tests/tests/functional/fault/auto_offline_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/fault/auto_online_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/fault/auto_online_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/fault/auto_replace_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/fault/auto_replace_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/fault/auto_spare_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/fault/auto_spare_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/fault/auto_spare_ashift.ksh | 1 + tests/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh | 1 + tests/zfs-tests/tests/functional/fault/auto_spare_shared.ksh | 1 + tests/zfs-tests/tests/functional/fault/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/fault/decompress_fault.ksh | 1 + tests/zfs-tests/tests/functional/fault/decrypt_fault.ksh | 1 + tests/zfs-tests/tests/functional/fault/fault.cfg | 1 + tests/zfs-tests/tests/functional/fault/fault_limits.ksh | 1 + tests/zfs-tests/tests/functional/fault/scrub_after_resilver.ksh | 1 + tests/zfs-tests/tests/functional/fault/setup.ksh | 1 + .../zfs-tests/tests/functional/fault/suspend_on_probe_errors.ksh | 1 + tests/zfs-tests/tests/functional/fault/suspend_resume_single.ksh | 1 + tests/zfs-tests/tests/functional/fault/zpool_status_-s.ksh | 1 + .../functional/features/async_destroy/async_destroy_001_pos.ksh | 1 + .../tests/functional/features/async_destroy/cleanup.ksh | 1 + .../zfs-tests/tests/functional/features/async_destroy/setup.ksh | 1 + .../zfs-tests/tests/functional/features/large_dnode/cleanup.ksh | 1 + .../functional/features/large_dnode/large_dnode_001_pos.ksh | 1 + .../functional/features/large_dnode/large_dnode_002_pos.ksh | 1 + .../functional/features/large_dnode/large_dnode_003_pos.ksh | 1 + .../functional/features/large_dnode/large_dnode_004_neg.ksh | 1 + .../functional/features/large_dnode/large_dnode_005_pos.ksh | 1 + .../functional/features/large_dnode/large_dnode_006_pos.ksh | 1 + .../functional/features/large_dnode/large_dnode_007_neg.ksh | 1 + .../functional/features/large_dnode/large_dnode_008_pos.ksh | 1 + .../functional/features/large_dnode/large_dnode_009_pos.ksh | 1 + tests/zfs-tests/tests/functional/features/large_dnode/setup.ksh | 1 + tests/zfs-tests/tests/functional/grow/grow.cfg | 1 + tests/zfs-tests/tests/functional/grow/grow_pool_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/grow/grow_replicas_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/history/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/history/history.cfg | 1 + tests/zfs-tests/tests/functional/history/history_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/history/history_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/history/history_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/history/history_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/history/history_005_neg.ksh | 1 + tests/zfs-tests/tests/functional/history/history_006_neg.ksh | 1 + tests/zfs-tests/tests/functional/history/history_007_pos.ksh | 1 + tests/zfs-tests/tests/functional/history/history_008_pos.ksh | 1 + tests/zfs-tests/tests/functional/history/history_009_pos.ksh | 1 + tests/zfs-tests/tests/functional/history/history_010_pos.ksh | 1 + tests/zfs-tests/tests/functional/history/history_common.kshlib | 1 + tests/zfs-tests/tests/functional/history/setup.ksh | 1 + tests/zfs-tests/tests/functional/hkdf/hkdf_test.c | 1 + tests/zfs-tests/tests/functional/idmap_mount/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/idmap_mount/idmap_mount.cfg | 1 + tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_001.ksh | 1 + tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_002.ksh | 1 + tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_003.ksh | 1 + tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_004.ksh | 1 + tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_005.ksh | 1 + .../tests/functional/idmap_mount/idmap_mount_common.kshlib | 1 + tests/zfs-tests/tests/functional/idmap_mount/setup.ksh | 1 + tests/zfs-tests/tests/functional/inheritance/README.config | 1 + tests/zfs-tests/tests/functional/inheritance/README.state | 1 + tests/zfs-tests/tests/functional/inheritance/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/inheritance/config001.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config002.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config003.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config004.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config005.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config006.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config007.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config008.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config009.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config010.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config011.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config012.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config013.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config014.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config015.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config016.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config017.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config018.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config019.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config020.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config021.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config022.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config023.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/config024.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/inherit.kshlib | 1 + tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/inheritance/state001.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state002.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state003.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state004.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state005.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state006.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state007.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state008.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state009.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state010.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state011.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state012.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state013.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state014.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state015.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state016.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state017.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state018.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state019.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state020.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state021.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state022.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state023.cfg | 1 + tests/zfs-tests/tests/functional/inheritance/state024.cfg | 1 + tests/zfs-tests/tests/functional/inuse/inuse.cfg | 1 + tests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/inuse/inuse_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/inuse/inuse_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/inuse/inuse_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/inuse/inuse_007_pos.ksh | 1 + tests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh | 1 + tests/zfs-tests/tests/functional/inuse/inuse_009_pos.ksh | 1 + tests/zfs-tests/tests/functional/inuse/setup.ksh | 1 + tests/zfs-tests/tests/functional/io/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/io/io.cfg | 1 + tests/zfs-tests/tests/functional/io/io_uring.ksh | 1 + tests/zfs-tests/tests/functional/io/libaio.ksh | 1 + tests/zfs-tests/tests/functional/io/mmap.ksh | 1 + tests/zfs-tests/tests/functional/io/posixaio.ksh | 1 + tests/zfs-tests/tests/functional/io/psync.ksh | 1 + tests/zfs-tests/tests/functional/io/setup.ksh | 1 + tests/zfs-tests/tests/functional/io/sync.ksh | 1 + tests/zfs-tests/tests/functional/l2arc/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/l2arc/l2arc.cfg | 1 + tests/zfs-tests/tests/functional/l2arc/l2arc_arcstats_pos.ksh | 1 + tests/zfs-tests/tests/functional/l2arc/l2arc_l2miss_pos.ksh | 1 + tests/zfs-tests/tests/functional/l2arc/l2arc_mfuonly_pos.ksh | 1 + tests/zfs-tests/tests/functional/l2arc/persist_l2arc_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/l2arc/persist_l2arc_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/l2arc/persist_l2arc_003_neg.ksh | 1 + tests/zfs-tests/tests/functional/l2arc/persist_l2arc_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/l2arc/persist_l2arc_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/l2arc/setup.ksh | 1 + tests/zfs-tests/tests/functional/large_files/cleanup.ksh | 1 + .../tests/functional/large_files/large_files_001_pos.ksh | 1 + .../tests/functional/large_files/large_files_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/large_files/setup.ksh | 1 + tests/zfs-tests/tests/functional/largest_pool/largest_pool.cfg | 1 + .../tests/functional/largest_pool/largest_pool_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/libzfs/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/libzfs/libzfs_input.ksh | 1 + tests/zfs-tests/tests/functional/libzfs/many_fds.c | 1 + tests/zfs-tests/tests/functional/libzfs/setup.ksh | 1 + tests/zfs-tests/tests/functional/limits/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/limits/filesystem_count.ksh | 1 + tests/zfs-tests/tests/functional/limits/filesystem_limit.ksh | 1 + tests/zfs-tests/tests/functional/limits/setup.ksh | 1 + tests/zfs-tests/tests/functional/limits/snapshot_count.ksh | 1 + tests/zfs-tests/tests/functional/limits/snapshot_limit.ksh | 1 + tests/zfs-tests/tests/functional/link_count/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/link_count/link_count_001.ksh | 1 + .../tests/functional/link_count/link_count_root_inode.ksh | 1 + tests/zfs-tests/tests/functional/link_count/setup.ksh | 1 + .../tests/functional/log_spacemap/log_spacemap_import_logs.ksh | 1 + tests/zfs-tests/tests/functional/longname/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/longname/longname_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/longname/longname_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/longname/longname_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/longname/setup.ksh | 1 + tests/zfs-tests/tests/functional/luks/luks_sanity.ksh | 1 + tests/zfs-tests/tests/functional/migration/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration.cfg | 1 + tests/zfs-tests/tests/functional/migration/migration.kshlib | 1 + tests/zfs-tests/tests/functional/migration/migration_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration_007_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration_008_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration_009_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration_010_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration_011_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/migration_012_pos.ksh | 1 + tests/zfs-tests/tests/functional/migration/setup.ksh | 1 + tests/zfs-tests/tests/functional/mmap/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/mmap/mmap.cfg | 1 + tests/zfs-tests/tests/functional/mmap/mmap_libaio_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/mmap/mmap_mixed.ksh | 1 + tests/zfs-tests/tests/functional/mmap/mmap_read_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/mmap/mmap_seek_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/mmap/mmap_sync_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/mmap/setup.ksh | 1 + tests/zfs-tests/tests/functional/mmp/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp.cfg | 1 + tests/zfs-tests/tests/functional/mmp/mmp.kshlib | 1 + tests/zfs-tests/tests/functional/mmp/mmp_active_import.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_exported_import.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_hostid.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_inactive_import.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_interval.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_on_off.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_on_thread.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_on_zdb.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_reset_interval.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_write_distribution.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_write_slow_disk.ksh | 1 + tests/zfs-tests/tests/functional/mmp/mmp_write_uberblocks.ksh | 1 + tests/zfs-tests/tests/functional/mmp/multihost_history.ksh | 1 + tests/zfs-tests/tests/functional/mmp/setup.ksh | 1 + tests/zfs-tests/tests/functional/mount/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/mount/setup.ksh | 1 + tests/zfs-tests/tests/functional/mount/umount_001.ksh | 1 + tests/zfs-tests/tests/functional/mount/umount_unlinked_drain.ksh | 1 + tests/zfs-tests/tests/functional/mount/umountall_001.ksh | 1 + tests/zfs-tests/tests/functional/mv_files/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/mv_files/mv_files.cfg | 1 + tests/zfs-tests/tests/functional/mv_files/mv_files_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/mv_files/mv_files_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/mv_files/mv_files_common.kshlib | 1 + tests/zfs-tests/tests/functional/mv_files/setup.ksh | 1 + tests/zfs-tests/tests/functional/nestedfs/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/nestedfs/nestedfs_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/nestedfs/setup.ksh | 1 + tests/zfs-tests/tests/functional/no_space/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/no_space/enospc.cfg | 1 + tests/zfs-tests/tests/functional/no_space/enospc_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/no_space/enospc_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/no_space/enospc_df.ksh | 1 + tests/zfs-tests/tests/functional/no_space/enospc_ganging.ksh | 1 + tests/zfs-tests/tests/functional/no_space/enospc_rm.ksh | 1 + tests/zfs-tests/tests/functional/no_space/setup.ksh | 1 + tests/zfs-tests/tests/functional/nopwrite/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/nopwrite/nopwrite.shlib | 1 + tests/zfs-tests/tests/functional/nopwrite/nopwrite_copies.ksh | 1 + tests/zfs-tests/tests/functional/nopwrite/nopwrite_mtime.ksh | 1 + tests/zfs-tests/tests/functional/nopwrite/nopwrite_negative.ksh | 1 + .../tests/functional/nopwrite/nopwrite_promoted_clone.ksh | 1 + tests/zfs-tests/tests/functional/nopwrite/nopwrite_recsize.ksh | 1 + tests/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh | 1 + .../tests/functional/nopwrite/nopwrite_varying_compression.ksh | 1 + tests/zfs-tests/tests/functional/nopwrite/nopwrite_volume.ksh | 1 + tests/zfs-tests/tests/functional/nopwrite/setup.ksh | 1 + tests/zfs-tests/tests/functional/online_offline/cleanup.ksh | 1 + .../zfs-tests/tests/functional/online_offline/online_offline.cfg | 1 + .../tests/functional/online_offline/online_offline_001_pos.ksh | 1 + .../tests/functional/online_offline/online_offline_002_neg.ksh | 1 + .../tests/functional/online_offline/online_offline_003_neg.ksh | 1 + tests/zfs-tests/tests/functional/online_offline/setup.ksh | 1 + tests/zfs-tests/tests/functional/pam/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/pam/pam_basic.ksh | 1 + tests/zfs-tests/tests/functional/pam/pam_change_unmounted.ksh | 1 + tests/zfs-tests/tests/functional/pam/pam_mount_recursively.ksh | 1 + tests/zfs-tests/tests/functional/pam/pam_nounmount.ksh | 1 + tests/zfs-tests/tests/functional/pam/pam_recursive.ksh | 1 + tests/zfs-tests/tests/functional/pam/pam_short_password.ksh | 1 + tests/zfs-tests/tests/functional/pam/setup.ksh | 1 + tests/zfs-tests/tests/functional/pam/utilities.kshlib.in | 1 + .../tests/functional/pool_checkpoint/checkpoint_after_rewind.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_big_rewind.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_capacity.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_conf_change.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_discard.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_discard_busy.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_discard_many.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_indirect.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_invalid.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_lun_expsz.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_open.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_removal.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_rewind.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_ro_rewind.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_sm_scale.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_twice.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_vdev_add.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_zdb.ksh | 1 + .../tests/functional/pool_checkpoint/checkpoint_zhack_feat.ksh | 1 + tests/zfs-tests/tests/functional/pool_checkpoint/cleanup.ksh | 1 + .../tests/functional/pool_checkpoint/pool_checkpoint.kshlib | 1 + tests/zfs-tests/tests/functional/pool_checkpoint/setup.ksh | 1 + .../zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh | 1 + .../zfs-tests/tests/functional/pool_names/pool_names_002_neg.ksh | 1 + tests/zfs-tests/tests/functional/poolversion/cleanup.ksh | 1 + .../tests/functional/poolversion/poolversion_001_pos.ksh | 1 + .../tests/functional/poolversion/poolversion_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/poolversion/setup.ksh | 1 + tests/zfs-tests/tests/functional/privilege/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/privilege/privilege_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/privilege/privilege_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/privilege/setup.ksh | 1 + tests/zfs-tests/tests/functional/procfs/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/procfs/pool_state.ksh | 1 + tests/zfs-tests/tests/functional/procfs/procfs_list_basic.ksh | 1 + .../tests/functional/procfs/procfs_list_concurrent_readers.ksh | 1 + .../zfs-tests/tests/functional/procfs/procfs_list_stale_read.ksh | 1 + tests/zfs-tests/tests/functional/procfs/setup.ksh | 1 + tests/zfs-tests/tests/functional/projectquota/cleanup.ksh | 1 + .../tests/functional/projectquota/projectid_001_pos.ksh | 1 + .../tests/functional/projectquota/projectid_002_pos.ksh | 1 + .../tests/functional/projectquota/projectid_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/projectquota/projectquota.cfg | 1 + .../tests/functional/projectquota/projectquota_001_pos.ksh | 1 + .../tests/functional/projectquota/projectquota_002_pos.ksh | 1 + .../tests/functional/projectquota/projectquota_003_pos.ksh | 1 + .../tests/functional/projectquota/projectquota_004_neg.ksh | 1 + .../tests/functional/projectquota/projectquota_005_pos.ksh | 1 + .../tests/functional/projectquota/projectquota_006_pos.ksh | 1 + .../tests/functional/projectquota/projectquota_007_pos.ksh | 1 + .../tests/functional/projectquota/projectquota_008_pos.ksh | 1 + .../tests/functional/projectquota/projectquota_009_pos.ksh | 1 + .../tests/functional/projectquota/projectquota_common.kshlib | 1 + .../tests/functional/projectquota/projectspace_001_pos.ksh | 1 + .../tests/functional/projectquota/projectspace_002_pos.ksh | 1 + .../tests/functional/projectquota/projectspace_003_pos.ksh | 1 + .../tests/functional/projectquota/projectspace_004_pos.ksh | 1 + .../tests/functional/projectquota/projecttree_001_pos.ksh | 1 + .../tests/functional/projectquota/projecttree_002_pos.ksh | 1 + .../tests/functional/projectquota/projecttree_003_neg.ksh | 1 + tests/zfs-tests/tests/functional/projectquota/setup.ksh | 1 + tests/zfs-tests/tests/functional/pyzfs/pyzfs_unittest.ksh.in | 1 + tests/zfs-tests/tests/functional/quota/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/quota/quota.cfg | 1 + tests/zfs-tests/tests/functional/quota/quota.kshlib | 1 + tests/zfs-tests/tests/functional/quota/quota_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/quota/quota_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/quota/quota_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/quota/quota_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/quota/quota_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/quota/quota_006_neg.ksh | 1 + tests/zfs-tests/tests/functional/quota/setup.ksh | 1 + tests/zfs-tests/tests/functional/raidz/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/raidz/raidz_001_neg.ksh | 1 + tests/zfs-tests/tests/functional/raidz/raidz_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/raidz/raidz_expand_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/raidz/raidz_expand_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/raidz/raidz_expand_003_neg.ksh | 1 + tests/zfs-tests/tests/functional/raidz/raidz_expand_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/raidz/raidz_expand_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/raidz/raidz_expand_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/raidz/raidz_expand_006_neg.ksh | 1 + tests/zfs-tests/tests/functional/raidz/raidz_expand_007_neg.ksh | 1 + tests/zfs-tests/tests/functional/raidz/setup.ksh | 1 + tests/zfs-tests/tests/functional/redacted_send/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/redacted_send/redacted.cfg | 1 + tests/zfs-tests/tests/functional/redacted_send/redacted.kshlib | 1 + .../tests/functional/redacted_send/redacted_compressed.ksh | 1 + .../tests/functional/redacted_send/redacted_contents.ksh | 1 + .../tests/functional/redacted_send/redacted_deleted.ksh | 1 + .../tests/functional/redacted_send/redacted_disabled_feature.ksh | 1 + .../tests/functional/redacted_send/redacted_embedded.ksh | 1 + .../zfs-tests/tests/functional/redacted_send/redacted_holes.ksh | 1 + .../tests/functional/redacted_send/redacted_incrementals.ksh | 1 + .../tests/functional/redacted_send/redacted_largeblocks.ksh | 1 + .../tests/functional/redacted_send/redacted_many_clones.ksh | 1 + .../tests/functional/redacted_send/redacted_mixed_recsize.ksh | 1 + .../zfs-tests/tests/functional/redacted_send/redacted_mounts.ksh | 1 + .../tests/functional/redacted_send/redacted_negative.ksh | 1 + .../zfs-tests/tests/functional/redacted_send/redacted_origin.ksh | 1 + .../zfs-tests/tests/functional/redacted_send/redacted_panic.ksh | 1 + .../zfs-tests/tests/functional/redacted_send/redacted_props.ksh | 1 + .../zfs-tests/tests/functional/redacted_send/redacted_resume.ksh | 1 + tests/zfs-tests/tests/functional/redacted_send/redacted_size.ksh | 1 + .../zfs-tests/tests/functional/redacted_send/redacted_volume.ksh | 1 + tests/zfs-tests/tests/functional/redacted_send/setup.ksh | 1 + tests/zfs-tests/tests/functional/redundancy/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/redundancy/redundancy.cfg | 1 + tests/zfs-tests/tests/functional/redundancy/redundancy.kshlib | 1 + tests/zfs-tests/tests/functional/redundancy/redundancy_draid.ksh | 1 + .../zfs-tests/tests/functional/redundancy/redundancy_draid1.ksh | 1 + .../zfs-tests/tests/functional/redundancy/redundancy_draid2.ksh | 1 + .../zfs-tests/tests/functional/redundancy/redundancy_draid3.ksh | 1 + .../tests/functional/redundancy/redundancy_draid_damaged1.ksh | 1 + .../tests/functional/redundancy/redundancy_draid_damaged2.ksh | 1 + .../tests/functional/redundancy/redundancy_draid_spare1.ksh | 1 + .../tests/functional/redundancy/redundancy_draid_spare2.ksh | 1 + .../tests/functional/redundancy/redundancy_draid_spare3.ksh | 1 + .../zfs-tests/tests/functional/redundancy/redundancy_mirror.ksh | 1 + tests/zfs-tests/tests/functional/redundancy/redundancy_raidz.ksh | 1 + .../zfs-tests/tests/functional/redundancy/redundancy_raidz1.ksh | 1 + .../zfs-tests/tests/functional/redundancy/redundancy_raidz2.ksh | 1 + .../zfs-tests/tests/functional/redundancy/redundancy_raidz3.ksh | 1 + .../zfs-tests/tests/functional/redundancy/redundancy_stripe.ksh | 1 + tests/zfs-tests/tests/functional/redundancy/setup.ksh | 1 + tests/zfs-tests/tests/functional/refquota/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/refquota/refquota_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/refquota/refquota_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/refquota/refquota_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/refquota/refquota_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/refquota/refquota_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/refquota/refquota_006_neg.ksh | 1 + tests/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh | 1 + tests/zfs-tests/tests/functional/refquota/refquota_008_neg.ksh | 1 + tests/zfs-tests/tests/functional/refquota/setup.ksh | 1 + tests/zfs-tests/tests/functional/refreserv/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/refreserv/refreserv.cfg | 1 + tests/zfs-tests/tests/functional/refreserv/refreserv_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/refreserv/refreserv_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/refreserv/refreserv_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/refreserv/refreserv_005_pos.ksh | 1 + .../tests/functional/refreserv/refreserv_multi_raidz.ksh | 1 + tests/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh | 1 + tests/zfs-tests/tests/functional/refreserv/setup.ksh | 1 + tests/zfs-tests/tests/functional/removal/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal.kshlib | 1 + tests/zfs-tests/tests/functional/removal/removal_all_vdev.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_cancel.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_check_space.ksh | 1 + .../tests/functional/removal/removal_condense_export.ksh | 1 + .../tests/functional/removal/removal_multiple_indirection.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_nopwrite.ksh | 1 + .../tests/functional/removal/removal_remap_deadlists.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_reservation.ksh | 1 + .../zfs-tests/tests/functional/removal/removal_resume_export.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_sanity.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_with_add.ksh | 1 + .../tests/functional/removal/removal_with_create_fs.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_with_dedup.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_with_errors.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_with_export.ksh | 1 + .../zfs-tests/tests/functional/removal/removal_with_faulted.ksh | 1 + .../zfs-tests/tests/functional/removal/removal_with_ganging.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_with_hole.ksh | 1 + .../zfs-tests/tests/functional/removal/removal_with_indirect.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_with_remove.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_with_scrub.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_with_send.ksh | 1 + .../tests/functional/removal/removal_with_send_recv.ksh | 1 + .../zfs-tests/tests/functional/removal/removal_with_snapshot.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_with_write.ksh | 1 + tests/zfs-tests/tests/functional/removal/removal_with_zdb.ksh | 1 + .../zfs-tests/tests/functional/removal/remove_attach_mirror.ksh | 1 + tests/zfs-tests/tests/functional/removal/remove_expanded.ksh | 1 + tests/zfs-tests/tests/functional/removal/remove_indirect.ksh | 1 + tests/zfs-tests/tests/functional/removal/remove_mirror.ksh | 1 + .../zfs-tests/tests/functional/removal/remove_mirror_sanity.ksh | 1 + tests/zfs-tests/tests/functional/removal/remove_raidz.ksh | 1 + tests/zfs-tests/tests/functional/rename_dirs/cleanup.ksh | 1 + .../tests/functional/rename_dirs/rename_dirs_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/rename_dirs/setup.ksh | 1 + tests/zfs-tests/tests/functional/renameat2/cleanup.ksh | 1 + .../zfs-tests/tests/functional/renameat2/renameat2_exchange.ksh | 1 + .../zfs-tests/tests/functional/renameat2/renameat2_noreplace.ksh | 1 + .../zfs-tests/tests/functional/renameat2/renameat2_whiteout.ksh | 1 + tests/zfs-tests/tests/functional/renameat2/setup.ksh | 1 + tests/zfs-tests/tests/functional/replacement/attach_import.ksh | 1 + tests/zfs-tests/tests/functional/replacement/attach_multiple.ksh | 1 + tests/zfs-tests/tests/functional/replacement/attach_rebuild.ksh | 1 + tests/zfs-tests/tests/functional/replacement/attach_resilver.ksh | 1 + tests/zfs-tests/tests/functional/replacement/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/replacement/detach.ksh | 1 + .../tests/functional/replacement/rebuild_disabled_feature.ksh | 1 + .../zfs-tests/tests/functional/replacement/rebuild_multiple.ksh | 1 + tests/zfs-tests/tests/functional/replacement/rebuild_raidz.ksh | 1 + tests/zfs-tests/tests/functional/replacement/replace_import.ksh | 1 + tests/zfs-tests/tests/functional/replacement/replace_rebuild.ksh | 1 + .../zfs-tests/tests/functional/replacement/replace_resilver.ksh | 1 + tests/zfs-tests/tests/functional/replacement/replacement.cfg | 1 + .../tests/functional/replacement/resilver_restart_001.ksh | 1 + .../tests/functional/replacement/resilver_restart_002.ksh | 1 + tests/zfs-tests/tests/functional/replacement/scrub_cancel.ksh | 1 + tests/zfs-tests/tests/functional/replacement/setup.ksh | 1 + tests/zfs-tests/tests/functional/reservation/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/reservation/reservation.cfg | 1 + tests/zfs-tests/tests/functional/reservation/reservation.shlib | 1 + .../tests/functional/reservation/reservation_001_pos.ksh | 1 + .../tests/functional/reservation/reservation_002_pos.ksh | 1 + .../tests/functional/reservation/reservation_003_pos.ksh | 1 + .../tests/functional/reservation/reservation_004_pos.ksh | 1 + .../tests/functional/reservation/reservation_005_pos.ksh | 1 + .../tests/functional/reservation/reservation_006_pos.ksh | 1 + .../tests/functional/reservation/reservation_007_pos.ksh | 1 + .../tests/functional/reservation/reservation_008_pos.ksh | 1 + .../tests/functional/reservation/reservation_009_pos.ksh | 1 + .../tests/functional/reservation/reservation_010_pos.ksh | 1 + .../tests/functional/reservation/reservation_011_pos.ksh | 1 + .../tests/functional/reservation/reservation_012_pos.ksh | 1 + .../tests/functional/reservation/reservation_013_pos.ksh | 1 + .../tests/functional/reservation/reservation_014_pos.ksh | 1 + .../tests/functional/reservation/reservation_015_pos.ksh | 1 + .../tests/functional/reservation/reservation_016_pos.ksh | 1 + .../tests/functional/reservation/reservation_017_pos.ksh | 1 + .../tests/functional/reservation/reservation_018_pos.ksh | 1 + .../tests/functional/reservation/reservation_019_pos.ksh | 1 + .../tests/functional/reservation/reservation_020_pos.ksh | 1 + .../tests/functional/reservation/reservation_021_neg.ksh | 1 + .../tests/functional/reservation/reservation_022_pos.ksh | 1 + tests/zfs-tests/tests/functional/reservation/setup.ksh | 1 + tests/zfs-tests/tests/functional/rootpool/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/rootpool/rootpool_002_neg.ksh | 1 + tests/zfs-tests/tests/functional/rootpool/rootpool_003_neg.ksh | 1 + tests/zfs-tests/tests/functional/rootpool/rootpool_007_pos.ksh | 1 + tests/zfs-tests/tests/functional/rootpool/setup.ksh | 1 + tests/zfs-tests/tests/functional/rsend/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/rsend/recv_dedup.ksh | 1 + .../tests/functional/rsend/recv_dedup_encrypted_zvol.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend.cfg | 1 + tests/zfs-tests/tests/functional/rsend/rsend.kshlib | 1 + tests/zfs-tests/tests/functional/rsend/rsend_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_007_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_008_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_009_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_010_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_011_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_012_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_013_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_014_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_016_neg.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_019_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_020_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_021_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_022_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_024_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_025_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_026_neg.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_027_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_028_neg.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_029_neg.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_030_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/rsend_031_pos.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send-L_toggle.ksh | 1 + .../zfs-tests/tests/functional/rsend/send-c_embedded_blocks.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send-c_incremental.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send-c_longname.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send-c_lz4_disabled.ksh | 1 + .../tests/functional/rsend/send-c_mixed_compression.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send-c_props.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send-c_recv_dedup.ksh | 1 + .../tests/functional/rsend/send-c_recv_lz4_disabled.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send-c_resume.ksh | 1 + .../tests/functional/rsend/send-c_stream_size_estimate.ksh | 1 + .../zfs-tests/tests/functional/rsend/send-c_verify_contents.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send-c_verify_ratio.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send-c_volume.ksh | 1 + .../tests/functional/rsend/send-c_zstream_recompress.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send-c_zstreamdump.ksh | 1 + .../zfs-tests/tests/functional/rsend/send-cpL_varied_recsize.ksh | 1 + .../zfs-tests/tests/functional/rsend/send-wR_encrypted_zvol.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_doall.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh | 1 + .../tests/functional/rsend/send_encrypted_freeobjects.ksh | 1 + .../tests/functional/rsend/send_encrypted_hierarchy.ksh | 1 + .../tests/functional/rsend/send_encrypted_incremental.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_encrypted_props.ksh | 1 + .../tests/functional/rsend/send_encrypted_truncated_files.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_freeobjects.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_holds.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_hole_birth.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_invalid.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_mixed_raw.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_partial_dataset.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_raw_ashift.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_raw_large_blocks.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_raw_spill_block.ksh | 1 + .../zfs-tests/tests/functional/rsend/send_realloc_dnode_size.ksh | 1 + .../tests/functional/rsend/send_realloc_encrypted_files.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_realloc_files.ksh | 1 + tests/zfs-tests/tests/functional/rsend/send_spill_block.ksh | 1 + tests/zfs-tests/tests/functional/rsend/setup.ksh | 1 + tests/zfs-tests/tests/functional/scrub_mirror/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/scrub_mirror/default.cfg | 1 + .../tests/functional/scrub_mirror/scrub_mirror_001_pos.ksh | 1 + .../tests/functional/scrub_mirror/scrub_mirror_002_pos.ksh | 1 + .../tests/functional/scrub_mirror/scrub_mirror_003_pos.ksh | 1 + .../tests/functional/scrub_mirror/scrub_mirror_004_pos.ksh | 1 + .../tests/functional/scrub_mirror/scrub_mirror_common.kshlib | 1 + tests/zfs-tests/tests/functional/scrub_mirror/setup.ksh | 1 + tests/zfs-tests/tests/functional/simd/simd_supported.ksh | 1 + tests/zfs-tests/tests/functional/slog/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/slog/setup.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog.cfg | 1 + tests/zfs-tests/tests/functional/slog/slog.kshlib | 1 + tests/zfs-tests/tests/functional/slog/slog_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_007_pos.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_008_neg.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_009_neg.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_010_neg.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_011_neg.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_012_neg.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_013_pos.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_014_pos.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_015_neg.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_016_pos.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_replay_fs_001.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_replay_fs_002.ksh | 1 + tests/zfs-tests/tests/functional/slog/slog_replay_volume.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/rollback_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/rollback_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/rollback_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/setup.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot.cfg | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_007_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_008_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_009_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_010_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_011_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_012_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_013_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_014_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_015_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_016_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_017_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapshot/snapshot_018_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapused/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/snapused/setup.ksh | 1 + tests/zfs-tests/tests/functional/snapused/snapused.kshlib | 1 + tests/zfs-tests/tests/functional/snapused/snapused_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapused/snapused_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapused/snapused_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapused/snapused_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/snapused/snapused_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/sparse/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/sparse/setup.ksh | 1 + tests/zfs-tests/tests/functional/sparse/sparse.cfg | 1 + tests/zfs-tests/tests/functional/sparse/sparse_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/stat/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/stat/setup.ksh | 1 + tests/zfs-tests/tests/functional/stat/stat_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/stat/statx_dioalign.ksh | 1 + tests/zfs-tests/tests/functional/suid/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/suid/setup.ksh | 1 + tests/zfs-tests/tests/functional/suid/suid_write_to_none.ksh | 1 + tests/zfs-tests/tests/functional/suid/suid_write_to_sgid.ksh | 1 + tests/zfs-tests/tests/functional/suid/suid_write_to_suid.ksh | 1 + .../zfs-tests/tests/functional/suid/suid_write_to_suid_sgid.ksh | 1 + tests/zfs-tests/tests/functional/suid/suid_write_zil_replay.ksh | 1 + tests/zfs-tests/tests/functional/tmpfile/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/tmpfile/setup.ksh | 1 + tests/zfs-tests/tests/functional/tmpfile/tmpfile_stat_mode.c | 1 + tests/zfs-tests/tests/functional/trim/autotrim_config.ksh | 1 + tests/zfs-tests/tests/functional/trim/autotrim_integrity.ksh | 1 + .../zfs-tests/tests/functional/trim/autotrim_trim_integrity.ksh | 1 + tests/zfs-tests/tests/functional/trim/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/trim/setup.ksh | 1 + tests/zfs-tests/tests/functional/trim/trim.cfg | 1 + tests/zfs-tests/tests/functional/trim/trim.kshlib | 1 + tests/zfs-tests/tests/functional/trim/trim_config.ksh | 1 + tests/zfs-tests/tests/functional/trim/trim_integrity.ksh | 1 + tests/zfs-tests/tests/functional/trim/trim_l2arc.ksh | 1 + tests/zfs-tests/tests/functional/truncate/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/truncate/setup.ksh | 1 + tests/zfs-tests/tests/functional/truncate/truncate.cfg | 1 + tests/zfs-tests/tests/functional/truncate/truncate_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/truncate/truncate_002_pos.ksh | 1 + .../zfs-tests/tests/functional/truncate/truncate_timestamps.ksh | 1 + tests/zfs-tests/tests/functional/upgrade/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/upgrade/setup.ksh | 1 + tests/zfs-tests/tests/functional/upgrade/upgrade_common.kshlib | 1 + .../tests/functional/upgrade/upgrade_projectquota_001_pos.ksh | 1 + .../tests/functional/upgrade/upgrade_projectquota_002_pos.ksh | 1 + .../zfs-tests/tests/functional/upgrade/upgrade_readonly_pool.ksh | 1 + .../tests/functional/upgrade/upgrade_userobj_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/user_namespace/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/user_namespace/setup.ksh | 1 + .../zfs-tests/tests/functional/user_namespace/user_namespace.cfg | 1 + .../tests/functional/user_namespace/user_namespace_001.ksh | 1 + .../tests/functional/user_namespace/user_namespace_002.ksh | 1 + .../tests/functional/user_namespace/user_namespace_003.ksh | 1 + .../tests/functional/user_namespace/user_namespace_004.ksh | 1 + .../tests/functional/user_namespace/user_namespace_common.kshlib | 1 + tests/zfs-tests/tests/functional/userquota/cleanup.ksh | 1 + .../zfs-tests/tests/functional/userquota/groupspace_001_pos.ksh | 1 + .../zfs-tests/tests/functional/userquota/groupspace_002_pos.ksh | 1 + .../zfs-tests/tests/functional/userquota/groupspace_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/setup.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota.cfg | 1 + tests/zfs-tests/tests/functional/userquota/userquota_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_005_neg.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_007_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_008_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_009_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_010_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_011_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_012_neg.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userquota_013_pos.ksh | 1 + .../zfs-tests/tests/functional/userquota/userquota_common.kshlib | 1 + tests/zfs-tests/tests/functional/userquota/userspace_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userspace_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/userquota/userspace_003_pos.ksh | 1 + .../zfs-tests/tests/functional/userquota/userspace_encrypted.ksh | 1 + .../tests/functional/userquota/userspace_encrypted_13709.ksh | 1 + .../tests/functional/userquota/userspace_send_encrypted.ksh | 1 + tests/zfs-tests/tests/functional/vdev_disk/page_alignment.c | 1 + tests/zfs-tests/tests/functional/vdev_zaps/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/vdev_zaps/setup.ksh | 1 + tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps.kshlib | 1 + tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_003_pos.ksh | 1 + tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_007_pos.ksh | 1 + tests/zfs-tests/tests/functional/write_dirs/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/write_dirs/setup.ksh | 1 + .../zfs-tests/tests/functional/write_dirs/write_dirs_001_pos.ksh | 1 + .../zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh | 1 + tests/zfs-tests/tests/functional/xattr/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/xattr/setup.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr.cfg | 1 + tests/zfs-tests/tests/functional/xattr/xattr_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_004_pos.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_005_pos.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_006_pos.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_007_neg.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_008_pos.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_009_neg.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_010_neg.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_011_pos.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_012_pos.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_013_pos.ksh | 1 + tests/zfs-tests/tests/functional/xattr/xattr_common.kshlib | 1 + tests/zfs-tests/tests/functional/xattr/xattr_compat.ksh | 1 + tests/zfs-tests/tests/functional/zap_shrink/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/zap_shrink/setup.ksh | 1 + .../zfs-tests/tests/functional/zap_shrink/zap_shrink_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/zpool_influxdb/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/zpool_influxdb/setup.ksh | 1 + .../zfs-tests/tests/functional/zpool_influxdb/zpool_influxdb.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol.cfg | 1 + tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/setup.ksh | 1 + .../zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC.cfg | 1 + .../tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC_001_pos.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol_cli/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol_cli/setup.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli.cfg | 1 + .../tests/functional/zvol/zvol_cli/zvol_cli_001_pos.ksh | 1 + .../tests/functional/zvol/zvol_cli/zvol_cli_002_pos.ksh | 1 + .../tests/functional/zvol/zvol_cli/zvol_cli_003_neg.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol_common.shlib | 1 + tests/zfs-tests/tests/functional/zvol/zvol_misc/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol_misc/setup.ksh | 1 + .../tests/functional/zvol/zvol_misc/zvol_misc_001_neg.ksh | 1 + .../tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh | 1 + .../tests/functional/zvol/zvol_misc/zvol_misc_003_neg.ksh | 1 + .../tests/functional/zvol/zvol_misc/zvol_misc_004_pos.ksh | 1 + .../tests/functional/zvol/zvol_misc/zvol_misc_005_neg.ksh | 1 + .../tests/functional/zvol/zvol_misc/zvol_misc_006_pos.ksh | 1 + .../tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib | 1 + .../zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_fua.ksh | 1 + .../tests/functional/zvol/zvol_misc/zvol_misc_hierarchy.ksh | 1 + .../tests/functional/zvol/zvol_misc/zvol_misc_rename_inuse.ksh | 1 + .../tests/functional/zvol/zvol_misc/zvol_misc_snapdev.ksh | 1 + .../zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_trim.ksh | 1 + .../tests/functional/zvol/zvol_misc/zvol_misc_volmode.ksh | 1 + .../zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_zil.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol_stress/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol_stress/setup.ksh | 1 + .../zfs-tests/tests/functional/zvol/zvol_stress/zvol_stress.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol_swap/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol_swap/setup.ksh | 1 + tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap.cfg | 1 + .../tests/functional/zvol/zvol_swap/zvol_swap_001_pos.ksh | 1 + .../tests/functional/zvol/zvol_swap/zvol_swap_002_pos.ksh | 1 + .../tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh | 1 + .../tests/functional/zvol/zvol_swap/zvol_swap_004_pos.ksh | 1 + .../tests/functional/zvol/zvol_swap/zvol_swap_005_pos.ksh | 1 + .../tests/functional/zvol/zvol_swap/zvol_swap_006_pos.ksh | 1 + tests/zfs-tests/tests/perf/fio/mkfiles.fio | 1 + tests/zfs-tests/tests/perf/fio/random_reads.fio | 1 + tests/zfs-tests/tests/perf/fio/random_readwrite.fio | 1 + tests/zfs-tests/tests/perf/fio/random_readwrite_fixed.fio | 1 + tests/zfs-tests/tests/perf/fio/random_writes.fio | 1 + tests/zfs-tests/tests/perf/fio/sequential_reads.fio | 1 + tests/zfs-tests/tests/perf/fio/sequential_readwrite.fio | 1 + tests/zfs-tests/tests/perf/fio/sequential_writes.fio | 1 + tests/zfs-tests/tests/perf/nfs-sample.cfg | 1 + tests/zfs-tests/tests/perf/perf.shlib | 1 + tests/zfs-tests/tests/perf/regression/random_reads.ksh | 1 + tests/zfs-tests/tests/perf/regression/random_readwrite.ksh | 1 + tests/zfs-tests/tests/perf/regression/random_readwrite_fixed.ksh | 1 + tests/zfs-tests/tests/perf/regression/random_writes.ksh | 1 + tests/zfs-tests/tests/perf/regression/random_writes_zil.ksh | 1 + tests/zfs-tests/tests/perf/regression/sequential_reads.ksh | 1 + .../tests/perf/regression/sequential_reads_arc_cached.ksh | 1 + .../tests/perf/regression/sequential_reads_arc_cached_clone.ksh | 1 + .../tests/perf/regression/sequential_reads_dbuf_cached.ksh | 1 + tests/zfs-tests/tests/perf/regression/sequential_writes.ksh | 1 + tests/zfs-tests/tests/perf/regression/setup.ksh | 1 + tests/zfs-tests/tests/perf/scripts/prefetch_io.sh | 1 + udev/zvol_id.c | 1 + 2916 files changed, 2916 insertions(+) diff --git a/cmd/arcstat.in b/cmd/arcstat.in index 5016e16d068..534e4f422dd 100755 --- a/cmd/arcstat.in +++ b/cmd/arcstat.in @@ -1,4 +1,5 @@ #!/usr/bin/env @PYTHON_SHEBANG@ +# SPDX-License-Identifier: CDDL-1.0 # # Print out ZFS ARC Statistics exported via kstat(1) # For a definition of fields, or usage, use arcstat -v diff --git a/cmd/dbufstat.in b/cmd/dbufstat.in index 1252496577b..37e765f5c35 100755 --- a/cmd/dbufstat.in +++ b/cmd/dbufstat.in @@ -1,4 +1,5 @@ #!/usr/bin/env @PYTHON_SHEBANG@ +# SPDX-License-Identifier: CDDL-1.0 # # Print out statistics for all cached dmu buffers. This information # is available through the dbufs kstat and may be post-processed as diff --git a/cmd/mount_zfs.c b/cmd/mount_zfs.c index 283074daf71..16aea8c7e03 100644 --- a/cmd/mount_zfs.c +++ b/cmd/mount_zfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/raidz_test/raidz_bench.c b/cmd/raidz_test/raidz_bench.c index 730e6e1a040..db51b8818aa 100644 --- a/cmd/raidz_test/raidz_bench.c +++ b/cmd/raidz_test/raidz_bench.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/raidz_test/raidz_test.c b/cmd/raidz_test/raidz_test.c index 6a018ecf073..cf3e123c609 100644 --- a/cmd/raidz_test/raidz_test.c +++ b/cmd/raidz_test/raidz_test.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/raidz_test/raidz_test.h b/cmd/raidz_test/raidz_test.h index f912e281f6f..f0b854cefb5 100644 --- a/cmd/raidz_test/raidz_test.h +++ b/cmd/raidz_test/raidz_test.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index 1d7fe862af5..1ca97d5c153 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zdb/zdb.h b/cmd/zdb/zdb.h index a7d453c8c0d..6b6c9169816 100644 --- a/cmd/zdb/zdb.h +++ b/cmd/zdb/zdb.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zdb/zdb_il.c b/cmd/zdb/zdb_il.c index d0a9bf1aacb..6b90b08ca1b 100644 --- a/cmd/zdb/zdb_il.c +++ b/cmd/zdb/zdb_il.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/agents/fmd_api.c b/cmd/zed/agents/fmd_api.c index fe43e2ab971..103bc33f0c2 100644 --- a/cmd/zed/agents/fmd_api.c +++ b/cmd/zed/agents/fmd_api.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/agents/fmd_api.h b/cmd/zed/agents/fmd_api.h index 8471feecf33..31077cef0f9 100644 --- a/cmd/zed/agents/fmd_api.h +++ b/cmd/zed/agents/fmd_api.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/agents/fmd_serd.c b/cmd/zed/agents/fmd_serd.c index f942e62b3f4..bf3a1801552 100644 --- a/cmd/zed/agents/fmd_serd.c +++ b/cmd/zed/agents/fmd_serd.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/agents/fmd_serd.h b/cmd/zed/agents/fmd_serd.h index 80ff9a3b25b..fd49811e16e 100644 --- a/cmd/zed/agents/fmd_serd.h +++ b/cmd/zed/agents/fmd_serd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/agents/zfs_agents.c b/cmd/zed/agents/zfs_agents.c index 8fabb8d081a..8718dbde03b 100644 --- a/cmd/zed/agents/zfs_agents.c +++ b/cmd/zed/agents/zfs_agents.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/agents/zfs_agents.h b/cmd/zed/agents/zfs_agents.h index d1a459139b1..c89edb5f9b1 100644 --- a/cmd/zed/agents/zfs_agents.h +++ b/cmd/zed/agents/zfs_agents.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/agents/zfs_diagnosis.c b/cmd/zed/agents/zfs_diagnosis.c index b45b89af430..453243b2f8c 100644 --- a/cmd/zed/agents/zfs_diagnosis.c +++ b/cmd/zed/agents/zfs_diagnosis.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/agents/zfs_mod.c b/cmd/zed/agents/zfs_mod.c index 56da87fa943..57d6f34ba74 100644 --- a/cmd/zed/agents/zfs_mod.c +++ b/cmd/zed/agents/zfs_mod.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/agents/zfs_retire.c b/cmd/zed/agents/zfs_retire.c index 6f994b68a12..90d0a48b2b7 100644 --- a/cmd/zed/agents/zfs_retire.c +++ b/cmd/zed/agents/zfs_retire.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/zed.c b/cmd/zed/zed.c index 4a413af6f92..124250248fd 100644 --- a/cmd/zed/zed.c +++ b/cmd/zed/zed.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed.d/statechange-notify.sh b/cmd/zed/zed.d/statechange-notify.sh index ae610df20e4..c8c83237575 100755 --- a/cmd/zed/zed.d/statechange-notify.sh +++ b/cmd/zed/zed.d/statechange-notify.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: CDDL-1.0 # shellcheck disable=SC2154 # # CDDL HEADER START diff --git a/cmd/zed/zed.h b/cmd/zed/zed.h index 94f13c2c9da..3f467fc4b1d 100644 --- a/cmd/zed/zed.h +++ b/cmd/zed/zed.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_conf.c b/cmd/zed/zed_conf.c index 29de27c77c3..8663a957349 100644 --- a/cmd/zed/zed_conf.c +++ b/cmd/zed/zed_conf.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_conf.h b/cmd/zed/zed_conf.h index 84825a05da6..7336dea9e1a 100644 --- a/cmd/zed/zed_conf.h +++ b/cmd/zed/zed_conf.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_disk_event.c b/cmd/zed/zed_disk_event.c index 4a2b7398e92..8b0a1c49944 100644 --- a/cmd/zed/zed_disk_event.c +++ b/cmd/zed/zed_disk_event.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/zed_disk_event.h b/cmd/zed/zed_disk_event.h index ea9813d0a59..acd5119b861 100644 --- a/cmd/zed/zed_disk_event.h +++ b/cmd/zed/zed_disk_event.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zed/zed_event.c b/cmd/zed/zed_event.c index 7e586769223..296c222ca38 100644 --- a/cmd/zed/zed_event.c +++ b/cmd/zed/zed_event.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_event.h b/cmd/zed/zed_event.h index 5606f14a21a..03341f1e1d2 100644 --- a/cmd/zed/zed_event.h +++ b/cmd/zed/zed_event.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_exec.c b/cmd/zed/zed_exec.c index e45acfb2c69..036081decd6 100644 --- a/cmd/zed/zed_exec.c +++ b/cmd/zed/zed_exec.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_exec.h b/cmd/zed/zed_exec.h index e4c8d86335b..cea0ef43978 100644 --- a/cmd/zed/zed_exec.h +++ b/cmd/zed/zed_exec.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_file.c b/cmd/zed/zed_file.c index b62f68b2610..c706398cdf9 100644 --- a/cmd/zed/zed_file.c +++ b/cmd/zed/zed_file.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_file.h b/cmd/zed/zed_file.h index 7e3a0efcaf3..55c2937f3d2 100644 --- a/cmd/zed/zed_file.h +++ b/cmd/zed/zed_file.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_log.c b/cmd/zed/zed_log.c index 0c4ab6f47db..771bf3a4e70 100644 --- a/cmd/zed/zed_log.c +++ b/cmd/zed/zed_log.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_log.h b/cmd/zed/zed_log.h index 18ab0553ea4..f729813a344 100644 --- a/cmd/zed/zed_log.h +++ b/cmd/zed/zed_log.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_strings.c b/cmd/zed/zed_strings.c index 52a86e9296f..2e5ed1d83d6 100644 --- a/cmd/zed/zed_strings.c +++ b/cmd/zed/zed_strings.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zed/zed_strings.h b/cmd/zed/zed_strings.h index 804639592fe..83ba3af703f 100644 --- a/cmd/zed/zed_strings.h +++ b/cmd/zed/zed_strings.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of the ZFS Event Daemon (ZED). * diff --git a/cmd/zfs/zfs_iter.c b/cmd/zfs/zfs_iter.c index 202cb0e82b5..e50e77a69c8 100644 --- a/cmd/zfs/zfs_iter.c +++ b/cmd/zfs/zfs_iter.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zfs/zfs_iter.h b/cmd/zfs/zfs_iter.h index d742ec7b2ec..256d64d0030 100644 --- a/cmd/zfs/zfs_iter.h +++ b/cmd/zfs/zfs_iter.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c index d8cbf8f5aa4..2349373402a 100644 --- a/cmd/zfs/zfs_main.c +++ b/cmd/zfs/zfs_main.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zfs/zfs_project.c b/cmd/zfs/zfs_project.c index 8a010e103be..fbf5e6cbdc6 100644 --- a/cmd/zfs/zfs_project.c +++ b/cmd/zfs/zfs_project.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zfs/zfs_projectutil.h b/cmd/zfs/zfs_projectutil.h index e4038d885cd..c61d2ea9b92 100644 --- a/cmd/zfs/zfs_projectutil.h +++ b/cmd/zfs/zfs_projectutil.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zfs/zfs_util.h b/cmd/zfs/zfs_util.h index 07ade72dd28..b6611b7dde4 100644 --- a/cmd/zfs/zfs_util.h +++ b/cmd/zfs/zfs_util.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zfs_ids_to_path.c b/cmd/zfs_ids_to_path.c index 4db7e949ead..f1b0eac7b0c 100644 --- a/cmd/zfs_ids_to_path.c +++ b/cmd/zfs_ids_to_path.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zgenhostid.c b/cmd/zgenhostid.c index 04433b0d973..571ae26f5df 100644 --- a/cmd/zgenhostid.c +++ b/cmd/zgenhostid.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zhack.c b/cmd/zhack.c index f297afb65d4..8244bc83fa0 100644 --- a/cmd/zhack.c +++ b/cmd/zhack.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zilstat.in b/cmd/zilstat.in index 6be7f83936d..4140398bf4a 100755 --- a/cmd/zilstat.in +++ b/cmd/zilstat.in @@ -1,4 +1,5 @@ #!/usr/bin/env @PYTHON_SHEBANG@ +# SPDX-License-Identifier: CDDL-1.0 # # Print out statistics for all zil stats. This information is # available through the zil kstat. diff --git a/cmd/zinject/translate.c b/cmd/zinject/translate.c index c63caedd158..898edd9edbd 100644 --- a/cmd/zinject/translate.c +++ b/cmd/zinject/translate.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zinject/zinject.c b/cmd/zinject/zinject.c index 4374e69a7f9..8be65927861 100644 --- a/cmd/zinject/zinject.c +++ b/cmd/zinject/zinject.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zinject/zinject.h b/cmd/zinject/zinject.h index 73176a24195..4073974d115 100644 --- a/cmd/zinject/zinject.h +++ b/cmd/zinject/zinject.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zpool/os/freebsd/zpool_vdev_os.c b/cmd/zpool/os/freebsd/zpool_vdev_os.c index c57c689afa9..67cbf7b7eb1 100644 --- a/cmd/zpool/os/freebsd/zpool_vdev_os.c +++ b/cmd/zpool/os/freebsd/zpool_vdev_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zpool/os/linux/zpool_vdev_os.c b/cmd/zpool/os/linux/zpool_vdev_os.c index f194d28c55a..8da9aece4bb 100644 --- a/cmd/zpool/os/linux/zpool_vdev_os.c +++ b/cmd/zpool/os/linux/zpool_vdev_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zpool/zpool_iter.c b/cmd/zpool/zpool_iter.c index ae2e9da9108..2ec189b9865 100644 --- a/cmd/zpool/zpool_iter.c +++ b/cmd/zpool/zpool_iter.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index 5fcf0991de6..f2c2c3f41a7 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zpool/zpool_util.c b/cmd/zpool/zpool_util.c index e7ff739e5b4..ff2597ef65e 100644 --- a/cmd/zpool/zpool_util.c +++ b/cmd/zpool/zpool_util.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zpool/zpool_util.h b/cmd/zpool/zpool_util.h index 7f5406f063e..5ab7cb9750f 100644 --- a/cmd/zpool/zpool_util.h +++ b/cmd/zpool/zpool_util.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zpool/zpool_vdev.c b/cmd/zpool/zpool_vdev.c index fbd4b81dfac..07868a30d7e 100644 --- a/cmd/zpool/zpool_vdev.c +++ b/cmd/zpool/zpool_vdev.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zpool_influxdb/zpool_influxdb.c b/cmd/zpool_influxdb/zpool_influxdb.c index 520e5692690..42aa6b47e80 100644 --- a/cmd/zpool_influxdb/zpool_influxdb.c +++ b/cmd/zpool_influxdb/zpool_influxdb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * Gather top-level ZFS pool and resilver/scan statistics and print using * influxdb line protocol diff --git a/cmd/zstream/zstream.c b/cmd/zstream/zstream.c index b1509c1f29e..d3417c69c49 100644 --- a/cmd/zstream/zstream.c +++ b/cmd/zstream/zstream.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zstream/zstream.h b/cmd/zstream/zstream.h index f629a6cdfba..889b6e753e6 100644 --- a/cmd/zstream/zstream.h +++ b/cmd/zstream/zstream.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zstream/zstream_decompress.c b/cmd/zstream/zstream_decompress.c index c64011e3822..40bb1ece881 100644 --- a/cmd/zstream/zstream_decompress.c +++ b/cmd/zstream/zstream_decompress.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zstream/zstream_dump.c b/cmd/zstream/zstream_dump.c index 9955a1361e8..78949d4d066 100644 --- a/cmd/zstream/zstream_dump.c +++ b/cmd/zstream/zstream_dump.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zstream/zstream_recompress.c b/cmd/zstream/zstream_recompress.c index 586ac5623aa..174265eceb0 100644 --- a/cmd/zstream/zstream_recompress.c +++ b/cmd/zstream/zstream_recompress.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zstream/zstream_redup.c b/cmd/zstream/zstream_redup.c index 51266b0b662..0e18c52496f 100644 --- a/cmd/zstream/zstream_redup.c +++ b/cmd/zstream/zstream_redup.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/zstream/zstream_token.c b/cmd/zstream/zstream_token.c index 795a372633e..be6ae09f81e 100644 --- a/cmd/zstream/zstream_token.c +++ b/cmd/zstream/zstream_token.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/cmd/ztest.c b/cmd/ztest.c index 4a7959ebfca..0461f78ab76 100644 --- a/cmd/ztest.c +++ b/cmd/ztest.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/configure.ac b/configure.ac index 9e043862ed1..c05c874affc 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file is part of OpenZFS. * diff --git a/include/libnvpair.h b/include/libnvpair.h index 09b224b4de5..98a83684d56 100644 --- a/include/libnvpair.h +++ b/include/libnvpair.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/libuutil.h b/include/libuutil.h index 906b49ea5ca..0ef6f4cfbad 100644 --- a/include/libuutil.h +++ b/include/libuutil.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/libuutil_common.h b/include/libuutil_common.h index cdfa0c2f556..4fb0e3c54f6 100644 --- a/include/libuutil_common.h +++ b/include/libuutil_common.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/libuutil_impl.h b/include/libuutil_impl.h index 58b6df579d7..92ba0e68ade 100644 --- a/include/libuutil_impl.h +++ b/include/libuutil_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/libzfs.h b/include/libzfs.h index 01d51999f4e..8774d490f74 100644 --- a/include/libzfs.h +++ b/include/libzfs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/libzfs_core.h b/include/libzfs_core.h index b1d74fbbc8f..231beaa6929 100644 --- a/include/libzfs_core.h +++ b/include/libzfs_core.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/libzfsbootenv.h b/include/libzfsbootenv.h index cbc8751dc51..978bf440efb 100644 --- a/include/libzfsbootenv.h +++ b/include/libzfsbootenv.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/include/libzutil.h b/include/libzutil.h index bcfe2fcf796..001ece2280f 100644 --- a/include/libzutil.h +++ b/include/libzutil.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/acl/acl_common.h b/include/os/freebsd/spl/acl/acl_common.h index 53b69154d67..d026fcb7223 100644 --- a/include/os/freebsd/spl/acl/acl_common.h +++ b/include/os/freebsd/spl/acl/acl_common.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/acl.h b/include/os/freebsd/spl/sys/acl.h index e757a601a84..aa144b8e650 100644 --- a/include/os/freebsd/spl/sys/acl.h +++ b/include/os/freebsd/spl/sys/acl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/acl_impl.h b/include/os/freebsd/spl/sys/acl_impl.h index de5961ef774..fb3dac7ca62 100644 --- a/include/os/freebsd/spl/sys/acl_impl.h +++ b/include/os/freebsd/spl/sys/acl_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/byteorder.h b/include/os/freebsd/spl/sys/byteorder.h index 0c09757c8e1..32044a7119b 100644 --- a/include/os/freebsd/spl/sys/byteorder.h +++ b/include/os/freebsd/spl/sys/byteorder.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/callb.h b/include/os/freebsd/spl/sys/callb.h index 006a90cae8c..7abde8b0e2b 100644 --- a/include/os/freebsd/spl/sys/callb.h +++ b/include/os/freebsd/spl/sys/callb.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/ccompile.h b/include/os/freebsd/spl/sys/ccompile.h index bebeb0db245..112f7bc3284 100644 --- a/include/os/freebsd/spl/sys/ccompile.h +++ b/include/os/freebsd/spl/sys/ccompile.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/cmn_err.h b/include/os/freebsd/spl/sys/cmn_err.h index 87fce4955bc..93dd1196d97 100644 --- a/include/os/freebsd/spl/sys/cmn_err.h +++ b/include/os/freebsd/spl/sys/cmn_err.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/cred.h b/include/os/freebsd/spl/sys/cred.h index 06d53712628..8c2026f4a85 100644 --- a/include/os/freebsd/spl/sys/cred.h +++ b/include/os/freebsd/spl/sys/cred.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/ia32/asm_linkage.h b/include/os/freebsd/spl/sys/ia32/asm_linkage.h index d1f53cf22f4..62934965f7f 100644 --- a/include/os/freebsd/spl/sys/ia32/asm_linkage.h +++ b/include/os/freebsd/spl/sys/ia32/asm_linkage.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/idmap.h b/include/os/freebsd/spl/sys/idmap.h index bd2383794f1..af47ecf3329 100644 --- a/include/os/freebsd/spl/sys/idmap.h +++ b/include/os/freebsd/spl/sys/idmap.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/isa_defs.h b/include/os/freebsd/spl/sys/isa_defs.h index 9eba593fa79..8783606dd9a 100644 --- a/include/os/freebsd/spl/sys/isa_defs.h +++ b/include/os/freebsd/spl/sys/isa_defs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/list.h b/include/os/freebsd/spl/sys/list.h index 6c32402a7bd..cbbda85dabb 100644 --- a/include/os/freebsd/spl/sys/list.h +++ b/include/os/freebsd/spl/sys/list.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/list_impl.h b/include/os/freebsd/spl/sys/list_impl.h index 06a5c6d1dbc..50db5cc50da 100644 --- a/include/os/freebsd/spl/sys/list_impl.h +++ b/include/os/freebsd/spl/sys/list_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/processor.h b/include/os/freebsd/spl/sys/processor.h index 40464e53d5c..07e010bc689 100644 --- a/include/os/freebsd/spl/sys/processor.h +++ b/include/os/freebsd/spl/sys/processor.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/procfs_list.h b/include/os/freebsd/spl/sys/procfs_list.h index 4e98675053d..4c4302ac019 100644 --- a/include/os/freebsd/spl/sys/procfs_list.h +++ b/include/os/freebsd/spl/sys/procfs_list.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/sysmacros.h b/include/os/freebsd/spl/sys/sysmacros.h index 2c9f4438d76..93c98ef03af 100644 --- a/include/os/freebsd/spl/sys/sysmacros.h +++ b/include/os/freebsd/spl/sys/sysmacros.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/taskq.h b/include/os/freebsd/spl/sys/taskq.h index fa6ff84a013..40f1a8ec2c5 100644 --- a/include/os/freebsd/spl/sys/taskq.h +++ b/include/os/freebsd/spl/sys/taskq.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/uuid.h b/include/os/freebsd/spl/sys/uuid.h index 9e76d07b801..218e24740a5 100644 --- a/include/os/freebsd/spl/sys/uuid.h +++ b/include/os/freebsd/spl/sys/uuid.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/vnode_impl.h b/include/os/freebsd/spl/sys/vnode_impl.h index 4e04b5e80a0..0df3378c23e 100644 --- a/include/os/freebsd/spl/sys/vnode_impl.h +++ b/include/os/freebsd/spl/sys/vnode_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/wmsum.h b/include/os/freebsd/spl/sys/wmsum.h index 9fdd1901b7e..1718f20be65 100644 --- a/include/os/freebsd/spl/sys/wmsum.h +++ b/include/os/freebsd/spl/sys/wmsum.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/spl/sys/zmod.h b/include/os/freebsd/spl/sys/zmod.h index 6e26a568bd4..bf29ddf2841 100644 --- a/include/os/freebsd/spl/sys/zmod.h +++ b/include/os/freebsd/spl/sys/zmod.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/zfs/sys/abd_impl_os.h b/include/os/freebsd/zfs/sys/abd_impl_os.h index 309e77110d3..45c7c47b635 100644 --- a/include/os/freebsd/zfs/sys/abd_impl_os.h +++ b/include/os/freebsd/zfs/sys/abd_impl_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/zfs/sys/abd_os.h b/include/os/freebsd/zfs/sys/abd_os.h index 401c8452d6b..0d25c9b1c6c 100644 --- a/include/os/freebsd/zfs/sys/abd_os.h +++ b/include/os/freebsd/zfs/sys/abd_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/zfs/sys/vdev_os.h b/include/os/freebsd/zfs/sys/vdev_os.h index ef1b01743b6..a826f85bf19 100644 --- a/include/os/freebsd/zfs/sys/vdev_os.h +++ b/include/os/freebsd/zfs/sys/vdev_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/zfs/sys/zfs_bootenv_os.h b/include/os/freebsd/zfs/sys/zfs_bootenv_os.h index 80c71a6c506..eaa07328a84 100644 --- a/include/os/freebsd/zfs/sys/zfs_bootenv_os.h +++ b/include/os/freebsd/zfs/sys/zfs_bootenv_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/include/os/freebsd/zfs/sys/zfs_ctldir.h b/include/os/freebsd/zfs/sys/zfs_ctldir.h index f0a98a7def8..10399a100b7 100644 --- a/include/os/freebsd/zfs/sys/zfs_ctldir.h +++ b/include/os/freebsd/zfs/sys/zfs_ctldir.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/zfs/sys/zfs_dir.h b/include/os/freebsd/zfs/sys/zfs_dir.h index 1980b646e38..c3e92a1129b 100644 --- a/include/os/freebsd/zfs/sys/zfs_dir.h +++ b/include/os/freebsd/zfs/sys/zfs_dir.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/zfs/sys/zfs_ioctl_compat.h b/include/os/freebsd/zfs/sys/zfs_ioctl_compat.h index 34757a48602..6c5c06548db 100644 --- a/include/os/freebsd/zfs/sys/zfs_ioctl_compat.h +++ b/include/os/freebsd/zfs/sys/zfs_ioctl_compat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/zfs/sys/zfs_vfsops_os.h b/include/os/freebsd/zfs/sys/zfs_vfsops_os.h index b7cbdc736d2..289b6475938 100644 --- a/include/os/freebsd/zfs/sys/zfs_vfsops_os.h +++ b/include/os/freebsd/zfs/sys/zfs_vfsops_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/freebsd/zfs/sys/zfs_znode_impl.h b/include/os/freebsd/zfs/sys/zfs_znode_impl.h index 3727dca0f8d..b292818750d 100644 --- a/include/os/freebsd/zfs/sys/zfs_znode_impl.h +++ b/include/os/freebsd/zfs/sys/zfs_znode_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/blkdev_compat.h b/include/os/linux/kernel/linux/blkdev_compat.h index 9af496e8777..076dab8ba6d 100644 --- a/include/os/linux/kernel/linux/blkdev_compat.h +++ b/include/os/linux/kernel/linux/blkdev_compat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/compiler_compat.h b/include/os/linux/kernel/linux/compiler_compat.h index 98f7d760804..2e89adf1d22 100644 --- a/include/os/linux/kernel/linux/compiler_compat.h +++ b/include/os/linux/kernel/linux/compiler_compat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/dcache_compat.h b/include/os/linux/kernel/linux/dcache_compat.h index de533a5fd28..16e8a319a5f 100644 --- a/include/os/linux/kernel/linux/dcache_compat.h +++ b/include/os/linux/kernel/linux/dcache_compat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/kmap_compat.h b/include/os/linux/kernel/linux/kmap_compat.h index 8f9ddca2211..fc8a8c7974a 100644 --- a/include/os/linux/kernel/linux/kmap_compat.h +++ b/include/os/linux/kernel/linux/kmap_compat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/mm_compat.h b/include/os/linux/kernel/linux/mm_compat.h index 4cdc0e09999..dc0b7eb513e 100644 --- a/include/os/linux/kernel/linux/mm_compat.h +++ b/include/os/linux/kernel/linux/mm_compat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/mod_compat.h b/include/os/linux/kernel/linux/mod_compat.h index 039865b703e..110cdfa259b 100644 --- a/include/os/linux/kernel/linux/mod_compat.h +++ b/include/os/linux/kernel/linux/mod_compat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/simd.h b/include/os/linux/kernel/linux/simd.h index e7d7a4f2255..e0d8c2e4b30 100644 --- a/include/os/linux/kernel/linux/simd.h +++ b/include/os/linux/kernel/linux/simd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/simd_aarch64.h b/include/os/linux/kernel/linux/simd_aarch64.h index e580fbe23ea..394ba129dc9 100644 --- a/include/os/linux/kernel/linux/simd_aarch64.h +++ b/include/os/linux/kernel/linux/simd_aarch64.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/simd_arm.h b/include/os/linux/kernel/linux/simd_arm.h index bc70eaef307..c06588b5dce 100644 --- a/include/os/linux/kernel/linux/simd_arm.h +++ b/include/os/linux/kernel/linux/simd_arm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/simd_powerpc.h b/include/os/linux/kernel/linux/simd_powerpc.h index d9ccacee1ab..80e85254d4e 100644 --- a/include/os/linux/kernel/linux/simd_powerpc.h +++ b/include/os/linux/kernel/linux/simd_powerpc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/simd_x86.h b/include/os/linux/kernel/linux/simd_x86.h index 699b8a57182..cd245a5f013 100644 --- a/include/os/linux/kernel/linux/simd_x86.h +++ b/include/os/linux/kernel/linux/simd_x86.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/utsname_compat.h b/include/os/linux/kernel/linux/utsname_compat.h index 4a027bde878..0a03b108c48 100644 --- a/include/os/linux/kernel/linux/utsname_compat.h +++ b/include/os/linux/kernel/linux/utsname_compat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/vfs_compat.h b/include/os/linux/kernel/linux/vfs_compat.h index 3ed456dbf4c..cbf14e28371 100644 --- a/include/os/linux/kernel/linux/vfs_compat.h +++ b/include/os/linux/kernel/linux/vfs_compat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/kernel/linux/xattr_compat.h b/include/os/linux/kernel/linux/xattr_compat.h index f7e62da6200..f2f7e1ed017 100644 --- a/include/os/linux/kernel/linux/xattr_compat.h +++ b/include/os/linux/kernel/linux/xattr_compat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/spl/sys/errno.h b/include/os/linux/spl/sys/errno.h index 347b879a50c..9f12ef2a09d 100644 --- a/include/os/linux/spl/sys/errno.h +++ b/include/os/linux/spl/sys/errno.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/spl/sys/ia32/asm_linkage.h b/include/os/linux/spl/sys/ia32/asm_linkage.h index 3aaa4af5dab..b42b8461da0 100644 --- a/include/os/linux/spl/sys/ia32/asm_linkage.h +++ b/include/os/linux/spl/sys/ia32/asm_linkage.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/spl/sys/misc.h b/include/os/linux/spl/sys/misc.h index 299fe9c1ab0..0b44786f8a6 100644 --- a/include/os/linux/spl/sys/misc.h +++ b/include/os/linux/spl/sys/misc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/spl/sys/procfs_list.h b/include/os/linux/spl/sys/procfs_list.h index 959d9444e63..8213d26f3b1 100644 --- a/include/os/linux/spl/sys/procfs_list.h +++ b/include/os/linux/spl/sys/procfs_list.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/spl/sys/trace.h b/include/os/linux/spl/sys/trace.h index 21ac0e4f84d..d6853a89c3c 100644 --- a/include/os/linux/spl/sys/trace.h +++ b/include/os/linux/spl/sys/trace.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/spl/sys/trace_spl.h b/include/os/linux/spl/sys/trace_spl.h index 6f0f7b271d5..ccdb1f86e65 100644 --- a/include/os/linux/spl/sys/trace_spl.h +++ b/include/os/linux/spl/sys/trace_spl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/spl/sys/trace_taskq.h b/include/os/linux/spl/sys/trace_taskq.h index 0e25e642f27..7d1d6492716 100644 --- a/include/os/linux/spl/sys/trace_taskq.h +++ b/include/os/linux/spl/sys/trace_taskq.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/spl/sys/wmsum.h b/include/os/linux/spl/sys/wmsum.h index 1c87f56e13a..5e35c976b78 100644 --- a/include/os/linux/spl/sys/wmsum.h +++ b/include/os/linux/spl/sys/wmsum.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/abd_impl_os.h b/include/os/linux/zfs/sys/abd_impl_os.h index 8192522cd22..ce484e1313e 100644 --- a/include/os/linux/zfs/sys/abd_impl_os.h +++ b/include/os/linux/zfs/sys/abd_impl_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/abd_os.h b/include/os/linux/zfs/sys/abd_os.h index 3eed968e90c..8c4d5b7e107 100644 --- a/include/os/linux/zfs/sys/abd_os.h +++ b/include/os/linux/zfs/sys/abd_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/policy.h b/include/os/linux/zfs/sys/policy.h index 0c265db7859..77d0cdef5d2 100644 --- a/include/os/linux/zfs/sys/policy.h +++ b/include/os/linux/zfs/sys/policy.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_acl.h b/include/os/linux/zfs/sys/trace_acl.h index 15dc77edafa..8923657daf0 100644 --- a/include/os/linux/zfs/sys/trace_acl.h +++ b/include/os/linux/zfs/sys/trace_acl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_arc.h b/include/os/linux/zfs/sys/trace_arc.h index f749223daa7..39d75fbc442 100644 --- a/include/os/linux/zfs/sys/trace_arc.h +++ b/include/os/linux/zfs/sys/trace_arc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_common.h b/include/os/linux/zfs/sys/trace_common.h index 6ffa57c8641..85cf8cc20b0 100644 --- a/include/os/linux/zfs/sys/trace_common.h +++ b/include/os/linux/zfs/sys/trace_common.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_dbgmsg.h b/include/os/linux/zfs/sys/trace_dbgmsg.h index 58081d64cf4..63ebe1adc65 100644 --- a/include/os/linux/zfs/sys/trace_dbgmsg.h +++ b/include/os/linux/zfs/sys/trace_dbgmsg.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_dbuf.h b/include/os/linux/zfs/sys/trace_dbuf.h index b61807744d5..a7891200c93 100644 --- a/include/os/linux/zfs/sys/trace_dbuf.h +++ b/include/os/linux/zfs/sys/trace_dbuf.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_dmu.h b/include/os/linux/zfs/sys/trace_dmu.h index b031d4a2c90..8241daf5215 100644 --- a/include/os/linux/zfs/sys/trace_dmu.h +++ b/include/os/linux/zfs/sys/trace_dmu.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_dnode.h b/include/os/linux/zfs/sys/trace_dnode.h index 2697e871b85..931fde432c9 100644 --- a/include/os/linux/zfs/sys/trace_dnode.h +++ b/include/os/linux/zfs/sys/trace_dnode.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_multilist.h b/include/os/linux/zfs/sys/trace_multilist.h index 33b9aeac921..87da32d63d3 100644 --- a/include/os/linux/zfs/sys/trace_multilist.h +++ b/include/os/linux/zfs/sys/trace_multilist.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_rrwlock.h b/include/os/linux/zfs/sys/trace_rrwlock.h index dbc94fee013..7da02e65935 100644 --- a/include/os/linux/zfs/sys/trace_rrwlock.h +++ b/include/os/linux/zfs/sys/trace_rrwlock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_txg.h b/include/os/linux/zfs/sys/trace_txg.h index c95220b1b5d..63d99d25c6a 100644 --- a/include/os/linux/zfs/sys/trace_txg.h +++ b/include/os/linux/zfs/sys/trace_txg.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_vdev.h b/include/os/linux/zfs/sys/trace_vdev.h index 6a3f6c20252..a64ef0478d6 100644 --- a/include/os/linux/zfs/sys/trace_vdev.h +++ b/include/os/linux/zfs/sys/trace_vdev.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_zfs.h b/include/os/linux/zfs/sys/trace_zfs.h index 5f82e1c093a..0ab61c10c68 100644 --- a/include/os/linux/zfs/sys/trace_zfs.h +++ b/include/os/linux/zfs/sys/trace_zfs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_zil.h b/include/os/linux/zfs/sys/trace_zil.h index ae1caa3ac47..955462c85d1 100644 --- a/include/os/linux/zfs/sys/trace_zil.h +++ b/include/os/linux/zfs/sys/trace_zil.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_zio.h b/include/os/linux/zfs/sys/trace_zio.h index 223eb559ea7..96bee4a1085 100644 --- a/include/os/linux/zfs/sys/trace_zio.h +++ b/include/os/linux/zfs/sys/trace_zio.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/trace_zrlock.h b/include/os/linux/zfs/sys/trace_zrlock.h index 6c797c6e231..049eb3a2fec 100644 --- a/include/os/linux/zfs/sys/trace_zrlock.h +++ b/include/os/linux/zfs/sys/trace_zrlock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/zfs_bootenv_os.h b/include/os/linux/zfs/sys/zfs_bootenv_os.h index 7b2f083adcd..4f90b72c80f 100644 --- a/include/os/linux/zfs/sys/zfs_bootenv_os.h +++ b/include/os/linux/zfs/sys/zfs_bootenv_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/include/os/linux/zfs/sys/zfs_context_os.h b/include/os/linux/zfs/sys/zfs_context_os.h index 04a5f0c0d23..346b062a14d 100644 --- a/include/os/linux/zfs/sys/zfs_context_os.h +++ b/include/os/linux/zfs/sys/zfs_context_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/zfs_ctldir.h b/include/os/linux/zfs/sys/zfs_ctldir.h index 8f18cda2952..3f8617a91f3 100644 --- a/include/os/linux/zfs/sys/zfs_ctldir.h +++ b/include/os/linux/zfs/sys/zfs_ctldir.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/zfs_dir.h b/include/os/linux/zfs/sys/zfs_dir.h index 9b2232c68ba..322463d3186 100644 --- a/include/os/linux/zfs/sys/zfs_dir.h +++ b/include/os/linux/zfs/sys/zfs_dir.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/zfs_vfsops_os.h b/include/os/linux/zfs/sys/zfs_vfsops_os.h index 30aa3a103d3..4a73712e959 100644 --- a/include/os/linux/zfs/sys/zfs_vfsops_os.h +++ b/include/os/linux/zfs/sys/zfs_vfsops_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/zfs_vnops_os.h b/include/os/linux/zfs/sys/zfs_vnops_os.h index db33eda5770..b41ffcc178c 100644 --- a/include/os/linux/zfs/sys/zfs_vnops_os.h +++ b/include/os/linux/zfs/sys/zfs_vnops_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/zfs_znode_impl.h b/include/os/linux/zfs/sys/zfs_znode_impl.h index cc8e5150eaf..b38847b2046 100644 --- a/include/os/linux/zfs/sys/zfs_znode_impl.h +++ b/include/os/linux/zfs/sys/zfs_znode_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/os/linux/zfs/sys/zpl.h b/include/os/linux/zfs/sys/zpl.h index c6e235c48ef..39f1310aadf 100644 --- a/include/os/linux/zfs/sys/zpl.h +++ b/include/os/linux/zfs/sys/zpl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/abd.h b/include/sys/abd.h index bd3a7bd7c93..41cdb261542 100644 --- a/include/sys/abd.h +++ b/include/sys/abd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/abd_impl.h b/include/sys/abd_impl.h index 35a64f8621a..6cf09849ddf 100644 --- a/include/sys/abd_impl.h +++ b/include/sys/abd_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/aggsum.h b/include/sys/aggsum.h index 65800058cbf..4da3651c9ce 100644 --- a/include/sys/aggsum.h +++ b/include/sys/aggsum.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/arc.h b/include/sys/arc.h index 0e0a828c1d9..37674eff4f6 100644 --- a/include/sys/arc.h +++ b/include/sys/arc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/arc_impl.h b/include/sys/arc_impl.h index 2cf6aa3b182..1b30389107c 100644 --- a/include/sys/arc_impl.h +++ b/include/sys/arc_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/asm_linkage.h b/include/sys/asm_linkage.h index 749157d4c3d..95aee943d68 100644 --- a/include/sys/asm_linkage.h +++ b/include/sys/asm_linkage.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/avl.h b/include/sys/avl.h index 8818e3edb29..98436569954 100644 --- a/include/sys/avl.h +++ b/include/sys/avl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/avl_impl.h b/include/sys/avl_impl.h index b2b4eb4bce2..3627e96107c 100644 --- a/include/sys/avl_impl.h +++ b/include/sys/avl_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/bitmap.h b/include/sys/bitmap.h index 71eeba592cf..1bcddaf79f2 100644 --- a/include/sys/bitmap.h +++ b/include/sys/bitmap.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/bitops.h b/include/sys/bitops.h index 5c477b38b20..aec4e2980f4 100644 --- a/include/sys/bitops.h +++ b/include/sys/bitops.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/blake3.h b/include/sys/blake3.h index b981b18db94..0e86ce53aed 100644 --- a/include/sys/blake3.h +++ b/include/sys/blake3.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/blkptr.h b/include/sys/blkptr.h index 77b1b827ac3..55e6829d55b 100644 --- a/include/sys/blkptr.h +++ b/include/sys/blkptr.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/bplist.h b/include/sys/bplist.h index 53dd346767f..37def1baa33 100644 --- a/include/sys/bplist.h +++ b/include/sys/bplist.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/bpobj.h b/include/sys/bpobj.h index 81bc0fe2108..9942f86385c 100644 --- a/include/sys/bpobj.h +++ b/include/sys/bpobj.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/bptree.h b/include/sys/bptree.h index 9d189446ab6..8bae6bdbbf2 100644 --- a/include/sys/bptree.h +++ b/include/sys/bptree.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/bqueue.h b/include/sys/bqueue.h index edcee16227e..39a35611788 100644 --- a/include/sys/bqueue.h +++ b/include/sys/bqueue.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/brt.h b/include/sys/brt.h index f73df95058d..d7c1814b084 100644 --- a/include/sys/brt.h +++ b/include/sys/brt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/brt_impl.h b/include/sys/brt_impl.h index 168d81f17b7..1805d21b16b 100644 --- a/include/sys/brt_impl.h +++ b/include/sys/brt_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/btree.h b/include/sys/btree.h index 6e05eee8f01..2ac811da06a 100644 --- a/include/sys/btree.h +++ b/include/sys/btree.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/crypto/api.h b/include/sys/crypto/api.h index 88e0ac4d969..ba150230e32 100644 --- a/include/sys/crypto/api.h +++ b/include/sys/crypto/api.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/crypto/common.h b/include/sys/crypto/common.h index c9ef3b367e0..4a9b4f0e1f7 100644 --- a/include/sys/crypto/common.h +++ b/include/sys/crypto/common.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/crypto/icp.h b/include/sys/crypto/icp.h index efe283fa928..cc8cb6b3d1b 100644 --- a/include/sys/crypto/icp.h +++ b/include/sys/crypto/icp.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dataset_kstats.h b/include/sys/dataset_kstats.h index c81a07f0c11..d3e958f7e09 100644 --- a/include/sys/dataset_kstats.h +++ b/include/sys/dataset_kstats.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dbuf.h b/include/sys/dbuf.h index e69464809a4..2e9b7edf869 100644 --- a/include/sys/dbuf.h +++ b/include/sys/dbuf.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/ddt.h b/include/sys/ddt.h index 811064c09d7..8f2cc9c5a99 100644 --- a/include/sys/ddt.h +++ b/include/sys/ddt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/ddt_impl.h b/include/sys/ddt_impl.h index 4d3c0cae072..22bd1b2ad80 100644 --- a/include/sys/ddt_impl.h +++ b/include/sys/ddt_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dmu.h b/include/sys/dmu.h index 2e49b290b26..8144fe44ea4 100644 --- a/include/sys/dmu.h +++ b/include/sys/dmu.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dmu_impl.h b/include/sys/dmu_impl.h index 4eaa399407d..dc2b66d06e7 100644 --- a/include/sys/dmu_impl.h +++ b/include/sys/dmu_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dmu_objset.h b/include/sys/dmu_objset.h index 587dac738ba..288ad30166d 100644 --- a/include/sys/dmu_objset.h +++ b/include/sys/dmu_objset.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dmu_recv.h b/include/sys/dmu_recv.h index 3390ca1089f..cd292d9244b 100644 --- a/include/sys/dmu_recv.h +++ b/include/sys/dmu_recv.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dmu_redact.h b/include/sys/dmu_redact.h index c18e2be103b..1ca8732f190 100644 --- a/include/sys/dmu_redact.h +++ b/include/sys/dmu_redact.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dmu_send.h b/include/sys/dmu_send.h index 061b81532fb..4ddb9f2acab 100644 --- a/include/sys/dmu_send.h +++ b/include/sys/dmu_send.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dmu_traverse.h b/include/sys/dmu_traverse.h index 7a0b38da730..3196b2addee 100644 --- a/include/sys/dmu_traverse.h +++ b/include/sys/dmu_traverse.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dmu_tx.h b/include/sys/dmu_tx.h index aa55da62614..b87836ecc2d 100644 --- a/include/sys/dmu_tx.h +++ b/include/sys/dmu_tx.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dmu_zfetch.h b/include/sys/dmu_zfetch.h index 322472fb1ae..963e841a488 100644 --- a/include/sys/dmu_zfetch.h +++ b/include/sys/dmu_zfetch.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dnode.h b/include/sys/dnode.h index b6d3e2c918c..76218c8b09c 100644 --- a/include/sys/dnode.h +++ b/include/sys/dnode.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_bookmark.h b/include/sys/dsl_bookmark.h index d4e559a0903..2233612c0d4 100644 --- a/include/sys/dsl_bookmark.h +++ b/include/sys/dsl_bookmark.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_crypt.h b/include/sys/dsl_crypt.h index fbcae371535..1a088b8f3d3 100644 --- a/include/sys/dsl_crypt.h +++ b/include/sys/dsl_crypt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_dataset.h b/include/sys/dsl_dataset.h index 3450527af7e..624f3ddde9f 100644 --- a/include/sys/dsl_dataset.h +++ b/include/sys/dsl_dataset.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_deadlist.h b/include/sys/dsl_deadlist.h index 798f9e3f624..41f5b4f0845 100644 --- a/include/sys/dsl_deadlist.h +++ b/include/sys/dsl_deadlist.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_deleg.h b/include/sys/dsl_deleg.h index 0761b074506..ae729b9f32f 100644 --- a/include/sys/dsl_deleg.h +++ b/include/sys/dsl_deleg.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_destroy.h b/include/sys/dsl_destroy.h index 1a9b672a260..90a1c2eddaa 100644 --- a/include/sys/dsl_destroy.h +++ b/include/sys/dsl_destroy.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_dir.h b/include/sys/dsl_dir.h index 04ea7a8f293..6135835fca4 100644 --- a/include/sys/dsl_dir.h +++ b/include/sys/dsl_dir.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_pool.h b/include/sys/dsl_pool.h index abcdc77a4b9..c609dd40519 100644 --- a/include/sys/dsl_pool.h +++ b/include/sys/dsl_pool.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_prop.h b/include/sys/dsl_prop.h index 7a84f2b6922..53caa1b82bf 100644 --- a/include/sys/dsl_prop.h +++ b/include/sys/dsl_prop.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_scan.h b/include/sys/dsl_scan.h index ef181c3ff2c..44cca14794e 100644 --- a/include/sys/dsl_scan.h +++ b/include/sys/dsl_scan.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_synctask.h b/include/sys/dsl_synctask.h index cbdb20ec1d3..93cf25bf763 100644 --- a/include/sys/dsl_synctask.h +++ b/include/sys/dsl_synctask.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/dsl_userhold.h b/include/sys/dsl_userhold.h index c165edab3c5..de9279c2ce1 100644 --- a/include/sys/dsl_userhold.h +++ b/include/sys/dsl_userhold.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START diff --git a/include/sys/edonr.h b/include/sys/edonr.h index b19b5eb42c2..02f5a4f4290 100644 --- a/include/sys/edonr.h +++ b/include/sys/edonr.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/efi_partition.h b/include/sys/efi_partition.h index c4d7fd5088b..926dc03bf25 100644 --- a/include/sys/efi_partition.h +++ b/include/sys/efi_partition.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/fm/fs/zfs.h b/include/sys/fm/fs/zfs.h index 43d6e3f96ea..30ced55da13 100644 --- a/include/sys/fm/fs/zfs.h +++ b/include/sys/fm/fs/zfs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/fm/protocol.h b/include/sys/fm/protocol.h index d4a9751c8ae..749ffe1a1b7 100644 --- a/include/sys/fm/protocol.h +++ b/include/sys/fm/protocol.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/fm/util.h b/include/sys/fm/util.h index 038162ab752..2e6e2a7e7f9 100644 --- a/include/sys/fm/util.h +++ b/include/sys/fm/util.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/frame.h b/include/sys/frame.h index caae851421d..dbcf1087bed 100644 --- a/include/sys/frame.h +++ b/include/sys/frame.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/fs/zfs.h b/include/sys/fs/zfs.h index dc84e66c1e8..2d27aee217e 100644 --- a/include/sys/fs/zfs.h +++ b/include/sys/fs/zfs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/hkdf.h b/include/sys/hkdf.h index e0f7678c03d..ea4f035e1d3 100644 --- a/include/sys/hkdf.h +++ b/include/sys/hkdf.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/metaslab.h b/include/sys/metaslab.h index 0171cd0fe0f..a87d817edcb 100644 --- a/include/sys/metaslab.h +++ b/include/sys/metaslab.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/metaslab_impl.h b/include/sys/metaslab_impl.h index 9c35f27ff0b..5f999c02b8a 100644 --- a/include/sys/metaslab_impl.h +++ b/include/sys/metaslab_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/mmp.h b/include/sys/mmp.h index 1023334098d..2876236823f 100644 --- a/include/sys/mmp.h +++ b/include/sys/mmp.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/mntent.h b/include/sys/mntent.h index 5bb7e080cda..e67c05e750e 100644 --- a/include/sys/mntent.h +++ b/include/sys/mntent.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/multilist.h b/include/sys/multilist.h index e7de86f2379..2ffdcf8e9c0 100644 --- a/include/sys/multilist.h +++ b/include/sys/multilist.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/nvpair.h b/include/sys/nvpair.h index 2dbd9e3eaf4..66362a9dbd4 100644 --- a/include/sys/nvpair.h +++ b/include/sys/nvpair.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/nvpair_impl.h b/include/sys/nvpair_impl.h index 6cae256285e..cc79653fe33 100644 --- a/include/sys/nvpair_impl.h +++ b/include/sys/nvpair_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/objlist.h b/include/sys/objlist.h index a124a61fdc9..77ebc6ed3a7 100644 --- a/include/sys/objlist.h +++ b/include/sys/objlist.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/pathname.h b/include/sys/pathname.h index 054223170db..3b29108cc29 100644 --- a/include/sys/pathname.h +++ b/include/sys/pathname.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/qat.h b/include/sys/qat.h index 76360ba9904..d32531e0827 100644 --- a/include/sys/qat.h +++ b/include/sys/qat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/range_tree.h b/include/sys/range_tree.h index 23eea3210c9..23e80f64284 100644 --- a/include/sys/range_tree.h +++ b/include/sys/range_tree.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/rrwlock.h b/include/sys/rrwlock.h index 367732a8391..ad845e6dd5d 100644 --- a/include/sys/rrwlock.h +++ b/include/sys/rrwlock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/sa.h b/include/sys/sa.h index 2e1d50c7330..80a5df824ca 100644 --- a/include/sys/sa.h +++ b/include/sys/sa.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/sa_impl.h b/include/sys/sa_impl.h index 3632e5c9923..04e221c8c37 100644 --- a/include/sys/sa_impl.h +++ b/include/sys/sa_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/sha2.h b/include/sys/sha2.h index b344eb9d5ff..22e86028e51 100644 --- a/include/sys/sha2.h +++ b/include/sys/sha2.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/spa.h b/include/sys/spa.h index 1606d45e2a1..439cd461b71 100644 --- a/include/sys/spa.h +++ b/include/sys/spa.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/spa_checkpoint.h b/include/sys/spa_checkpoint.h index e4475ff35f4..1290687647d 100644 --- a/include/sys/spa_checkpoint.h +++ b/include/sys/spa_checkpoint.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/spa_checksum.h b/include/sys/spa_checksum.h index 2202afdeb8d..b9dc6ae3006 100644 --- a/include/sys/spa_checksum.h +++ b/include/sys/spa_checksum.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/spa_impl.h b/include/sys/spa_impl.h index b0a2d46ff2c..a3fbf850405 100644 --- a/include/sys/spa_impl.h +++ b/include/sys/spa_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/spa_log_spacemap.h b/include/sys/spa_log_spacemap.h index f59e6991783..dd2000c4d0f 100644 --- a/include/sys/spa_log_spacemap.h +++ b/include/sys/spa_log_spacemap.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/space_map.h b/include/sys/space_map.h index 2861b25e41e..6363f347c59 100644 --- a/include/sys/space_map.h +++ b/include/sys/space_map.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/space_reftree.h b/include/sys/space_reftree.h index e9a44ecf46b..60930139231 100644 --- a/include/sys/space_reftree.h +++ b/include/sys/space_reftree.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/sysevent.h b/include/sys/sysevent.h index f8ae1749736..0aa1140c7f3 100644 --- a/include/sys/sysevent.h +++ b/include/sys/sysevent.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/sysevent/dev.h b/include/sys/sysevent/dev.h index 0783d007316..2695f3b0bbf 100644 --- a/include/sys/sysevent/dev.h +++ b/include/sys/sysevent/dev.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/sysevent/eventdefs.h b/include/sys/sysevent/eventdefs.h index a2108525796..016392170fd 100644 --- a/include/sys/sysevent/eventdefs.h +++ b/include/sys/sysevent/eventdefs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/txg.h b/include/sys/txg.h index 46945210cdb..70ba89c8ac0 100644 --- a/include/sys/txg.h +++ b/include/sys/txg.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/txg_impl.h b/include/sys/txg_impl.h index 8ab7969b25b..9ca1de0330b 100644 --- a/include/sys/txg_impl.h +++ b/include/sys/txg_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/u8_textprep.h b/include/sys/u8_textprep.h index b0bae5833ac..b943b961673 100644 --- a/include/sys/u8_textprep.h +++ b/include/sys/u8_textprep.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/u8_textprep_data.h b/include/sys/u8_textprep_data.h index bd6af0e8f66..597d1818bdd 100644 --- a/include/sys/u8_textprep_data.h +++ b/include/sys/u8_textprep_data.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/uberblock.h b/include/sys/uberblock.h index ff3a8c81232..296d0e01cd6 100644 --- a/include/sys/uberblock.h +++ b/include/sys/uberblock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/uberblock_impl.h b/include/sys/uberblock_impl.h index e480a4bac0b..bcd40613da0 100644 --- a/include/sys/uberblock_impl.h +++ b/include/sys/uberblock_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/uio_impl.h b/include/sys/uio_impl.h index 90b80127246..eea832ec993 100644 --- a/include/sys/uio_impl.h +++ b/include/sys/uio_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/unique.h b/include/sys/unique.h index bc794465752..895440c08ce 100644 --- a/include/sys/unique.h +++ b/include/sys/unique.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/uuid.h b/include/sys/uuid.h index 19f1baa4432..c01202dfc5f 100644 --- a/include/sys/uuid.h +++ b/include/sys/uuid.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev.h b/include/sys/vdev.h index 241b1ec82ef..a6a41882d3c 100644 --- a/include/sys/vdev.h +++ b/include/sys/vdev.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_disk.h b/include/sys/vdev_disk.h index 02c583777eb..d80ae3619a8 100644 --- a/include/sys/vdev_disk.h +++ b/include/sys/vdev_disk.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_draid.h b/include/sys/vdev_draid.h index a204f1e3c74..d44ab6681db 100644 --- a/include/sys/vdev_draid.h +++ b/include/sys/vdev_draid.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_file.h b/include/sys/vdev_file.h index fddecbfe1ab..f95d833e900 100644 --- a/include/sys/vdev_file.h +++ b/include/sys/vdev_file.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_impl.h b/include/sys/vdev_impl.h index 315e2fc8841..58a6cdcdc3e 100644 --- a/include/sys/vdev_impl.h +++ b/include/sys/vdev_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_indirect_births.h b/include/sys/vdev_indirect_births.h index 987b14485d2..4e12a2b9a06 100644 --- a/include/sys/vdev_indirect_births.h +++ b/include/sys/vdev_indirect_births.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_indirect_mapping.h b/include/sys/vdev_indirect_mapping.h index 7e42c101950..10c349ea09d 100644 --- a/include/sys/vdev_indirect_mapping.h +++ b/include/sys/vdev_indirect_mapping.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_initialize.h b/include/sys/vdev_initialize.h index 78702b7325a..f5e66b3a14a 100644 --- a/include/sys/vdev_initialize.h +++ b/include/sys/vdev_initialize.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_raidz.h b/include/sys/vdev_raidz.h index ed042aedbdb..3b02728cdbf 100644 --- a/include/sys/vdev_raidz.h +++ b/include/sys/vdev_raidz.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_raidz_impl.h b/include/sys/vdev_raidz_impl.h index 45cb5864a22..debce6f09a2 100644 --- a/include/sys/vdev_raidz_impl.h +++ b/include/sys/vdev_raidz_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_rebuild.h b/include/sys/vdev_rebuild.h index b7664a822bb..17ed94dd9d0 100644 --- a/include/sys/vdev_rebuild.h +++ b/include/sys/vdev_rebuild.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_removal.h b/include/sys/vdev_removal.h index 8e6005a9426..2d6303d2347 100644 --- a/include/sys/vdev_removal.h +++ b/include/sys/vdev_removal.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/vdev_trim.h b/include/sys/vdev_trim.h index 7a94d4af098..d418e91c5de 100644 --- a/include/sys/vdev_trim.h +++ b/include/sys/vdev_trim.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/xvattr.h b/include/sys/xvattr.h index a7994db894b..447842d269b 100644 --- a/include/sys/xvattr.h +++ b/include/sys/xvattr.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zap.h b/include/sys/zap.h index c8d24b1100b..8d6c9306021 100644 --- a/include/sys/zap.h +++ b/include/sys/zap.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zap_impl.h b/include/sys/zap_impl.h index fad2c8bfa69..5a5dd47739c 100644 --- a/include/sys/zap_impl.h +++ b/include/sys/zap_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zap_leaf.h b/include/sys/zap_leaf.h index e54456d3472..2ae51fc6315 100644 --- a/include/sys/zap_leaf.h +++ b/include/sys/zap_leaf.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zcp.h b/include/sys/zcp.h index 6301cc08e7e..96279deaee7 100644 --- a/include/sys/zcp.h +++ b/include/sys/zcp.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zcp_global.h b/include/sys/zcp_global.h index 0af5708dd3c..21554a095de 100644 --- a/include/sys/zcp_global.h +++ b/include/sys/zcp_global.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zcp_iter.h b/include/sys/zcp_iter.h index fa6eeef25ed..0354d746dc2 100644 --- a/include/sys/zcp_iter.h +++ b/include/sys/zcp_iter.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zcp_prop.h b/include/sys/zcp_prop.h index 97b17619565..e018fa6839a 100644 --- a/include/sys/zcp_prop.h +++ b/include/sys/zcp_prop.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zcp_set.h b/include/sys/zcp_set.h index b7428d6fc09..c90d2dc27f3 100644 --- a/include/sys/zcp_set.h +++ b/include/sys/zcp_set.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfeature.h b/include/sys/zfeature.h index bf9361374d3..fb9c3dbffc5 100644 --- a/include/sys/zfeature.h +++ b/include/sys/zfeature.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_acl.h b/include/sys/zfs_acl.h index e1928852884..753a128873d 100644 --- a/include/sys/zfs_acl.h +++ b/include/sys/zfs_acl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_bootenv.h b/include/sys/zfs_bootenv.h index 7af0a57dd00..074e7e75957 100644 --- a/include/sys/zfs_bootenv.h +++ b/include/sys/zfs_bootenv.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/include/sys/zfs_chksum.h b/include/sys/zfs_chksum.h index a0e1b35189b..9d35068eae1 100644 --- a/include/sys/zfs_chksum.h +++ b/include/sys/zfs_chksum.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h index 998eaa5dd81..549f54c0938 100644 --- a/include/sys/zfs_context.h +++ b/include/sys/zfs_context.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_debug.h b/include/sys/zfs_debug.h index 428563a9126..871936da15f 100644 --- a/include/sys/zfs_debug.h +++ b/include/sys/zfs_debug.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_delay.h b/include/sys/zfs_delay.h index 56ac1f3c439..a08a582cc7e 100644 --- a/include/sys/zfs_delay.h +++ b/include/sys/zfs_delay.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_file.h b/include/sys/zfs_file.h index 64f116c21ba..a1f344c2bb7 100644 --- a/include/sys/zfs_file.h +++ b/include/sys/zfs_file.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_fuid.h b/include/sys/zfs_fuid.h index d6b2942d1be..ec8ca0e1291 100644 --- a/include/sys/zfs_fuid.h +++ b/include/sys/zfs_fuid.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_impl.h b/include/sys/zfs_impl.h index df4899f132b..a0b90003438 100644 --- a/include/sys/zfs_impl.h +++ b/include/sys/zfs_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_ioctl.h b/include/sys/zfs_ioctl.h index a8c3ffc7645..1805028024e 100644 --- a/include/sys/zfs_ioctl.h +++ b/include/sys/zfs_ioctl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_ioctl_impl.h b/include/sys/zfs_ioctl_impl.h index cb852c5577f..74db8a16977 100644 --- a/include/sys/zfs_ioctl_impl.h +++ b/include/sys/zfs_ioctl_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_onexit.h b/include/sys/zfs_onexit.h index 91f49d4cc5a..9d7993fca38 100644 --- a/include/sys/zfs_onexit.h +++ b/include/sys/zfs_onexit.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_project.h b/include/sys/zfs_project.h index 8a46e5e068d..714c87a0d44 100644 --- a/include/sys/zfs_project.h +++ b/include/sys/zfs_project.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_quota.h b/include/sys/zfs_quota.h index 4567cc651af..f12a0f2db39 100644 --- a/include/sys/zfs_quota.h +++ b/include/sys/zfs_quota.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_racct.h b/include/sys/zfs_racct.h index ff84cccb09a..939e8fa666e 100644 --- a/include/sys/zfs_racct.h +++ b/include/sys/zfs_racct.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_ratelimit.h b/include/sys/zfs_ratelimit.h index 012825fadb2..9ec8a065b91 100644 --- a/include/sys/zfs_ratelimit.h +++ b/include/sys/zfs_ratelimit.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_refcount.h b/include/sys/zfs_refcount.h index 77965a0aa58..5cf1723d809 100644 --- a/include/sys/zfs_refcount.h +++ b/include/sys/zfs_refcount.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_rlock.h b/include/sys/zfs_rlock.h index 5e5d6d68d6c..df951d9014f 100644 --- a/include/sys/zfs_rlock.h +++ b/include/sys/zfs_rlock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_sa.h b/include/sys/zfs_sa.h index 1b4b8abf024..b40fbe46995 100644 --- a/include/sys/zfs_sa.h +++ b/include/sys/zfs_sa.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_stat.h b/include/sys/zfs_stat.h index 1589f945cbd..7079adaa2fa 100644 --- a/include/sys/zfs_stat.h +++ b/include/sys/zfs_stat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_sysfs.h b/include/sys/zfs_sysfs.h index 6fe9b7a9cd2..4e360bf30ec 100644 --- a/include/sys/zfs_sysfs.h +++ b/include/sys/zfs_sysfs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_vfsops.h b/include/sys/zfs_vfsops.h index 19ae7b77b45..18cc31e7183 100644 --- a/include/sys/zfs_vfsops.h +++ b/include/sys/zfs_vfsops.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_vnops.h b/include/sys/zfs_vnops.h index d4cd462cc0a..21f0da4fe6b 100644 --- a/include/sys/zfs_vnops.h +++ b/include/sys/zfs_vnops.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zfs_znode.h b/include/sys/zfs_znode.h index 040bfbdac83..b3a267e16f3 100644 --- a/include/sys/zfs_znode.h +++ b/include/sys/zfs_znode.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zil.h b/include/sys/zil.h index 259f2d03fc0..fa7945d8ab8 100644 --- a/include/sys/zil.h +++ b/include/sys/zil.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zil_impl.h b/include/sys/zil_impl.h index 9a34bafc1c7..252264b9eae 100644 --- a/include/sys/zil_impl.h +++ b/include/sys/zil_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zio.h b/include/sys/zio.h index 225f326e524..af47d6f87a4 100644 --- a/include/sys/zio.h +++ b/include/sys/zio.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zio_checksum.h b/include/sys/zio_checksum.h index 37fd65b7cb3..f07ad2605e3 100644 --- a/include/sys/zio_checksum.h +++ b/include/sys/zio_checksum.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zio_compress.h b/include/sys/zio_compress.h index ceef757abd2..3f9bb9695a3 100644 --- a/include/sys/zio_compress.h +++ b/include/sys/zio_compress.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zio_crypt.h b/include/sys/zio_crypt.h index 6a3efabb040..30ba198085d 100644 --- a/include/sys/zio_crypt.h +++ b/include/sys/zio_crypt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zio_impl.h b/include/sys/zio_impl.h index a5e3ab2384b..6b751eade0a 100644 --- a/include/sys/zio_impl.h +++ b/include/sys/zio_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zrlock.h b/include/sys/zrlock.h index e2a7a254a6e..3906be1d128 100644 --- a/include/sys/zrlock.h +++ b/include/sys/zrlock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zthr.h b/include/sys/zthr.h index 4881b457264..3973cfca5ce 100644 --- a/include/sys/zthr.h +++ b/include/sys/zthr.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zvol.h b/include/sys/zvol.h index c79fe1d9ad2..32e70365093 100644 --- a/include/sys/zvol.h +++ b/include/sys/zvol.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/sys/zvol_impl.h b/include/sys/zvol_impl.h index a8168850023..3a40b40f7f3 100644 --- a/include/sys/zvol_impl.h +++ b/include/sys/zvol_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/thread_pool.h b/include/thread_pool.h index 2e0aed5f7f5..b5ef5114641 100644 --- a/include/thread_pool.h +++ b/include/thread_pool.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/zfeature_common.h b/include/zfeature_common.h index ac42b5c0cd6..85537c1ae96 100644 --- a/include/zfeature_common.h +++ b/include/zfeature_common.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/zfs_comutil.h b/include/zfs_comutil.h index 25f0959e00b..90be86c9556 100644 --- a/include/zfs_comutil.h +++ b/include/zfs_comutil.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/zfs_deleg.h b/include/zfs_deleg.h index 92331b4eeba..f80fe46d35f 100644 --- a/include/zfs_deleg.h +++ b/include/zfs_deleg.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/zfs_fletcher.h b/include/zfs_fletcher.h index ca1a092928d..f3a620a7c7e 100644 --- a/include/zfs_fletcher.h +++ b/include/zfs_fletcher.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/zfs_namecheck.h b/include/zfs_namecheck.h index d3a923909c6..a15d5ee44b3 100644 --- a/include/zfs_namecheck.h +++ b/include/zfs_namecheck.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/zfs_prop.h b/include/zfs_prop.h index 3513c4b4093..c0c332bdc9e 100644 --- a/include/zfs_prop.h +++ b/include/zfs_prop.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/include/zfs_valstr.h b/include/zfs_valstr.h index 77c26ce1ae7..295449396c5 100644 --- a/include/zfs_valstr.h +++ b/include/zfs_valstr.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libefi/rdwr_efi.c b/lib/libefi/rdwr_efi.c index 63c91059ae5..0a93fd1338f 100644 --- a/lib/libefi/rdwr_efi.c +++ b/lib/libefi/rdwr_efi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libnvpair/libnvpair.c b/lib/libnvpair/libnvpair.c index 7141c437b81..fb26ed63845 100644 --- a/lib/libnvpair/libnvpair.c +++ b/lib/libnvpair/libnvpair.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libnvpair/libnvpair_json.c b/lib/libnvpair/libnvpair_json.c index b8029dd4d27..6ed984698b5 100644 --- a/lib/libnvpair/libnvpair_json.c +++ b/lib/libnvpair/libnvpair_json.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/lib/libnvpair/nvpair_alloc_system.c b/lib/libnvpair/nvpair_alloc_system.c index ade10f58f60..293233df443 100644 --- a/lib/libnvpair/nvpair_alloc_system.c +++ b/lib/libnvpair/nvpair_alloc_system.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libshare/libshare.c b/lib/libshare/libshare.c index d50b4550d6d..3695207e6fe 100644 --- a/lib/libshare/libshare.c +++ b/lib/libshare/libshare.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libshare/libshare_impl.h b/lib/libshare/libshare_impl.h index d8c924757fe..79f081bb831 100644 --- a/lib/libshare/libshare_impl.h +++ b/lib/libshare/libshare_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libshare/nfs.c b/lib/libshare/nfs.c index 77ed14f322e..e4c5b904f51 100644 --- a/lib/libshare/nfs.c +++ b/lib/libshare/nfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libshare/nfs.h b/lib/libshare/nfs.h index f4340b18f89..1b8ed890d7b 100644 --- a/lib/libshare/nfs.h +++ b/lib/libshare/nfs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libshare/os/freebsd/smb.c b/lib/libshare/os/freebsd/smb.c index 37a3802e4b8..c6b8bdde2d4 100644 --- a/lib/libshare/os/freebsd/smb.c +++ b/lib/libshare/os/freebsd/smb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libshare/os/linux/nfs.c b/lib/libshare/os/linux/nfs.c index 3dce818400f..6a9bb378852 100644 --- a/lib/libshare/os/linux/nfs.c +++ b/lib/libshare/os/linux/nfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libshare/os/linux/smb.c b/lib/libshare/os/linux/smb.c index 0679e82104e..40996ecc8f8 100644 --- a/lib/libshare/os/linux/smb.c +++ b/lib/libshare/os/linux/smb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libshare/smb.h b/lib/libshare/smb.h index 23d27c7b913..79e67bd7c45 100644 --- a/lib/libshare/smb.h +++ b/lib/libshare/smb.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/assert.c b/lib/libspl/assert.c index d11361b387e..54d93110481 100644 --- a/lib/libspl/assert.c +++ b/lib/libspl/assert.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/atomic.c b/lib/libspl/atomic.c index f61f5fcc47f..b5cc4ab2a55 100644 --- a/lib/libspl/atomic.c +++ b/lib/libspl/atomic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/backtrace.c b/lib/libspl/backtrace.c index 7f1ef596f8e..2353f357614 100644 --- a/lib/libspl/backtrace.c +++ b/lib/libspl/backtrace.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/getexecname.c b/lib/libspl/getexecname.c index 95583b31ee6..56ba5aa8605 100644 --- a/lib/libspl/getexecname.c +++ b/lib/libspl/getexecname.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/assert.h b/lib/libspl/include/assert.h index 155bbab3020..9497ce16ffc 100644 --- a/lib/libspl/include/assert.h +++ b/lib/libspl/include/assert.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/atomic.h b/lib/libspl/include/atomic.h index 4ebdbbda986..cc6f2e2ce98 100644 --- a/lib/libspl/include/atomic.h +++ b/lib/libspl/include/atomic.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/libgen.h b/lib/libspl/include/libgen.h index d8c80509e99..18d3e1d891b 100644 --- a/lib/libspl/include/libgen.h +++ b/lib/libspl/include/libgen.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/libshare.h b/lib/libspl/include/libshare.h index deeb15c9770..bfa78bffd46 100644 --- a/lib/libspl/include/libshare.h +++ b/lib/libspl/include/libshare.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/freebsd/sys/byteorder.h b/lib/libspl/include/os/freebsd/sys/byteorder.h index bd6728820ed..116ce991b89 100644 --- a/lib/libspl/include/os/freebsd/sys/byteorder.h +++ b/lib/libspl/include/os/freebsd/sys/byteorder.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/freebsd/sys/file.h b/lib/libspl/include/os/freebsd/sys/file.h index f46b883f524..75c3b23860b 100644 --- a/lib/libspl/include/os/freebsd/sys/file.h +++ b/lib/libspl/include/os/freebsd/sys/file.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/freebsd/sys/ia32/asm_linkage.h b/lib/libspl/include/os/freebsd/sys/ia32/asm_linkage.h index 1c4d7442364..f9c34d282d4 100644 --- a/lib/libspl/include/os/freebsd/sys/ia32/asm_linkage.h +++ b/lib/libspl/include/os/freebsd/sys/ia32/asm_linkage.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/freebsd/sys/mnttab.h b/lib/libspl/include/os/freebsd/sys/mnttab.h index 514e1b67547..e520bf5ef3b 100644 --- a/lib/libspl/include/os/freebsd/sys/mnttab.h +++ b/lib/libspl/include/os/freebsd/sys/mnttab.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/freebsd/sys/mount.h b/lib/libspl/include/os/freebsd/sys/mount.h index 61c421fe4ed..231c250d341 100644 --- a/lib/libspl/include/os/freebsd/sys/mount.h +++ b/lib/libspl/include/os/freebsd/sys/mount.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/freebsd/sys/param.h b/lib/libspl/include/os/freebsd/sys/param.h index 1ff3ca8025f..55fa1de0e8f 100644 --- a/lib/libspl/include/os/freebsd/sys/param.h +++ b/lib/libspl/include/os/freebsd/sys/param.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/freebsd/sys/stat.h b/lib/libspl/include/os/freebsd/sys/stat.h index af488244bd0..666f2ec6d76 100644 --- a/lib/libspl/include/os/freebsd/sys/stat.h +++ b/lib/libspl/include/os/freebsd/sys/stat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/linux/sys/byteorder.h b/lib/libspl/include/os/linux/sys/byteorder.h index 50f0f1e7793..4fba62addd3 100644 --- a/lib/libspl/include/os/linux/sys/byteorder.h +++ b/lib/libspl/include/os/linux/sys/byteorder.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/linux/sys/errno.h b/lib/libspl/include/os/linux/sys/errno.h index f0ad60b0bcf..dd0120100a3 100644 --- a/lib/libspl/include/os/linux/sys/errno.h +++ b/lib/libspl/include/os/linux/sys/errno.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/linux/sys/ia32/asm_linkage.h b/lib/libspl/include/os/linux/sys/ia32/asm_linkage.h index f0759612334..e1d25346b13 100644 --- a/lib/libspl/include/os/linux/sys/ia32/asm_linkage.h +++ b/lib/libspl/include/os/linux/sys/ia32/asm_linkage.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/linux/sys/mnttab.h b/lib/libspl/include/os/linux/sys/mnttab.h index 7b540a383d2..c1b7f3b389c 100644 --- a/lib/libspl/include/os/linux/sys/mnttab.h +++ b/lib/libspl/include/os/linux/sys/mnttab.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/linux/sys/mount.h b/lib/libspl/include/os/linux/sys/mount.h index a98fd6974b9..c4a291f5c22 100644 --- a/lib/libspl/include/os/linux/sys/mount.h +++ b/lib/libspl/include/os/linux/sys/mount.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/linux/sys/param.h b/lib/libspl/include/os/linux/sys/param.h index c35678529ba..814f8feaf37 100644 --- a/lib/libspl/include/os/linux/sys/param.h +++ b/lib/libspl/include/os/linux/sys/param.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/linux/sys/stat.h b/lib/libspl/include/os/linux/sys/stat.h index e7f59262051..488554f4e84 100644 --- a/lib/libspl/include/os/linux/sys/stat.h +++ b/lib/libspl/include/os/linux/sys/stat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/linux/sys/sysmacros.h b/lib/libspl/include/os/linux/sys/sysmacros.h index 26e1c87a35a..66e0da6b5af 100644 --- a/lib/libspl/include/os/linux/sys/sysmacros.h +++ b/lib/libspl/include/os/linux/sys/sysmacros.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/os/linux/sys/zfs_context_os.h b/lib/libspl/include/os/linux/sys/zfs_context_os.h index 04abfa09d8f..bbfb4d17e06 100644 --- a/lib/libspl/include/os/linux/sys/zfs_context_os.h +++ b/lib/libspl/include/os/linux/sys/zfs_context_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/rpc/xdr.h b/lib/libspl/include/rpc/xdr.h index 882b72456c2..85f718c275a 100644 --- a/lib/libspl/include/rpc/xdr.h +++ b/lib/libspl/include/rpc/xdr.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/statcommon.h b/lib/libspl/include/statcommon.h index 6b7cd0c105e..21c64ed4a9f 100644 --- a/lib/libspl/include/statcommon.h +++ b/lib/libspl/include/statcommon.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/stdlib.h b/lib/libspl/include/stdlib.h index 2dd371463d4..f381f21345f 100644 --- a/lib/libspl/include/stdlib.h +++ b/lib/libspl/include/stdlib.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/string.h b/lib/libspl/include/string.h index f8605790a6f..52f268b1d93 100644 --- a/lib/libspl/include/string.h +++ b/lib/libspl/include/string.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/acl.h b/lib/libspl/include/sys/acl.h index 43646f3e28f..602043bbb19 100644 --- a/lib/libspl/include/sys/acl.h +++ b/lib/libspl/include/sys/acl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/acl_impl.h b/lib/libspl/include/sys/acl_impl.h index e7f7bcd907c..2850eacf61f 100644 --- a/lib/libspl/include/sys/acl_impl.h +++ b/lib/libspl/include/sys/acl_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/asm_linkage.h b/lib/libspl/include/sys/asm_linkage.h index 84aa0854a9f..1a0f2864a17 100644 --- a/lib/libspl/include/sys/asm_linkage.h +++ b/lib/libspl/include/sys/asm_linkage.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/backtrace.h b/lib/libspl/include/sys/backtrace.h index f9869ffc9e1..3a2077f32e6 100644 --- a/lib/libspl/include/sys/backtrace.h +++ b/lib/libspl/include/sys/backtrace.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/callb.h b/lib/libspl/include/sys/callb.h index 783208ed16a..46ed166e52f 100644 --- a/lib/libspl/include/sys/callb.h +++ b/lib/libspl/include/sys/callb.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/cmn_err.h b/lib/libspl/include/sys/cmn_err.h index 6a29e6cff2e..32930adaeff 100644 --- a/lib/libspl/include/sys/cmn_err.h +++ b/lib/libspl/include/sys/cmn_err.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/cred.h b/lib/libspl/include/sys/cred.h index 45eb65089df..4f6183762a0 100644 --- a/lib/libspl/include/sys/cred.h +++ b/lib/libspl/include/sys/cred.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/debug.h b/lib/libspl/include/sys/debug.h index ef3f0afb68c..cced309bd1b 100644 --- a/lib/libspl/include/sys/debug.h +++ b/lib/libspl/include/sys/debug.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/dkio.h b/lib/libspl/include/sys/dkio.h index 9517b580bdf..4ae1026d4d5 100644 --- a/lib/libspl/include/sys/dkio.h +++ b/lib/libspl/include/sys/dkio.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/dklabel.h b/lib/libspl/include/sys/dklabel.h index a1fddd34799..409d337e9ad 100644 --- a/lib/libspl/include/sys/dklabel.h +++ b/lib/libspl/include/sys/dklabel.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/dktp/fdisk.h b/lib/libspl/include/sys/dktp/fdisk.h index 53db7d81543..5e5db04cccf 100644 --- a/lib/libspl/include/sys/dktp/fdisk.h +++ b/lib/libspl/include/sys/dktp/fdisk.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/feature_tests.h b/lib/libspl/include/sys/feature_tests.h index 396052f125a..be7d4ebf921 100644 --- a/lib/libspl/include/sys/feature_tests.h +++ b/lib/libspl/include/sys/feature_tests.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/inttypes.h b/lib/libspl/include/sys/inttypes.h index 85ddef9ee74..66cf97ac8b5 100644 --- a/lib/libspl/include/sys/inttypes.h +++ b/lib/libspl/include/sys/inttypes.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/isa_defs.h b/lib/libspl/include/sys/isa_defs.h index 302f31e989c..99dbc70e461 100644 --- a/lib/libspl/include/sys/isa_defs.h +++ b/lib/libspl/include/sys/isa_defs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/kmem.h b/lib/libspl/include/sys/kmem.h index 9a4f63d0221..279461f8d4c 100644 --- a/lib/libspl/include/sys/kmem.h +++ b/lib/libspl/include/sys/kmem.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/kstat.h b/lib/libspl/include/sys/kstat.h index e6057bf6b98..7777888c31e 100644 --- a/lib/libspl/include/sys/kstat.h +++ b/lib/libspl/include/sys/kstat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/list.h b/lib/libspl/include/sys/list.h index 6c32402a7bd..cbbda85dabb 100644 --- a/lib/libspl/include/sys/list.h +++ b/lib/libspl/include/sys/list.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/list_impl.h b/lib/libspl/include/sys/list_impl.h index 629db34da06..10683adab32 100644 --- a/lib/libspl/include/sys/list_impl.h +++ b/lib/libspl/include/sys/list_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/mhd.h b/lib/libspl/include/sys/mhd.h index 956009b499e..82ec436750e 100644 --- a/lib/libspl/include/sys/mhd.h +++ b/lib/libspl/include/sys/mhd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/mkdev.h b/lib/libspl/include/sys/mkdev.h index 4878920f3f1..f02823c68db 100644 --- a/lib/libspl/include/sys/mkdev.h +++ b/lib/libspl/include/sys/mkdev.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/policy.h b/lib/libspl/include/sys/policy.h index b0a810f0984..0d6016c1dd1 100644 --- a/lib/libspl/include/sys/policy.h +++ b/lib/libspl/include/sys/policy.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/poll.h b/lib/libspl/include/sys/poll.h index 8f6d591537b..3e99db0bdbe 100644 --- a/lib/libspl/include/sys/poll.h +++ b/lib/libspl/include/sys/poll.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/priv.h b/lib/libspl/include/sys/priv.h index c3f8b7bc41c..30b88a6c47f 100644 --- a/lib/libspl/include/sys/priv.h +++ b/lib/libspl/include/sys/priv.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/processor.h b/lib/libspl/include/sys/processor.h index d778438c1b3..9e1bd90992b 100644 --- a/lib/libspl/include/sys/processor.h +++ b/lib/libspl/include/sys/processor.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/simd.h b/lib/libspl/include/sys/simd.h index 2926dc68076..1ef24f5a7d3 100644 --- a/lib/libspl/include/sys/simd.h +++ b/lib/libspl/include/sys/simd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/stack.h b/lib/libspl/include/sys/stack.h index ed63d3cb9da..80984086a14 100644 --- a/lib/libspl/include/sys/stack.h +++ b/lib/libspl/include/sys/stack.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/stdtypes.h b/lib/libspl/include/sys/stdtypes.h index 9ad51a03f27..db5876e5bc2 100644 --- a/lib/libspl/include/sys/stdtypes.h +++ b/lib/libspl/include/sys/stdtypes.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/sunddi.h b/lib/libspl/include/sys/sunddi.h index 4e2c370f7b8..8489c7139ba 100644 --- a/lib/libspl/include/sys/sunddi.h +++ b/lib/libspl/include/sys/sunddi.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/systeminfo.h b/lib/libspl/include/sys/systeminfo.h index e0418db89fc..3ca1fa88499 100644 --- a/lib/libspl/include/sys/systeminfo.h +++ b/lib/libspl/include/sys/systeminfo.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/time.h b/lib/libspl/include/sys/time.h index 0f7d5196b31..da80a5852ae 100644 --- a/lib/libspl/include/sys/time.h +++ b/lib/libspl/include/sys/time.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/types.h b/lib/libspl/include/sys/types.h index 90e3cf9bdaf..f4bb85c7942 100644 --- a/lib/libspl/include/sys/types.h +++ b/lib/libspl/include/sys/types.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/types32.h b/lib/libspl/include/sys/types32.h index d065ebed03b..1bcae20187a 100644 --- a/lib/libspl/include/sys/types32.h +++ b/lib/libspl/include/sys/types32.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/uio.h b/lib/libspl/include/sys/uio.h index f86be64ce7f..93aa4984d73 100644 --- a/lib/libspl/include/sys/uio.h +++ b/lib/libspl/include/sys/uio.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/vnode.h b/lib/libspl/include/sys/vnode.h index 111cc8fd835..49afe12c52b 100644 --- a/lib/libspl/include/sys/vnode.h +++ b/lib/libspl/include/sys/vnode.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/wmsum.h b/lib/libspl/include/sys/wmsum.h index 0679af73ce9..36e37f9e17d 100644 --- a/lib/libspl/include/sys/wmsum.h +++ b/lib/libspl/include/sys/wmsum.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/sys/zone.h b/lib/libspl/include/sys/zone.h index 00d740fb6ff..f4037b4875a 100644 --- a/lib/libspl/include/sys/zone.h +++ b/lib/libspl/include/sys/zone.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/umem.h b/lib/libspl/include/umem.h index 9039212baf1..6945aae9f3c 100644 --- a/lib/libspl/include/umem.h +++ b/lib/libspl/include/umem.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/unistd.h b/lib/libspl/include/unistd.h index edb610e8784..6d755eb8ad9 100644 --- a/lib/libspl/include/unistd.h +++ b/lib/libspl/include/unistd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/include/zone.h b/lib/libspl/include/zone.h index 341d574a746..f946c0f13f7 100644 --- a/lib/libspl/include/zone.h +++ b/lib/libspl/include/zone.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/libspl_impl.h b/lib/libspl/libspl_impl.h index 3a19df64440..39392da09ef 100644 --- a/lib/libspl/libspl_impl.h +++ b/lib/libspl/libspl_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/list.c b/lib/libspl/list.c index aaa71dc73c9..f95b358153d 100644 --- a/lib/libspl/list.c +++ b/lib/libspl/list.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/mkdirp.c b/lib/libspl/mkdirp.c index dff95a192af..80198dfbecb 100644 --- a/lib/libspl/mkdirp.c +++ b/lib/libspl/mkdirp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/os/freebsd/getexecname.c b/lib/libspl/os/freebsd/getexecname.c index 5f1692adf1d..49c0ce3a243 100644 --- a/lib/libspl/os/freebsd/getexecname.c +++ b/lib/libspl/os/freebsd/getexecname.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/os/freebsd/gethostid.c b/lib/libspl/os/freebsd/gethostid.c index 4e095d67071..bd0f3ee5a07 100644 --- a/lib/libspl/os/freebsd/gethostid.c +++ b/lib/libspl/os/freebsd/gethostid.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/os/freebsd/getmntany.c b/lib/libspl/os/freebsd/getmntany.c index fc1c9de6df8..baff124b4a4 100644 --- a/lib/libspl/os/freebsd/getmntany.c +++ b/lib/libspl/os/freebsd/getmntany.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/os/linux/getexecname.c b/lib/libspl/os/linux/getexecname.c index 4b54c193973..dc4fe26ca55 100644 --- a/lib/libspl/os/linux/getexecname.c +++ b/lib/libspl/os/linux/getexecname.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/os/linux/gethostid.c b/lib/libspl/os/linux/gethostid.c index fcef8798c61..d39f3dda3b8 100644 --- a/lib/libspl/os/linux/gethostid.c +++ b/lib/libspl/os/linux/gethostid.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/os/linux/getmntany.c b/lib/libspl/os/linux/getmntany.c index a46c4e93171..dcdf7b3d6fc 100644 --- a/lib/libspl/os/linux/getmntany.c +++ b/lib/libspl/os/linux/getmntany.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/os/linux/zone.c b/lib/libspl/os/linux/zone.c index f8a10bfa167..f1520676753 100644 --- a/lib/libspl/os/linux/zone.c +++ b/lib/libspl/os/linux/zone.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/page.c b/lib/libspl/page.c index fb882786778..6160a1de10c 100644 --- a/lib/libspl/page.c +++ b/lib/libspl/page.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/strlcat.c b/lib/libspl/strlcat.c index 88e244534ca..6e4c3280a83 100644 --- a/lib/libspl/strlcat.c +++ b/lib/libspl/strlcat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/strlcpy.c b/lib/libspl/strlcpy.c index c3f59bd84b0..49ffa2db67c 100644 --- a/lib/libspl/strlcpy.c +++ b/lib/libspl/strlcpy.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libspl/timestamp.c b/lib/libspl/timestamp.c index efe21fc1c0e..0b0838f4b44 100644 --- a/lib/libspl/timestamp.c +++ b/lib/libspl/timestamp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libtpool/thread_pool.c b/lib/libtpool/thread_pool.c index 9bf9cdf5dc8..39b92ae8116 100644 --- a/lib/libtpool/thread_pool.c +++ b/lib/libtpool/thread_pool.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libtpool/thread_pool_impl.h b/lib/libtpool/thread_pool_impl.h index 6cde8d0d235..e2bffd37d52 100644 --- a/lib/libtpool/thread_pool_impl.h +++ b/lib/libtpool/thread_pool_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libuutil/uu_alloc.c b/lib/libuutil/uu_alloc.c index 2850bf6d1b3..dc2276e3d8b 100644 --- a/lib/libuutil/uu_alloc.c +++ b/lib/libuutil/uu_alloc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libuutil/uu_avl.c b/lib/libuutil/uu_avl.c index ef1497b3143..a741bfa0fc9 100644 --- a/lib/libuutil/uu_avl.c +++ b/lib/libuutil/uu_avl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libuutil/uu_ident.c b/lib/libuutil/uu_ident.c index d0cab0a64d0..87fde4d9808 100644 --- a/lib/libuutil/uu_ident.c +++ b/lib/libuutil/uu_ident.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libuutil/uu_list.c b/lib/libuutil/uu_list.c index aa8b129cc22..6c303bde9c8 100644 --- a/lib/libuutil/uu_list.c +++ b/lib/libuutil/uu_list.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libuutil/uu_misc.c b/lib/libuutil/uu_misc.c index 762d00c3cd3..1166fdfb223 100644 --- a/lib/libuutil/uu_misc.c +++ b/lib/libuutil/uu_misc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libuutil/uu_string.c b/lib/libuutil/uu_string.c index eff0727b756..76f0a082607 100644 --- a/lib/libuutil/uu_string.c +++ b/lib/libuutil/uu_string.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_changelist.c b/lib/libzfs/libzfs_changelist.c index 47df8663165..d290d949f4b 100644 --- a/lib/libzfs/libzfs_changelist.c +++ b/lib/libzfs/libzfs_changelist.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_config.c b/lib/libzfs/libzfs_config.c index 437afb3b746..0d210219138 100644 --- a/lib/libzfs/libzfs_config.c +++ b/lib/libzfs/libzfs_config.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_crypto.c b/lib/libzfs/libzfs_crypto.c index 93dfa9cbc2c..da1d1ee29e9 100644 --- a/lib/libzfs/libzfs_crypto.c +++ b/lib/libzfs/libzfs_crypto.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_dataset.c b/lib/libzfs/libzfs_dataset.c index 06fa52b00e0..8d9639221c2 100644 --- a/lib/libzfs/libzfs_dataset.c +++ b/lib/libzfs/libzfs_dataset.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_diff.c b/lib/libzfs/libzfs_diff.c index edf290c4d04..6aa0375f98d 100644 --- a/lib/libzfs/libzfs_diff.c +++ b/lib/libzfs/libzfs_diff.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_impl.h b/lib/libzfs/libzfs_impl.h index e98ede51e4b..9053740ec2f 100644 --- a/lib/libzfs/libzfs_impl.h +++ b/lib/libzfs/libzfs_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_import.c b/lib/libzfs/libzfs_import.c index e2d40a7b3bf..599e8e6f781 100644 --- a/lib/libzfs/libzfs_import.c +++ b/lib/libzfs/libzfs_import.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_iter.c b/lib/libzfs/libzfs_iter.c index 452d8fd6ab7..1ce833c87ec 100644 --- a/lib/libzfs/libzfs_iter.c +++ b/lib/libzfs/libzfs_iter.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_mount.c b/lib/libzfs/libzfs_mount.c index 42988bf9cbb..2a81b658d34 100644 --- a/lib/libzfs/libzfs_mount.c +++ b/lib/libzfs/libzfs_mount.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c index 64f9d1f6eb4..06d2c3543e3 100644 --- a/lib/libzfs/libzfs_pool.c +++ b/lib/libzfs/libzfs_pool.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_sendrecv.c b/lib/libzfs/libzfs_sendrecv.c index 97920ce6f21..1ad10ebb3c1 100644 --- a/lib/libzfs/libzfs_sendrecv.c +++ b/lib/libzfs/libzfs_sendrecv.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_status.c b/lib/libzfs/libzfs_status.c index a2259eee91c..1ee70396823 100644 --- a/lib/libzfs/libzfs_status.c +++ b/lib/libzfs/libzfs_status.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/libzfs_util.c b/lib/libzfs/libzfs_util.c index 7cc91f984a4..e450d94add8 100644 --- a/lib/libzfs/libzfs_util.c +++ b/lib/libzfs/libzfs_util.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/os/freebsd/libzfs_compat.c b/lib/libzfs/os/freebsd/libzfs_compat.c index 2abf7755b51..4d7c12d9cc3 100644 --- a/lib/libzfs/os/freebsd/libzfs_compat.c +++ b/lib/libzfs/os/freebsd/libzfs_compat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/os/linux/libzfs_mount_os.c b/lib/libzfs/os/linux/libzfs_mount_os.c index f0bf3dcc6c6..585d22d9e5b 100644 --- a/lib/libzfs/os/linux/libzfs_mount_os.c +++ b/lib/libzfs/os/linux/libzfs_mount_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/os/linux/libzfs_pool_os.c b/lib/libzfs/os/linux/libzfs_pool_os.c index 7b18e31c867..aef169a3f88 100644 --- a/lib/libzfs/os/linux/libzfs_pool_os.c +++ b/lib/libzfs/os/linux/libzfs_pool_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs/os/linux/libzfs_util_os.c b/lib/libzfs/os/linux/libzfs_util_os.c index 99faae66833..e750199cf9d 100644 --- a/lib/libzfs/os/linux/libzfs_util_os.c +++ b/lib/libzfs/os/linux/libzfs_util_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs_core/libzfs_core.c b/lib/libzfs_core/libzfs_core.c index d07fca6ceba..4b1e797bf9c 100644 --- a/lib/libzfs_core/libzfs_core.c +++ b/lib/libzfs_core/libzfs_core.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs_core/os/freebsd/libzfs_core_ioctl.c b/lib/libzfs_core/os/freebsd/libzfs_core_ioctl.c index 76778b36521..b3b93dc9131 100644 --- a/lib/libzfs_core/os/freebsd/libzfs_core_ioctl.c +++ b/lib/libzfs_core/os/freebsd/libzfs_core_ioctl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfs_core/os/linux/libzfs_core_ioctl.c b/lib/libzfs_core/os/linux/libzfs_core_ioctl.c index 116cddfc45d..ee76274c06b 100644 --- a/lib/libzfs_core/os/linux/libzfs_core_ioctl.c +++ b/lib/libzfs_core/os/linux/libzfs_core_ioctl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzfsbootenv/lzbe_device.c b/lib/libzfsbootenv/lzbe_device.c index 894471a9bf3..f155960bfea 100644 --- a/lib/libzfsbootenv/lzbe_device.c +++ b/lib/libzfsbootenv/lzbe_device.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/lib/libzfsbootenv/lzbe_pair.c b/lib/libzfsbootenv/lzbe_pair.c index b9222598451..3f576a569f2 100644 --- a/lib/libzfsbootenv/lzbe_pair.c +++ b/lib/libzfsbootenv/lzbe_pair.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/lib/libzfsbootenv/lzbe_util.c b/lib/libzfsbootenv/lzbe_util.c index 35e98549582..fc60f698f3b 100644 --- a/lib/libzfsbootenv/lzbe_util.c +++ b/lib/libzfsbootenv/lzbe_util.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/lib/libzpool/abd_os.c b/lib/libzpool/abd_os.c index 8531b8f40ac..0d5795de143 100644 --- a/lib/libzpool/abd_os.c +++ b/lib/libzpool/abd_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzpool/arc_os.c b/lib/libzpool/arc_os.c index ed99322ddb0..6ad1a2bcda6 100644 --- a/lib/libzpool/arc_os.c +++ b/lib/libzpool/arc_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzpool/include/sys/abd_impl_os.h b/lib/libzpool/include/sys/abd_impl_os.h index 3137346f3bb..dee95652c71 100644 --- a/lib/libzpool/include/sys/abd_impl_os.h +++ b/lib/libzpool/include/sys/abd_impl_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzpool/include/sys/abd_os.h b/lib/libzpool/include/sys/abd_os.h index 8ff6aa1e9e4..80ce46e99a8 100644 --- a/lib/libzpool/include/sys/abd_os.h +++ b/lib/libzpool/include/sys/abd_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzpool/kernel.c b/lib/libzpool/kernel.c index 4f4cf490f8e..653380149a9 100644 --- a/lib/libzpool/kernel.c +++ b/lib/libzpool/kernel.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzpool/taskq.c b/lib/libzpool/taskq.c index 5fb2283cf0b..0457de21fa1 100644 --- a/lib/libzpool/taskq.c +++ b/lib/libzpool/taskq.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzpool/util.c b/lib/libzpool/util.c index b9503d4e56d..a297daedbd4 100644 --- a/lib/libzpool/util.c +++ b/lib/libzpool/util.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzpool/vdev_label_os.c b/lib/libzpool/vdev_label_os.c index c303cba6dc0..803840884b2 100644 --- a/lib/libzpool/vdev_label_os.c +++ b/lib/libzpool/vdev_label_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzpool/zfs_debug.c b/lib/libzpool/zfs_debug.c index 82c7229932f..3e5cff76abe 100644 --- a/lib/libzpool/zfs_debug.c +++ b/lib/libzpool/zfs_debug.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzutil/os/freebsd/zutil_device_path_os.c b/lib/libzutil/os/freebsd/zutil_device_path_os.c index 9c67d3af085..6e348e8b6ec 100644 --- a/lib/libzutil/os/freebsd/zutil_device_path_os.c +++ b/lib/libzutil/os/freebsd/zutil_device_path_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzutil/os/freebsd/zutil_import_os.c b/lib/libzutil/os/freebsd/zutil_import_os.c index 049710d3985..324ba1cf372 100644 --- a/lib/libzutil/os/freebsd/zutil_import_os.c +++ b/lib/libzutil/os/freebsd/zutil_import_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzutil/os/linux/zutil_device_path_os.c b/lib/libzutil/os/linux/zutil_device_path_os.c index 900d5e5bacd..8ed062bf9b3 100644 --- a/lib/libzutil/os/linux/zutil_device_path_os.c +++ b/lib/libzutil/os/linux/zutil_device_path_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzutil/os/linux/zutil_import_os.c b/lib/libzutil/os/linux/zutil_import_os.c index bb91dec5acf..2b2043889e6 100644 --- a/lib/libzutil/os/linux/zutil_import_os.c +++ b/lib/libzutil/os/linux/zutil_import_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzutil/zutil_device_path.c b/lib/libzutil/zutil_device_path.c index 0586c0c7c80..97a2a998bb6 100644 --- a/lib/libzutil/zutil_device_path.c +++ b/lib/libzutil/zutil_device_path.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzutil/zutil_import.c b/lib/libzutil/zutil_import.c index 77fa0ce38b2..ccdc874076c 100644 --- a/lib/libzutil/zutil_import.c +++ b/lib/libzutil/zutil_import.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzutil/zutil_import.h b/lib/libzutil/zutil_import.h index da7941fa530..0c140c226b0 100644 --- a/lib/libzutil/zutil_import.h +++ b/lib/libzutil/zutil_import.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzutil/zutil_nicenum.c b/lib/libzutil/zutil_nicenum.c index e05bcb40a8c..44d68e85d0d 100644 --- a/lib/libzutil/zutil_nicenum.c +++ b/lib/libzutil/zutil_nicenum.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/lib/libzutil/zutil_pool.c b/lib/libzutil/zutil_pool.c index 86460de3fc6..2aacfa53b5e 100644 --- a/lib/libzutil/zutil_pool.c +++ b/lib/libzutil/zutil_pool.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/man/man1/arcstat.1 b/man/man1/arcstat.1 index 019a8270204..f2474fbb701 100644 --- a/man/man1/arcstat.1 +++ b/man/man1/arcstat.1 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" This file and its contents are supplied under the terms of the .\" Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/man/man1/cstyle.1 b/man/man1/cstyle.1 index 726db298437..241c82edd5a 100644 --- a/man/man1/cstyle.1 +++ b/man/man1/cstyle.1 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" Copyright 2009 Sun Microsystems, Inc. All rights reserved. .\" Use is subject to license terms. .\" diff --git a/man/man1/raidz_test.1 b/man/man1/raidz_test.1 index d027230d0dc..1f7069f6828 100644 --- a/man/man1/raidz_test.1 +++ b/man/man1/raidz_test.1 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man1/test-runner.1 b/man/man1/test-runner.1 index 5bdb4d887e1..be06e2990a1 100644 --- a/man/man1/test-runner.1 +++ b/man/man1/test-runner.1 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" This file and its contents are supplied under the terms of the .\" Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/man/man1/zhack.1 b/man/man1/zhack.1 index 937f1e9168c..f58c0527649 100644 --- a/man/man1/zhack.1 +++ b/man/man1/zhack.1 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man1/ztest.1 b/man/man1/ztest.1 index bbbe751ca01..6dad1937ebb 100644 --- a/man/man1/ztest.1 +++ b/man/man1/ztest.1 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man1/zvol_wait.1 b/man/man1/zvol_wait.1 index 0fb47ce7348..7f3bbc7829c 100644 --- a/man/man1/zvol_wait.1 +++ b/man/man1/zvol_wait.1 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" This file and its contents are supplied under the terms of the .\" Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/man/man4/spl.4 b/man/man4/spl.4 index 22832c492db..278e003e236 100644 --- a/man/man4/spl.4 +++ b/man/man4/spl.4 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" The contents of this file are subject to the terms of the Common Development .\" and Distribution License (the "License"). You may not use this file except diff --git a/man/man4/zfs.4 b/man/man4/zfs.4 index 5db15494281..e0f29f37576 100644 --- a/man/man4/zfs.4 +++ b/man/man4/zfs.4 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" Copyright (c) 2013 by Turbo Fredriksson . All rights reserved. .\" Copyright (c) 2019, 2021 by Delphix. All rights reserved. diff --git a/man/man5/vdev_id.conf.5 b/man/man5/vdev_id.conf.5 index aaf91825a6c..d2f817631c1 100644 --- a/man/man5/vdev_id.conf.5 +++ b/man/man5/vdev_id.conf.5 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" This file and its contents are supplied under the terms of the .\" Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/man/man7/dracut.zfs.7 b/man/man7/dracut.zfs.7 index b67e1cecb24..fb5da553af6 100644 --- a/man/man7/dracut.zfs.7 +++ b/man/man7/dracut.zfs.7 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" SPDX-License-Identifier: 0BSD .\" .Dd March 28, 2023 diff --git a/man/man7/vdevprops.7 b/man/man7/vdevprops.7 index e9fe8898492..209582e34d7 100644 --- a/man/man7/vdevprops.7 +++ b/man/man7/vdevprops.7 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man7/zfsconcepts.7 b/man/man7/zfsconcepts.7 index 1d2dff7e486..5c736e53670 100644 --- a/man/man7/zfsconcepts.7 +++ b/man/man7/zfsconcepts.7 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man7/zfsprops.7 b/man/man7/zfsprops.7 index 06e2797968e..8626fa3d2d4 100644 --- a/man/man7/zfsprops.7 +++ b/man/man7/zfsprops.7 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man7/zpool-features.7 b/man/man7/zpool-features.7 index 2f87236c762..05293ecb42e 100644 --- a/man/man7/zpool-features.7 +++ b/man/man7/zpool-features.7 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" Copyright (c) 2012, 2018 by Delphix. All rights reserved. .\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved. diff --git a/man/man7/zpoolconcepts.7 b/man/man7/zpoolconcepts.7 index 18dfca6dc8a..16afb175d37 100644 --- a/man/man7/zpoolconcepts.7 +++ b/man/man7/zpoolconcepts.7 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man7/zpoolprops.7 b/man/man7/zpoolprops.7 index 7c0dd4caad3..5d84753193e 100644 --- a/man/man7/zpoolprops.7 +++ b/man/man7/zpoolprops.7 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/fsck.zfs.8 b/man/man8/fsck.zfs.8 index 57d41f61d29..624c797b5f0 100644 --- a/man/man8/fsck.zfs.8 +++ b/man/man8/fsck.zfs.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/mount.zfs.8 b/man/man8/mount.zfs.8 index 0840ac531c6..a3686cd64f8 100644 --- a/man/man8/mount.zfs.8 +++ b/man/man8/mount.zfs.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/vdev_id.8 b/man/man8/vdev_id.8 index 96f8d9c0854..8e6b07dfc1e 100644 --- a/man/man8/vdev_id.8 +++ b/man/man8/vdev_id.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" This file and its contents are supplied under the terms of the .\" Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/man/man8/zdb.8 b/man/man8/zdb.8 index ae35454ad08..8bfd0dcdc38 100644 --- a/man/man8/zdb.8 +++ b/man/man8/zdb.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" This file and its contents are supplied under the terms of the .\" Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/man/man8/zed.8.in b/man/man8/zed.8.in index 1bbca05e385..a00a93c50da 100644 --- a/man/man8/zed.8.in +++ b/man/man8/zed.8.in @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" This file is part of the ZFS Event Daemon (ZED). .\" Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). diff --git a/man/man8/zfs-allow.8 b/man/man8/zfs-allow.8 index 3b65befda83..0ea9ea21601 100644 --- a/man/man8/zfs-allow.8 +++ b/man/man8/zfs-allow.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-bookmark.8 b/man/man8/zfs-bookmark.8 index 01364b0f505..083ff46d241 100644 --- a/man/man8/zfs-bookmark.8 +++ b/man/man8/zfs-bookmark.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-clone.8 b/man/man8/zfs-clone.8 index fee629951c3..cd412815f5f 100644 --- a/man/man8/zfs-clone.8 +++ b/man/man8/zfs-clone.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-create.8 b/man/man8/zfs-create.8 index b3997d32767..91878056cc7 100644 --- a/man/man8/zfs-create.8 +++ b/man/man8/zfs-create.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-destroy.8 b/man/man8/zfs-destroy.8 index 97596b28444..38359be0243 100644 --- a/man/man8/zfs-destroy.8 +++ b/man/man8/zfs-destroy.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-diff.8 b/man/man8/zfs-diff.8 index 16aa20969f9..d4c48f4109b 100644 --- a/man/man8/zfs-diff.8 +++ b/man/man8/zfs-diff.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-hold.8 b/man/man8/zfs-hold.8 index 4bc36cb47fc..3895acab3fa 100644 --- a/man/man8/zfs-hold.8 +++ b/man/man8/zfs-hold.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-jail.8 b/man/man8/zfs-jail.8 index 53a1ccef774..53499a279d0 100644 --- a/man/man8/zfs-jail.8 +++ b/man/man8/zfs-jail.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-list.8 b/man/man8/zfs-list.8 index 0fa7e9cc261..677d8292e20 100644 --- a/man/man8/zfs-list.8 +++ b/man/man8/zfs-list.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-load-key.8 b/man/man8/zfs-load-key.8 index f68d6e985a7..7838c46d9e7 100644 --- a/man/man8/zfs-load-key.8 +++ b/man/man8/zfs-load-key.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-mount.8 b/man/man8/zfs-mount.8 index 921e2499e31..9fca6fffd5b 100644 --- a/man/man8/zfs-mount.8 +++ b/man/man8/zfs-mount.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-program.8 b/man/man8/zfs-program.8 index 460cd2e11cf..710142d1e76 100644 --- a/man/man8/zfs-program.8 +++ b/man/man8/zfs-program.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" This file and its contents are supplied under the terms of the .\" Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/man/man8/zfs-project.8 b/man/man8/zfs-project.8 index 12f50312403..36547680f53 100644 --- a/man/man8/zfs-project.8 +++ b/man/man8/zfs-project.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-promote.8 b/man/man8/zfs-promote.8 index cdb04d05de1..76704581260 100644 --- a/man/man8/zfs-promote.8 +++ b/man/man8/zfs-promote.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-receive.8 b/man/man8/zfs-receive.8 index a15f2cbe945..a56b46941ef 100644 --- a/man/man8/zfs-receive.8 +++ b/man/man8/zfs-receive.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-rename.8 b/man/man8/zfs-rename.8 index cb1dfc995d5..4cf192c0682 100644 --- a/man/man8/zfs-rename.8 +++ b/man/man8/zfs-rename.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-rollback.8 b/man/man8/zfs-rollback.8 index c12c564ef67..4b046f591f9 100644 --- a/man/man8/zfs-rollback.8 +++ b/man/man8/zfs-rollback.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-send.8 b/man/man8/zfs-send.8 index 877d954147b..a05e674586f 100644 --- a/man/man8/zfs-send.8 +++ b/man/man8/zfs-send.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-set.8 b/man/man8/zfs-set.8 index f1718608b44..67f4d6eba17 100644 --- a/man/man8/zfs-set.8 +++ b/man/man8/zfs-set.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-share.8 b/man/man8/zfs-share.8 index 52087f0b922..f7a09a18918 100644 --- a/man/man8/zfs-share.8 +++ b/man/man8/zfs-share.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-snapshot.8 b/man/man8/zfs-snapshot.8 index a0c164dd02c..3ddd1273c8e 100644 --- a/man/man8/zfs-snapshot.8 +++ b/man/man8/zfs-snapshot.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-upgrade.8 b/man/man8/zfs-upgrade.8 index 2744b07424d..bac74e37aef 100644 --- a/man/man8/zfs-upgrade.8 +++ b/man/man8/zfs-upgrade.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-userspace.8 b/man/man8/zfs-userspace.8 index 4bd7bb7cbef..d7a4d18e83b 100644 --- a/man/man8/zfs-userspace.8 +++ b/man/man8/zfs-userspace.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-wait.8 b/man/man8/zfs-wait.8 index 9d1f24f195b..554a67455c6 100644 --- a/man/man8/zfs-wait.8 +++ b/man/man8/zfs-wait.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs-zone.8 b/man/man8/zfs-zone.8 index 0ee4409a2f1..7ad0ac89463 100644 --- a/man/man8/zfs-zone.8 +++ b/man/man8/zfs-zone.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index ca4c884f8ac..5bdeb7f9e45 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs_ids_to_path.8 b/man/man8/zfs_ids_to_path.8 index ba093d1cf91..eef0ce68f17 100644 --- a/man/man8/zfs_ids_to_path.8 +++ b/man/man8/zfs_ids_to_path.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zfs_prepare_disk.8.in b/man/man8/zfs_prepare_disk.8.in index 2a741531e41..944f7c9e702 100644 --- a/man/man8/zfs_prepare_disk.8.in +++ b/man/man8/zfs_prepare_disk.8.in @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). .\" Copyright (C) 2023 Lawrence Livermore National Security, LLC. diff --git a/man/man8/zgenhostid.8 b/man/man8/zgenhostid.8 index f7f2bdb4ac5..2b5b4fc1821 100644 --- a/man/man8/zgenhostid.8 +++ b/man/man8/zgenhostid.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zinject.8 b/man/man8/zinject.8 index 53461681bb1..1d9e43aed5e 100644 --- a/man/man8/zinject.8 +++ b/man/man8/zinject.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-add.8 b/man/man8/zpool-add.8 index 60b35f1a511..9d46fcf332e 100644 --- a/man/man8/zpool-add.8 +++ b/man/man8/zpool-add.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" CDDL HEADER START .\" .\" The contents of this file are subject to the terms of the diff --git a/man/man8/zpool-attach.8 b/man/man8/zpool-attach.8 index 22b1369b685..fc7022f0a7a 100644 --- a/man/man8/zpool-attach.8 +++ b/man/man8/zpool-attach.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-checkpoint.8 b/man/man8/zpool-checkpoint.8 index 7900b323822..d97d10d5df6 100644 --- a/man/man8/zpool-checkpoint.8 +++ b/man/man8/zpool-checkpoint.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-clear.8 b/man/man8/zpool-clear.8 index 3e448be87fc..19cd4be3640 100644 --- a/man/man8/zpool-clear.8 +++ b/man/man8/zpool-clear.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-create.8 b/man/man8/zpool-create.8 index 8449520944f..490c67629a2 100644 --- a/man/man8/zpool-create.8 +++ b/man/man8/zpool-create.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-ddtprune.8 b/man/man8/zpool-ddtprune.8 index 1ab7d3982c3..2103d274d0f 100644 --- a/man/man8/zpool-ddtprune.8 +++ b/man/man8/zpool-ddtprune.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-destroy.8 b/man/man8/zpool-destroy.8 index b1ac18c8b4f..f49f29804ad 100644 --- a/man/man8/zpool-destroy.8 +++ b/man/man8/zpool-destroy.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-detach.8 b/man/man8/zpool-detach.8 index 3d5ca9f146a..ae02dbc2d5b 100644 --- a/man/man8/zpool-detach.8 +++ b/man/man8/zpool-detach.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-events.8 b/man/man8/zpool-events.8 index 01f849845bd..d4e820fc58d 100644 --- a/man/man8/zpool-events.8 +++ b/man/man8/zpool-events.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-export.8 b/man/man8/zpool-export.8 index 4fed98cfe27..171a7541c6d 100644 --- a/man/man8/zpool-export.8 +++ b/man/man8/zpool-export.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-get.8 b/man/man8/zpool-get.8 index 1be83526d22..1d6d1f08afa 100644 --- a/man/man8/zpool-get.8 +++ b/man/man8/zpool-get.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-history.8 b/man/man8/zpool-history.8 index c6aa8884e59..f15086eabc4 100644 --- a/man/man8/zpool-history.8 +++ b/man/man8/zpool-history.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-import.8 b/man/man8/zpool-import.8 index dab6e1f5577..9076f5c3492 100644 --- a/man/man8/zpool-import.8 +++ b/man/man8/zpool-import.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-initialize.8 b/man/man8/zpool-initialize.8 index e0bdcb6f651..d7c9d22aba9 100644 --- a/man/man8/zpool-initialize.8 +++ b/man/man8/zpool-initialize.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-iostat.8 b/man/man8/zpool-iostat.8 index e1d2a4b4ff1..d8c21d0cfc6 100644 --- a/man/man8/zpool-iostat.8 +++ b/man/man8/zpool-iostat.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-labelclear.8 b/man/man8/zpool-labelclear.8 index 3d7b60b5587..ba3d1509aa7 100644 --- a/man/man8/zpool-labelclear.8 +++ b/man/man8/zpool-labelclear.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-list.8 b/man/man8/zpool-list.8 index 6d3478a6871..b720e203c1c 100644 --- a/man/man8/zpool-list.8 +++ b/man/man8/zpool-list.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-offline.8 b/man/man8/zpool-offline.8 index 1b6095d6370..49b1f34ad5d 100644 --- a/man/man8/zpool-offline.8 +++ b/man/man8/zpool-offline.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-prefetch.8 b/man/man8/zpool-prefetch.8 index 57445bd4a65..a36ad52e681 100644 --- a/man/man8/zpool-prefetch.8 +++ b/man/man8/zpool-prefetch.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-reguid.8 b/man/man8/zpool-reguid.8 index 4fda3f316e3..77101fc0732 100644 --- a/man/man8/zpool-reguid.8 +++ b/man/man8/zpool-reguid.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-remove.8 b/man/man8/zpool-remove.8 index 00216b65a8d..e8d6bdc699f 100644 --- a/man/man8/zpool-remove.8 +++ b/man/man8/zpool-remove.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-reopen.8 b/man/man8/zpool-reopen.8 index 5cf7c863521..594cff3d16d 100644 --- a/man/man8/zpool-reopen.8 +++ b/man/man8/zpool-reopen.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-replace.8 b/man/man8/zpool-replace.8 index ba897ea704b..a2a42f5df79 100644 --- a/man/man8/zpool-replace.8 +++ b/man/man8/zpool-replace.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-resilver.8 b/man/man8/zpool-resilver.8 index 420f9bcb560..2161d77f62e 100644 --- a/man/man8/zpool-resilver.8 +++ b/man/man8/zpool-resilver.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-scrub.8 b/man/man8/zpool-scrub.8 index 676286b038d..21bd6735ede 100644 --- a/man/man8/zpool-scrub.8 +++ b/man/man8/zpool-scrub.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-split.8 b/man/man8/zpool-split.8 index 6bbe4924852..a67c865cf30 100644 --- a/man/man8/zpool-split.8 +++ b/man/man8/zpool-split.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-status.8 b/man/man8/zpool-status.8 index 5c62f764fff..10d7ff97378 100644 --- a/man/man8/zpool-status.8 +++ b/man/man8/zpool-status.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-sync.8 b/man/man8/zpool-sync.8 index 33800c5793d..8f438f363e8 100644 --- a/man/man8/zpool-sync.8 +++ b/man/man8/zpool-sync.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-trim.8 b/man/man8/zpool-trim.8 index 7eeaf2de3dc..06cbd5abf7e 100644 --- a/man/man8/zpool-trim.8 +++ b/man/man8/zpool-trim.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-upgrade.8 b/man/man8/zpool-upgrade.8 index 1c87630b5e6..20632ae4bba 100644 --- a/man/man8/zpool-upgrade.8 +++ b/man/man8/zpool-upgrade.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool-wait.8 b/man/man8/zpool-wait.8 index 50f947bab60..0ffb4badfb7 100644 --- a/man/man8/zpool-wait.8 +++ b/man/man8/zpool-wait.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index b54a92f9615..115b5547174 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zpool_influxdb.8 b/man/man8/zpool_influxdb.8 index 021fbdeaac8..9ee294dbbec 100644 --- a/man/man8/zpool_influxdb.8 +++ b/man/man8/zpool_influxdb.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/man/man8/zstream.8 b/man/man8/zstream.8 index c09a20ad20b..03a8479c9e6 100644 --- a/man/man8/zstream.8 +++ b/man/man8/zstream.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" CDDL HEADER START .\" diff --git a/module/avl/avl.c b/module/avl/avl.c index 9b74531fa9f..b6c1c02bc3f 100644 --- a/module/avl/avl.c +++ b/module/avl/avl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/aes/aes_impl.c b/module/icp/algs/aes/aes_impl.c index 9daa975226f..3c17c366fb5 100644 --- a/module/icp/algs/aes/aes_impl.c +++ b/module/icp/algs/aes/aes_impl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/aes/aes_impl_aesni.c b/module/icp/algs/aes/aes_impl_aesni.c index 61085214c77..1dbcb3b7133 100644 --- a/module/icp/algs/aes/aes_impl_aesni.c +++ b/module/icp/algs/aes/aes_impl_aesni.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/aes/aes_impl_generic.c b/module/icp/algs/aes/aes_impl_generic.c index ae13c0b8557..c363dd88819 100644 --- a/module/icp/algs/aes/aes_impl_generic.c +++ b/module/icp/algs/aes/aes_impl_generic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/aes/aes_impl_x86-64.c b/module/icp/algs/aes/aes_impl_x86-64.c index f4f206a0093..d2f02f21980 100644 --- a/module/icp/algs/aes/aes_impl_x86-64.c +++ b/module/icp/algs/aes/aes_impl_x86-64.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/aes/aes_modes.c b/module/icp/algs/aes/aes_modes.c index 631e92f3542..b2ddf445197 100644 --- a/module/icp/algs/aes/aes_modes.c +++ b/module/icp/algs/aes/aes_modes.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/blake3/blake3.c b/module/icp/algs/blake3/blake3.c index 0bab7a3a759..e0a1e66db8b 100644 --- a/module/icp/algs/blake3/blake3.c +++ b/module/icp/algs/blake3/blake3.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/blake3/blake3_generic.c b/module/icp/algs/blake3/blake3_generic.c index fbe18496967..ca8956a60a4 100644 --- a/module/icp/algs/blake3/blake3_generic.c +++ b/module/icp/algs/blake3/blake3_generic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/blake3/blake3_impl.c b/module/icp/algs/blake3/blake3_impl.c index f3f48c2dfa1..50c2df0d554 100644 --- a/module/icp/algs/blake3/blake3_impl.c +++ b/module/icp/algs/blake3/blake3_impl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/blake3/blake3_impl.h b/module/icp/algs/blake3/blake3_impl.h index 90d508fac08..fb872281047 100644 --- a/module/icp/algs/blake3/blake3_impl.h +++ b/module/icp/algs/blake3/blake3_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/edonr/edonr.c b/module/icp/algs/edonr/edonr.c index d17a40cefcb..ac4e10d4d4d 100644 --- a/module/icp/algs/edonr/edonr.c +++ b/module/icp/algs/edonr/edonr.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/modes/ccm.c b/module/icp/algs/modes/ccm.c index 1371676d6e6..0a7a5091fd2 100644 --- a/module/icp/algs/modes/ccm.c +++ b/module/icp/algs/modes/ccm.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/modes/gcm.c b/module/icp/algs/modes/gcm.c index 8a65a40666b..953afd8859a 100644 --- a/module/icp/algs/modes/gcm.c +++ b/module/icp/algs/modes/gcm.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/modes/gcm_generic.c b/module/icp/algs/modes/gcm_generic.c index 84e26d09cdc..6eb0218db72 100644 --- a/module/icp/algs/modes/gcm_generic.c +++ b/module/icp/algs/modes/gcm_generic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/modes/gcm_pclmulqdq.c b/module/icp/algs/modes/gcm_pclmulqdq.c index 737d2e47ecb..30653589fce 100644 --- a/module/icp/algs/modes/gcm_pclmulqdq.c +++ b/module/icp/algs/modes/gcm_pclmulqdq.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/modes/modes.c b/module/icp/algs/modes/modes.c index 786a89f10c9..3687131c561 100644 --- a/module/icp/algs/modes/modes.c +++ b/module/icp/algs/modes/modes.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/sha2/sha256_impl.c b/module/icp/algs/sha2/sha256_impl.c index 0f24319511d..6d3bcca9f99 100644 --- a/module/icp/algs/sha2/sha256_impl.c +++ b/module/icp/algs/sha2/sha256_impl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/sha2/sha2_generic.c b/module/icp/algs/sha2/sha2_generic.c index d53f4b69990..d0fcca798fa 100644 --- a/module/icp/algs/sha2/sha2_generic.c +++ b/module/icp/algs/sha2/sha2_generic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/algs/sha2/sha512_impl.c b/module/icp/algs/sha2/sha512_impl.c index 6291fbd77e3..2efd9fcf4c9 100644 --- a/module/icp/algs/sha2/sha512_impl.c +++ b/module/icp/algs/sha2/sha512_impl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/api/kcf_cipher.c b/module/icp/api/kcf_cipher.c index 4bea4680719..04f1b2b8fa5 100644 --- a/module/icp/api/kcf_cipher.c +++ b/module/icp/api/kcf_cipher.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/api/kcf_ctxops.c b/module/icp/api/kcf_ctxops.c index b8cd67ea7f6..359b5a64488 100644 --- a/module/icp/api/kcf_ctxops.c +++ b/module/icp/api/kcf_ctxops.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/api/kcf_mac.c b/module/icp/api/kcf_mac.c index 287467e6835..52ebea0264a 100644 --- a/module/icp/api/kcf_mac.c +++ b/module/icp/api/kcf_mac.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S b/module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S index fefebf08116..19fd9492145 100644 --- a/module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S +++ b/module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S b/module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S index 1ad6cefc6d0..a7dc13d1e2c 100644 --- a/module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S +++ b/module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/asm-ppc64/blake3/b3_ppc64le_sse2.S b/module/icp/asm-ppc64/blake3/b3_ppc64le_sse2.S index ae8d0fad7c8..60087ebd609 100644 --- a/module/icp/asm-ppc64/blake3/b3_ppc64le_sse2.S +++ b/module/icp/asm-ppc64/blake3/b3_ppc64le_sse2.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/asm-ppc64/blake3/b3_ppc64le_sse41.S b/module/icp/asm-ppc64/blake3/b3_ppc64le_sse41.S index 315561d4497..883c7a84b82 100644 --- a/module/icp/asm-ppc64/blake3/b3_ppc64le_sse41.S +++ b/module/icp/asm-ppc64/blake3/b3_ppc64le_sse41.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/asm-x86_64/aes/aestab2.h b/module/icp/asm-x86_64/aes/aestab2.h index 003534e0fa5..bdc4256c54d 100644 --- a/module/icp/asm-x86_64/aes/aestab2.h +++ b/module/icp/asm-x86_64/aes/aestab2.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/asm-x86_64/blake3/blake3_avx2.S b/module/icp/asm-x86_64/blake3/blake3_avx2.S index 0ebec5c1095..6edd59e6e66 100644 --- a/module/icp/asm-x86_64/blake3/blake3_avx2.S +++ b/module/icp/asm-x86_64/blake3/blake3_avx2.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/asm-x86_64/blake3/blake3_avx512.S b/module/icp/asm-x86_64/blake3/blake3_avx512.S index 39830f1556b..56af3e152bb 100644 --- a/module/icp/asm-x86_64/blake3/blake3_avx512.S +++ b/module/icp/asm-x86_64/blake3/blake3_avx512.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/asm-x86_64/blake3/blake3_sse2.S b/module/icp/asm-x86_64/blake3/blake3_sse2.S index 78c4ffac53a..6d9c6720680 100644 --- a/module/icp/asm-x86_64/blake3/blake3_sse2.S +++ b/module/icp/asm-x86_64/blake3/blake3_sse2.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/asm-x86_64/blake3/blake3_sse41.S b/module/icp/asm-x86_64/blake3/blake3_sse41.S index 8ee7be75a0e..eb46096228c 100644 --- a/module/icp/asm-x86_64/blake3/blake3_sse41.S +++ b/module/icp/asm-x86_64/blake3/blake3_sse41.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/asm-x86_64/modes/gcm_pclmulqdq.S b/module/icp/asm-x86_64/modes/gcm_pclmulqdq.S index dec782fda33..f5d3b3362fe 100644 --- a/module/icp/asm-x86_64/modes/gcm_pclmulqdq.S +++ b/module/icp/asm-x86_64/modes/gcm_pclmulqdq.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/core/kcf_callprov.c b/module/icp/core/kcf_callprov.c index b1822dd5b87..2bd014efcc6 100644 --- a/module/icp/core/kcf_callprov.c +++ b/module/icp/core/kcf_callprov.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/core/kcf_mech_tabs.c b/module/icp/core/kcf_mech_tabs.c index a1e95847d06..a082e858784 100644 --- a/module/icp/core/kcf_mech_tabs.c +++ b/module/icp/core/kcf_mech_tabs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/core/kcf_prov_lib.c b/module/icp/core/kcf_prov_lib.c index 9dca3882e17..1433428b97e 100644 --- a/module/icp/core/kcf_prov_lib.c +++ b/module/icp/core/kcf_prov_lib.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/core/kcf_prov_tabs.c b/module/icp/core/kcf_prov_tabs.c index 93af61a235d..da636d148f8 100644 --- a/module/icp/core/kcf_prov_tabs.c +++ b/module/icp/core/kcf_prov_tabs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/core/kcf_sched.c b/module/icp/core/kcf_sched.c index 360ecfb2be1..759f0d81d52 100644 --- a/module/icp/core/kcf_sched.c +++ b/module/icp/core/kcf_sched.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/illumos-crypto.c b/module/icp/illumos-crypto.c index 89736a61bc8..bff9780a59c 100644 --- a/module/icp/illumos-crypto.c +++ b/module/icp/illumos-crypto.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/include/aes/aes_impl.h b/module/icp/include/aes/aes_impl.h index d26ced58ff1..17cbbac1860 100644 --- a/module/icp/include/aes/aes_impl.h +++ b/module/icp/include/aes/aes_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/include/generic_impl.c b/module/icp/include/generic_impl.c index 16f802cf755..1d411268c37 100644 --- a/module/icp/include/generic_impl.c +++ b/module/icp/include/generic_impl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/include/modes/gcm_impl.h b/module/icp/include/modes/gcm_impl.h index 3afc9e2c631..238a4e27f8f 100644 --- a/module/icp/include/modes/gcm_impl.h +++ b/module/icp/include/modes/gcm_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/include/modes/modes.h b/module/icp/include/modes/modes.h index daa0335b5c3..ca734cf4f04 100644 --- a/module/icp/include/modes/modes.h +++ b/module/icp/include/modes/modes.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/include/sha2/sha2_impl.h b/module/icp/include/sha2/sha2_impl.h index 9a1bd38f1a7..2f516ec0e95 100644 --- a/module/icp/include/sha2/sha2_impl.h +++ b/module/icp/include/sha2/sha2_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/include/sys/crypto/impl.h b/module/icp/include/sys/crypto/impl.h index 0f5ef58ac00..ea776412938 100644 --- a/module/icp/include/sys/crypto/impl.h +++ b/module/icp/include/sys/crypto/impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/include/sys/crypto/sched_impl.h b/module/icp/include/sys/crypto/sched_impl.h index 355c1a87faa..0fcbbeb54e0 100644 --- a/module/icp/include/sys/crypto/sched_impl.h +++ b/module/icp/include/sys/crypto/sched_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/include/sys/crypto/spi.h b/module/icp/include/sys/crypto/spi.h index e9be7e0c54d..d81aecfa84e 100644 --- a/module/icp/include/sys/crypto/spi.h +++ b/module/icp/include/sys/crypto/spi.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/io/aes.c b/module/icp/io/aes.c index 8ee2d036c1e..ba703efa71f 100644 --- a/module/icp/io/aes.c +++ b/module/icp/io/aes.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/io/sha2_mod.c b/module/icp/io/sha2_mod.c index e515dabc9dd..8322d82e2f7 100644 --- a/module/icp/io/sha2_mod.c +++ b/module/icp/io/sha2_mod.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/icp/spi/kcf_spi.c b/module/icp/spi/kcf_spi.c index b0af101990e..806c0b02801 100644 --- a/module/icp/spi/kcf_spi.c +++ b/module/icp/spi/kcf_spi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/lua/README.zfs b/module/lua/README.zfs index 0e22de7a4a1..c3ca447953d 100644 --- a/module/lua/README.zfs +++ b/module/lua/README.zfs @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/module/lua/setjmp/setjmp_i386.S b/module/lua/setjmp/setjmp_i386.S index 87f9cb08c29..8b0ac86f1c4 100644 --- a/module/lua/setjmp/setjmp_i386.S +++ b/module/lua/setjmp/setjmp_i386.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/lua/setjmp/setjmp_x86_64.S b/module/lua/setjmp/setjmp_x86_64.S index 337fceb15b0..2b57d73c1d5 100644 --- a/module/lua/setjmp/setjmp_x86_64.S +++ b/module/lua/setjmp/setjmp_x86_64.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/nvpair/fnvpair.c b/module/nvpair/fnvpair.c index cc2233c4039..318e969e42a 100644 --- a/module/nvpair/fnvpair.c +++ b/module/nvpair/fnvpair.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/nvpair/nvpair.c b/module/nvpair/nvpair.c index 9034873474f..db1b595a6be 100644 --- a/module/nvpair/nvpair.c +++ b/module/nvpair/nvpair.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/nvpair/nvpair_alloc_fixed.c b/module/nvpair/nvpair_alloc_fixed.c index 34adb86e030..dd18aa0cbff 100644 --- a/module/nvpair/nvpair_alloc_fixed.c +++ b/module/nvpair/nvpair_alloc_fixed.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/nvpair/nvpair_alloc_spl.c b/module/nvpair/nvpair_alloc_spl.c index 4ecb029961f..17ae03c7fd1 100644 --- a/module/nvpair/nvpair_alloc_spl.c +++ b/module/nvpair/nvpair_alloc_spl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/spl/acl_common.c b/module/os/freebsd/spl/acl_common.c index 04a5d2869d1..33ff9ec02d1 100644 --- a/module/os/freebsd/spl/acl_common.c +++ b/module/os/freebsd/spl/acl_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/spl/callb.c b/module/os/freebsd/spl/callb.c index 850f37ddf5a..9916477e4a8 100644 --- a/module/os/freebsd/spl/callb.c +++ b/module/os/freebsd/spl/callb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/spl/list.c b/module/os/freebsd/spl/list.c index 56432050fdc..3eaaaf91838 100644 --- a/module/os/freebsd/spl/list.c +++ b/module/os/freebsd/spl/list.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/spl/spl_cmn_err.c b/module/os/freebsd/spl/spl_cmn_err.c index 2157da8ebf2..7b1bfd1caa0 100644 --- a/module/os/freebsd/spl/spl_cmn_err.c +++ b/module/os/freebsd/spl/spl_cmn_err.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/spl/spl_string.c b/module/os/freebsd/spl/spl_string.c index eb74720c984..aee506f2861 100644 --- a/module/os/freebsd/spl/spl_string.c +++ b/module/os/freebsd/spl/spl_string.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/spl/spl_uio.c b/module/os/freebsd/spl/spl_uio.c index 74cbe36bbd9..54d4029c5e6 100644 --- a/module/os/freebsd/spl/spl_uio.c +++ b/module/os/freebsd/spl/spl_uio.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/abd_os.c b/module/os/freebsd/zfs/abd_os.c index ab4f49a4ec5..fbf67f6a14a 100644 --- a/module/os/freebsd/zfs/abd_os.c +++ b/module/os/freebsd/zfs/abd_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/module/os/freebsd/zfs/arc_os.c b/module/os/freebsd/zfs/arc_os.c index dd3da2183a1..02a2870c02b 100644 --- a/module/os/freebsd/zfs/arc_os.c +++ b/module/os/freebsd/zfs/arc_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/hkdf.c b/module/os/freebsd/zfs/hkdf.c index 3a3c426fa48..6c9bca7b462 100644 --- a/module/os/freebsd/zfs/hkdf.c +++ b/module/os/freebsd/zfs/hkdf.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/spa_os.c b/module/os/freebsd/zfs/spa_os.c index 1b9f1a4ec9d..2d04ccf95fb 100644 --- a/module/os/freebsd/zfs/spa_os.c +++ b/module/os/freebsd/zfs/spa_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/vdev_geom.c b/module/os/freebsd/zfs/vdev_geom.c index 7aaa42bfb1a..7acf37ba9cd 100644 --- a/module/os/freebsd/zfs/vdev_geom.c +++ b/module/os/freebsd/zfs/vdev_geom.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/vdev_label_os.c b/module/os/freebsd/zfs/vdev_label_os.c index f1843807fd5..11e93b800a5 100644 --- a/module/os/freebsd/zfs/vdev_label_os.c +++ b/module/os/freebsd/zfs/vdev_label_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/zfs_acl.c b/module/os/freebsd/zfs/zfs_acl.c index 1f1ac3a38d7..fdfde39e524 100644 --- a/module/os/freebsd/zfs/zfs_acl.c +++ b/module/os/freebsd/zfs/zfs_acl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/zfs_ctldir.c b/module/os/freebsd/zfs/zfs_ctldir.c index 4d539461886..8d0ff9b25e3 100644 --- a/module/os/freebsd/zfs/zfs_ctldir.c +++ b/module/os/freebsd/zfs/zfs_ctldir.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/zfs_debug.c b/module/os/freebsd/zfs/zfs_debug.c index 6d4ae435586..559bf03ae9e 100644 --- a/module/os/freebsd/zfs/zfs_debug.c +++ b/module/os/freebsd/zfs/zfs_debug.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/zfs_dir.c b/module/os/freebsd/zfs/zfs_dir.c index 1358c048619..55c4658ce32 100644 --- a/module/os/freebsd/zfs/zfs_dir.c +++ b/module/os/freebsd/zfs/zfs_dir.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/zfs_vfsops.c b/module/os/freebsd/zfs/zfs_vfsops.c index a367ea8e508..56f629f76cc 100644 --- a/module/os/freebsd/zfs/zfs_vfsops.c +++ b/module/os/freebsd/zfs/zfs_vfsops.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/zfs_vnops_os.c b/module/os/freebsd/zfs/zfs_vnops_os.c index 5edd3fcc76e..4d3e43e9ea2 100644 --- a/module/os/freebsd/zfs/zfs_vnops_os.c +++ b/module/os/freebsd/zfs/zfs_vnops_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/zfs_znode_os.c b/module/os/freebsd/zfs/zfs_znode_os.c index 31ca07a86dd..84095d579f8 100644 --- a/module/os/freebsd/zfs/zfs_znode_os.c +++ b/module/os/freebsd/zfs/zfs_znode_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/zio_crypt.c b/module/os/freebsd/zfs/zio_crypt.c index 195ac58f6f1..5a2c4b8cbf2 100644 --- a/module/os/freebsd/zfs/zio_crypt.c +++ b/module/os/freebsd/zfs/zio_crypt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/freebsd/zfs/zvol_os.c b/module/os/freebsd/zfs/zvol_os.c index c3be4730d4b..ba4da193c37 100644 --- a/module/os/freebsd/zfs/zvol_os.c +++ b/module/os/freebsd/zfs/zvol_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/spl/spl-procfs-list.c b/module/os/linux/spl/spl-procfs-list.c index 91840ed2ca2..858851d72b0 100644 --- a/module/os/linux/spl/spl-procfs-list.c +++ b/module/os/linux/spl/spl-procfs-list.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/spl/spl-trace.c b/module/os/linux/spl/spl-trace.c index d3e53e541b8..1c984f221c7 100644 --- a/module/os/linux/spl/spl-trace.c +++ b/module/os/linux/spl/spl-trace.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/abd_os.c b/module/os/linux/zfs/abd_os.c index 39ea3e62dba..8e4d271976e 100644 --- a/module/os/linux/zfs/abd_os.c +++ b/module/os/linux/zfs/abd_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/arc_os.c b/module/os/linux/zfs/arc_os.c index 3238977af6d..6478c834b7a 100644 --- a/module/os/linux/zfs/arc_os.c +++ b/module/os/linux/zfs/arc_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/mmp_os.c b/module/os/linux/zfs/mmp_os.c index 7e5bd392437..ce7b2978b5b 100644 --- a/module/os/linux/zfs/mmp_os.c +++ b/module/os/linux/zfs/mmp_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/policy.c b/module/os/linux/zfs/policy.c index d21bc667ba6..c50ffcfe699 100644 --- a/module/os/linux/zfs/policy.c +++ b/module/os/linux/zfs/policy.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/qat.c b/module/os/linux/zfs/qat.c index 07e0cafabb0..b4129cef567 100644 --- a/module/os/linux/zfs/qat.c +++ b/module/os/linux/zfs/qat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/qat_compress.c b/module/os/linux/zfs/qat_compress.c index 6d0595dd5f7..9a3bacde1c1 100644 --- a/module/os/linux/zfs/qat_compress.c +++ b/module/os/linux/zfs/qat_compress.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/qat_crypt.c b/module/os/linux/zfs/qat_crypt.c index 0523a23c61e..27965a36d2d 100644 --- a/module/os/linux/zfs/qat_crypt.c +++ b/module/os/linux/zfs/qat_crypt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/spa_misc_os.c b/module/os/linux/zfs/spa_misc_os.c index c8cbedcd515..d6323fd56a8 100644 --- a/module/os/linux/zfs/spa_misc_os.c +++ b/module/os/linux/zfs/spa_misc_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/trace.c b/module/os/linux/zfs/trace.c index 32a188d169e..a6c423eccc7 100644 --- a/module/os/linux/zfs/trace.c +++ b/module/os/linux/zfs/trace.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/vdev_disk.c b/module/os/linux/zfs/vdev_disk.c index e8bd513e690..29e54b39aa1 100644 --- a/module/os/linux/zfs/vdev_disk.c +++ b/module/os/linux/zfs/vdev_disk.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/vdev_label_os.c b/module/os/linux/zfs/vdev_label_os.c index 3d965b89a96..833093dbbb3 100644 --- a/module/os/linux/zfs/vdev_label_os.c +++ b/module/os/linux/zfs/vdev_label_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/vdev_raidz.c b/module/os/linux/zfs/vdev_raidz.c index 0b34ca52fb9..63f2efb4fe3 100644 --- a/module/os/linux/zfs/vdev_raidz.c +++ b/module/os/linux/zfs/vdev_raidz.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zfs_acl.c b/module/os/linux/zfs/zfs_acl.c index 206bc220959..f16a4545225 100644 --- a/module/os/linux/zfs/zfs_acl.c +++ b/module/os/linux/zfs/zfs_acl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zfs_ctldir.c b/module/os/linux/zfs/zfs_ctldir.c index f60d6ae91e0..84b25cb2c5a 100644 --- a/module/os/linux/zfs/zfs_ctldir.c +++ b/module/os/linux/zfs/zfs_ctldir.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zfs_debug.c b/module/os/linux/zfs/zfs_debug.c index 7d01f8f373b..879748f6950 100644 --- a/module/os/linux/zfs/zfs_debug.c +++ b/module/os/linux/zfs/zfs_debug.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zfs_dir.c b/module/os/linux/zfs/zfs_dir.c index 564e89b37d1..16249cf20b4 100644 --- a/module/os/linux/zfs/zfs_dir.c +++ b/module/os/linux/zfs/zfs_dir.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zfs_file_os.c b/module/os/linux/zfs/zfs_file_os.c index 4acdc6a4156..d193eb80dca 100644 --- a/module/os/linux/zfs/zfs_file_os.c +++ b/module/os/linux/zfs/zfs_file_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zfs_ioctl_os.c b/module/os/linux/zfs/zfs_ioctl_os.c index 502d173b70f..5421a441b32 100644 --- a/module/os/linux/zfs/zfs_ioctl_os.c +++ b/module/os/linux/zfs/zfs_ioctl_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zfs_sysfs.c b/module/os/linux/zfs/zfs_sysfs.c index e2431fe8a80..1c187d7b9ca 100644 --- a/module/os/linux/zfs/zfs_sysfs.c +++ b/module/os/linux/zfs/zfs_sysfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zfs_uio.c b/module/os/linux/zfs/zfs_uio.c index 1a815c62b19..901bd191f2d 100644 --- a/module/os/linux/zfs/zfs_uio.c +++ b/module/os/linux/zfs/zfs_uio.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zfs_vfsops.c b/module/os/linux/zfs/zfs_vfsops.c index b226fca147a..0a3d674408f 100644 --- a/module/os/linux/zfs/zfs_vfsops.c +++ b/module/os/linux/zfs/zfs_vfsops.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zfs_vnops_os.c b/module/os/linux/zfs/zfs_vnops_os.c index a882c88a7a7..d1100452955 100644 --- a/module/os/linux/zfs/zfs_vnops_os.c +++ b/module/os/linux/zfs/zfs_vnops_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zfs_znode_os.c b/module/os/linux/zfs/zfs_znode_os.c index aff7b1f4dac..fbe9e788403 100644 --- a/module/os/linux/zfs/zfs_znode_os.c +++ b/module/os/linux/zfs/zfs_znode_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zio_crypt.c b/module/os/linux/zfs/zio_crypt.c index 22eeef7f074..28f91ceba1a 100644 --- a/module/os/linux/zfs/zio_crypt.c +++ b/module/os/linux/zfs/zio_crypt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zpl_ctldir.c b/module/os/linux/zfs/zpl_ctldir.c index 11438ab6147..0b04ec6866f 100644 --- a/module/os/linux/zfs/zpl_ctldir.c +++ b/module/os/linux/zfs/zpl_ctldir.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zpl_export.c b/module/os/linux/zfs/zpl_export.c index ff865d12995..711da151f65 100644 --- a/module/os/linux/zfs/zpl_export.c +++ b/module/os/linux/zfs/zpl_export.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zpl_file.c b/module/os/linux/zfs/zpl_file.c index 42dfddc2717..787d3cb3141 100644 --- a/module/os/linux/zfs/zpl_file.c +++ b/module/os/linux/zfs/zpl_file.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zpl_file_range.c b/module/os/linux/zfs/zpl_file_range.c index d63797568ed..cb8562d2142 100644 --- a/module/os/linux/zfs/zpl_file_range.c +++ b/module/os/linux/zfs/zpl_file_range.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zpl_inode.c b/module/os/linux/zfs/zpl_inode.c index 981e26b2672..85df9b9acf2 100644 --- a/module/os/linux/zfs/zpl_inode.c +++ b/module/os/linux/zfs/zpl_inode.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zpl_super.c b/module/os/linux/zfs/zpl_super.c index b97b701b746..948fdf8428d 100644 --- a/module/os/linux/zfs/zpl_super.c +++ b/module/os/linux/zfs/zpl_super.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zpl_xattr.c b/module/os/linux/zfs/zpl_xattr.c index ebf0afc9eb0..a098197e744 100644 --- a/module/os/linux/zfs/zpl_xattr.c +++ b/module/os/linux/zfs/zpl_xattr.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/os/linux/zfs/zvol_os.c b/module/os/linux/zfs/zvol_os.c index 7c5d567c323..ddb8dac8fcf 100644 --- a/module/os/linux/zfs/zvol_os.c +++ b/module/os/linux/zfs/zvol_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/unicode/u8_textprep.c b/module/unicode/u8_textprep.c index 281396678ec..3f88c4ad798 100644 --- a/module/unicode/u8_textprep.c +++ b/module/unicode/u8_textprep.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zcommon/simd_stat.c b/module/zcommon/simd_stat.c index d82a88ca934..11e2080ff9f 100644 --- a/module/zcommon/simd_stat.c +++ b/module/zcommon/simd_stat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zcommon/zfeature_common.c b/module/zcommon/zfeature_common.c index 96f0086d785..0362d82efbc 100644 --- a/module/zcommon/zfeature_common.c +++ b/module/zcommon/zfeature_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zcommon/zfs_comutil.c b/module/zcommon/zfs_comutil.c index 384746bd4a0..85eee4f21c3 100644 --- a/module/zcommon/zfs_comutil.c +++ b/module/zcommon/zfs_comutil.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zcommon/zfs_deleg.c b/module/zcommon/zfs_deleg.c index 05b71a9643a..49bb534ca26 100644 --- a/module/zcommon/zfs_deleg.c +++ b/module/zcommon/zfs_deleg.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zcommon/zfs_fletcher.c b/module/zcommon/zfs_fletcher.c index 74b8c2a475a..133217f4bae 100644 --- a/module/zcommon/zfs_fletcher.c +++ b/module/zcommon/zfs_fletcher.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zcommon/zfs_fletcher_avx512.c b/module/zcommon/zfs_fletcher_avx512.c index 95fc2b151a7..b42ebee57e5 100644 --- a/module/zcommon/zfs_fletcher_avx512.c +++ b/module/zcommon/zfs_fletcher_avx512.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zcommon/zfs_namecheck.c b/module/zcommon/zfs_namecheck.c index 273b219a979..deb0547c108 100644 --- a/module/zcommon/zfs_namecheck.c +++ b/module/zcommon/zfs_namecheck.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zcommon/zfs_prop.c b/module/zcommon/zfs_prop.c index 40254c8d956..480c3fcd0a8 100644 --- a/module/zcommon/zfs_prop.c +++ b/module/zcommon/zfs_prop.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zcommon/zfs_valstr.c b/module/zcommon/zfs_valstr.c index fde8ae28ef3..546de63c81d 100644 --- a/module/zcommon/zfs_valstr.c +++ b/module/zcommon/zfs_valstr.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zcommon/zpool_prop.c b/module/zcommon/zpool_prop.c index ea9eda4b316..04ae9f986d8 100644 --- a/module/zcommon/zpool_prop.c +++ b/module/zcommon/zpool_prop.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zcommon/zprop_common.c b/module/zcommon/zprop_common.c index eb635b38ceb..f486ae567f9 100644 --- a/module/zcommon/zprop_common.c +++ b/module/zcommon/zprop_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/abd.c b/module/zfs/abd.c index 529deeecfd4..c2784b9af03 100644 --- a/module/zfs/abd.c +++ b/module/zfs/abd.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/aggsum.c b/module/zfs/aggsum.c index 488c6ef3b6f..6bde55a50d9 100644 --- a/module/zfs/aggsum.c +++ b/module/zfs/aggsum.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/arc.c b/module/zfs/arc.c index fd35a980cc2..a004ecbb35e 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/blake3_zfs.c b/module/zfs/blake3_zfs.c index 7783282b671..49514c4d471 100644 --- a/module/zfs/blake3_zfs.c +++ b/module/zfs/blake3_zfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/blkptr.c b/module/zfs/blkptr.c index ac801c2bcf3..268623c4090 100644 --- a/module/zfs/blkptr.c +++ b/module/zfs/blkptr.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/bplist.c b/module/zfs/bplist.c index da7360f8ce1..97ae0b61580 100644 --- a/module/zfs/bplist.c +++ b/module/zfs/bplist.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/bpobj.c b/module/zfs/bpobj.c index 96e1601c4e9..8c19de93f12 100644 --- a/module/zfs/bpobj.c +++ b/module/zfs/bpobj.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/bptree.c b/module/zfs/bptree.c index 1f5d8e77bcc..a98bba3eb25 100644 --- a/module/zfs/bptree.c +++ b/module/zfs/bptree.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/bqueue.c b/module/zfs/bqueue.c index a7fa516975d..c9bd93475a8 100644 --- a/module/zfs/bqueue.c +++ b/module/zfs/bqueue.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/brt.c b/module/zfs/brt.c index 79748cd69bc..27d9ed7ea2b 100644 --- a/module/zfs/brt.c +++ b/module/zfs/brt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/btree.c b/module/zfs/btree.c index bff2b6c21f4..aa282f711bc 100644 --- a/module/zfs/btree.c +++ b/module/zfs/btree.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dataset_kstats.c b/module/zfs/dataset_kstats.c index 27a04c2af06..d3baabd6169 100644 --- a/module/zfs/dataset_kstats.c +++ b/module/zfs/dataset_kstats.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c index 5212751f9a6..01f92411bcb 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dbuf_stats.c b/module/zfs/dbuf_stats.c index ccee8997e10..375add6be39 100644 --- a/module/zfs/dbuf_stats.c +++ b/module/zfs/dbuf_stats.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/ddt.c b/module/zfs/ddt.c index aa40027c4fe..ec577fff675 100644 --- a/module/zfs/ddt.c +++ b/module/zfs/ddt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/ddt_log.c b/module/zfs/ddt_log.c index 3aa07dc25b9..dbd381aa960 100644 --- a/module/zfs/ddt_log.c +++ b/module/zfs/ddt_log.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/ddt_stats.c b/module/zfs/ddt_stats.c index 8f55bc24f0f..2c4725dc9c9 100644 --- a/module/zfs/ddt_stats.c +++ b/module/zfs/ddt_stats.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/ddt_zap.c b/module/zfs/ddt_zap.c index 64924bc4fa6..7d44f99fc0b 100644 --- a/module/zfs/ddt_zap.c +++ b/module/zfs/ddt_zap.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dmu.c b/module/zfs/dmu.c index 32609399b79..0bfe3e7c74d 100644 --- a/module/zfs/dmu.c +++ b/module/zfs/dmu.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dmu_diff.c b/module/zfs/dmu_diff.c index 0def0956beb..86f751e886c 100644 --- a/module/zfs/dmu_diff.c +++ b/module/zfs/dmu_diff.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dmu_direct.c b/module/zfs/dmu_direct.c index 40b78b519f4..319aaf30be5 100644 --- a/module/zfs/dmu_direct.c +++ b/module/zfs/dmu_direct.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dmu_object.c b/module/zfs/dmu_object.c index 344b0e3750e..b4ff7d224cc 100644 --- a/module/zfs/dmu_object.c +++ b/module/zfs/dmu_object.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dmu_objset.c b/module/zfs/dmu_objset.c index 8f00e6577bc..d3106fd37dc 100644 --- a/module/zfs/dmu_objset.c +++ b/module/zfs/dmu_objset.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dmu_recv.c b/module/zfs/dmu_recv.c index a33216be6ec..863f584dbb1 100644 --- a/module/zfs/dmu_recv.c +++ b/module/zfs/dmu_recv.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dmu_redact.c b/module/zfs/dmu_redact.c index 651461caffb..efcbd466e1c 100644 --- a/module/zfs/dmu_redact.c +++ b/module/zfs/dmu_redact.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dmu_send.c b/module/zfs/dmu_send.c index aeb8ff3b668..e21af11d20d 100644 --- a/module/zfs/dmu_send.c +++ b/module/zfs/dmu_send.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dmu_traverse.c b/module/zfs/dmu_traverse.c index aa0434f3c72..c9363e6aec3 100644 --- a/module/zfs/dmu_traverse.c +++ b/module/zfs/dmu_traverse.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dmu_tx.c b/module/zfs/dmu_tx.c index e4895a6bcd7..ca7648d6eca 100644 --- a/module/zfs/dmu_tx.c +++ b/module/zfs/dmu_tx.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dmu_zfetch.c b/module/zfs/dmu_zfetch.c index ea593c0d86e..c3e20572884 100644 --- a/module/zfs/dmu_zfetch.c +++ b/module/zfs/dmu_zfetch.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dnode.c b/module/zfs/dnode.c index ce2c79dbfaa..6f68e76561b 100644 --- a/module/zfs/dnode.c +++ b/module/zfs/dnode.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dnode_sync.c b/module/zfs/dnode_sync.c index c82f45145d4..e2e576dfbbd 100644 --- a/module/zfs/dnode_sync.c +++ b/module/zfs/dnode_sync.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_bookmark.c b/module/zfs/dsl_bookmark.c index a65aded4efc..e301fe19f64 100644 --- a/module/zfs/dsl_bookmark.c +++ b/module/zfs/dsl_bookmark.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_crypt.c b/module/zfs/dsl_crypt.c index 2df57efeae0..db568f42d24 100644 --- a/module/zfs/dsl_crypt.c +++ b/module/zfs/dsl_crypt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_dataset.c b/module/zfs/dsl_dataset.c index 629edd813fb..6f467fc0d3c 100644 --- a/module/zfs/dsl_dataset.c +++ b/module/zfs/dsl_dataset.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_deadlist.c b/module/zfs/dsl_deadlist.c index b1be8fae3b4..3113d932fb6 100644 --- a/module/zfs/dsl_deadlist.c +++ b/module/zfs/dsl_deadlist.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_deleg.c b/module/zfs/dsl_deleg.c index 5e7a2b3fa59..c01a06e9834 100644 --- a/module/zfs/dsl_deleg.c +++ b/module/zfs/dsl_deleg.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_destroy.c b/module/zfs/dsl_destroy.c index e6c7e79ed6c..f5ec93b2dc5 100644 --- a/module/zfs/dsl_destroy.c +++ b/module/zfs/dsl_destroy.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_dir.c b/module/zfs/dsl_dir.c index 71f151b14d9..a2348600866 100644 --- a/module/zfs/dsl_dir.c +++ b/module/zfs/dsl_dir.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_pool.c b/module/zfs/dsl_pool.c index b98ff69191d..f1088d87208 100644 --- a/module/zfs/dsl_pool.c +++ b/module/zfs/dsl_pool.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_prop.c b/module/zfs/dsl_prop.c index 1a0e83419e7..b76f22df61e 100644 --- a/module/zfs/dsl_prop.c +++ b/module/zfs/dsl_prop.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_scan.c b/module/zfs/dsl_scan.c index 35b56420511..94426314b93 100644 --- a/module/zfs/dsl_scan.c +++ b/module/zfs/dsl_scan.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_synctask.c b/module/zfs/dsl_synctask.c index 409e12884d9..d4de9443a70 100644 --- a/module/zfs/dsl_synctask.c +++ b/module/zfs/dsl_synctask.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/dsl_userhold.c b/module/zfs/dsl_userhold.c index ffe208736ba..57c70e4ce3d 100644 --- a/module/zfs/dsl_userhold.c +++ b/module/zfs/dsl_userhold.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/edonr_zfs.c b/module/zfs/edonr_zfs.c index db21c9cf197..c2503c261c4 100644 --- a/module/zfs/edonr_zfs.c +++ b/module/zfs/edonr_zfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/fm.c b/module/zfs/fm.c index 77d87b694a4..028d9bb3074 100644 --- a/module/zfs/fm.c +++ b/module/zfs/fm.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/gzip.c b/module/zfs/gzip.c index e7fd6f63c4b..d183e998456 100644 --- a/module/zfs/gzip.c +++ b/module/zfs/gzip.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/hkdf.c b/module/zfs/hkdf.c index 580544c8ac1..bc2830b1658 100644 --- a/module/zfs/hkdf.c +++ b/module/zfs/hkdf.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/lzjb.c b/module/zfs/lzjb.c index 2db549b1626..b31f9914906 100644 --- a/module/zfs/lzjb.c +++ b/module/zfs/lzjb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/metaslab.c b/module/zfs/metaslab.c index c1424a81bf7..5d89c65e6a0 100644 --- a/module/zfs/metaslab.c +++ b/module/zfs/metaslab.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/mmp.c b/module/zfs/mmp.c index 493884cf04c..f3665d29b8b 100644 --- a/module/zfs/mmp.c +++ b/module/zfs/mmp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/multilist.c b/module/zfs/multilist.c index 3d3ef86e683..7b85d19e19e 100644 --- a/module/zfs/multilist.c +++ b/module/zfs/multilist.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/objlist.c b/module/zfs/objlist.c index c80bab2a77b..eb759eb5b4a 100644 --- a/module/zfs/objlist.c +++ b/module/zfs/objlist.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/pathname.c b/module/zfs/pathname.c index 51460d11910..112d4ff34b6 100644 --- a/module/zfs/pathname.c +++ b/module/zfs/pathname.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/range_tree.c b/module/zfs/range_tree.c index 8bb9a0724e6..5dd490a57f6 100644 --- a/module/zfs/range_tree.c +++ b/module/zfs/range_tree.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/refcount.c b/module/zfs/refcount.c index 0dd7da1aa19..9cd0cfbcf8c 100644 --- a/module/zfs/refcount.c +++ b/module/zfs/refcount.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/rrwlock.c b/module/zfs/rrwlock.c index a8c438bb6eb..8ee78461983 100644 --- a/module/zfs/rrwlock.c +++ b/module/zfs/rrwlock.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/sa.c b/module/zfs/sa.c index 31d30c1b406..48ad335905b 100644 --- a/module/zfs/sa.c +++ b/module/zfs/sa.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/sha2_zfs.c b/module/zfs/sha2_zfs.c index 872b1e53ee6..ca5cdccba65 100644 --- a/module/zfs/sha2_zfs.c +++ b/module/zfs/sha2_zfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/skein_zfs.c b/module/zfs/skein_zfs.c index 4b2aca888ee..bd9ae18314c 100644 --- a/module/zfs/skein_zfs.c +++ b/module/zfs/skein_zfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/spa.c b/module/zfs/spa.c index b4d1a00d05f..7795646ee44 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/spa_checkpoint.c b/module/zfs/spa_checkpoint.c index 5fbf474b0ec..e07756c4674 100644 --- a/module/zfs/spa_checkpoint.c +++ b/module/zfs/spa_checkpoint.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/spa_config.c b/module/zfs/spa_config.c index a77874ea0dd..de53de11497 100644 --- a/module/zfs/spa_config.c +++ b/module/zfs/spa_config.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/spa_errlog.c b/module/zfs/spa_errlog.c index 18b3970ac0d..3e08f261fda 100644 --- a/module/zfs/spa_errlog.c +++ b/module/zfs/spa_errlog.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/spa_history.c b/module/zfs/spa_history.c index 81bb99eb2cc..c0665afe91f 100644 --- a/module/zfs/spa_history.c +++ b/module/zfs/spa_history.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/spa_log_spacemap.c b/module/zfs/spa_log_spacemap.c index 5eb4d043be4..8adcba374c0 100644 --- a/module/zfs/spa_log_spacemap.c +++ b/module/zfs/spa_log_spacemap.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c index aee92030df0..3d98a044963 100644 --- a/module/zfs/spa_misc.c +++ b/module/zfs/spa_misc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/spa_stats.c b/module/zfs/spa_stats.c index 45a2f06263a..3a479ddac87 100644 --- a/module/zfs/spa_stats.c +++ b/module/zfs/spa_stats.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/space_map.c b/module/zfs/space_map.c index 36e15b8d73a..c429e0edd16 100644 --- a/module/zfs/space_map.c +++ b/module/zfs/space_map.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/space_reftree.c b/module/zfs/space_reftree.c index baa741395e0..9b2d5ed31dc 100644 --- a/module/zfs/space_reftree.c +++ b/module/zfs/space_reftree.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/txg.c b/module/zfs/txg.c index 5ce6be69be1..a30c1e3fbea 100644 --- a/module/zfs/txg.c +++ b/module/zfs/txg.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/uberblock.c b/module/zfs/uberblock.c index 22ee8036c47..f939cef9c4c 100644 --- a/module/zfs/uberblock.c +++ b/module/zfs/uberblock.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/unique.c b/module/zfs/unique.c index 799e4095db3..2fce8084b14 100644 --- a/module/zfs/unique.c +++ b/module/zfs/unique.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev.c b/module/zfs/vdev.c index 74e36c0300f..42a380e9b6c 100644 --- a/module/zfs/vdev.c +++ b/module/zfs/vdev.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_draid.c b/module/zfs/vdev_draid.c index 45f8bcfbd4e..d39a05458fe 100644 --- a/module/zfs/vdev_draid.c +++ b/module/zfs/vdev_draid.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_file.c b/module/zfs/vdev_file.c index 66997f0e7e8..a2cb6f9b9ef 100644 --- a/module/zfs/vdev_file.c +++ b/module/zfs/vdev_file.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_indirect.c b/module/zfs/vdev_indirect.c index 46c1fed6d2c..374bcf359f0 100644 --- a/module/zfs/vdev_indirect.c +++ b/module/zfs/vdev_indirect.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_indirect_births.c b/module/zfs/vdev_indirect_births.c index 65a57e73604..c0127829c26 100644 --- a/module/zfs/vdev_indirect_births.c +++ b/module/zfs/vdev_indirect_births.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_indirect_mapping.c b/module/zfs/vdev_indirect_mapping.c index e92495f2dd3..1515ddc1baa 100644 --- a/module/zfs/vdev_indirect_mapping.c +++ b/module/zfs/vdev_indirect_mapping.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_initialize.c b/module/zfs/vdev_initialize.c index f6e2662bd40..3bf9aaae188 100644 --- a/module/zfs/vdev_initialize.c +++ b/module/zfs/vdev_initialize.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_label.c b/module/zfs/vdev_label.c index 2c4e0c1c484..6baa6236aac 100644 --- a/module/zfs/vdev_label.c +++ b/module/zfs/vdev_label.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_mirror.c b/module/zfs/vdev_mirror.c index 850569d1a35..9f3dfce0179 100644 --- a/module/zfs/vdev_mirror.c +++ b/module/zfs/vdev_mirror.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_missing.c b/module/zfs/vdev_missing.c index d3580882c3e..89786a1dfd9 100644 --- a/module/zfs/vdev_missing.c +++ b/module/zfs/vdev_missing.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_queue.c b/module/zfs/vdev_queue.c index 79d23a9b03c..393fb9515d0 100644 --- a/module/zfs/vdev_queue.c +++ b/module/zfs/vdev_queue.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz.c b/module/zfs/vdev_raidz.c index 59225e766ba..7a9378844ae 100644 --- a/module/zfs/vdev_raidz.c +++ b/module/zfs/vdev_raidz.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math.c b/module/zfs/vdev_raidz_math.c index 340d32b61bf..0cd1cb0a546 100644 --- a/module/zfs/vdev_raidz_math.c +++ b/module/zfs/vdev_raidz_math.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_aarch64_neon.c b/module/zfs/vdev_raidz_math_aarch64_neon.c index 4aa7bc2b970..cfc4045fea4 100644 --- a/module/zfs/vdev_raidz_math_aarch64_neon.c +++ b/module/zfs/vdev_raidz_math_aarch64_neon.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_aarch64_neon_common.h b/module/zfs/vdev_raidz_math_aarch64_neon_common.h index f0f6546f7f7..1ec4d0218bb 100644 --- a/module/zfs/vdev_raidz_math_aarch64_neon_common.h +++ b/module/zfs/vdev_raidz_math_aarch64_neon_common.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_aarch64_neonx2.c b/module/zfs/vdev_raidz_math_aarch64_neonx2.c index bd9de91a4ba..f7766c7e07c 100644 --- a/module/zfs/vdev_raidz_math_aarch64_neonx2.c +++ b/module/zfs/vdev_raidz_math_aarch64_neonx2.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_avx2.c b/module/zfs/vdev_raidz_math_avx2.c index e5bbc7decbf..d0311e52263 100644 --- a/module/zfs/vdev_raidz_math_avx2.c +++ b/module/zfs/vdev_raidz_math_avx2.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_avx512bw.c b/module/zfs/vdev_raidz_math_avx512bw.c index 3b709ed34fc..5ad2915e326 100644 --- a/module/zfs/vdev_raidz_math_avx512bw.c +++ b/module/zfs/vdev_raidz_math_avx512bw.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_avx512f.c b/module/zfs/vdev_raidz_math_avx512f.c index 5ec71a04133..17eb9f7097c 100644 --- a/module/zfs/vdev_raidz_math_avx512f.c +++ b/module/zfs/vdev_raidz_math_avx512f.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_impl.h b/module/zfs/vdev_raidz_math_impl.h index 5d77c5d046d..97668025c49 100644 --- a/module/zfs/vdev_raidz_math_impl.h +++ b/module/zfs/vdev_raidz_math_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_powerpc_altivec.c b/module/zfs/vdev_raidz_math_powerpc_altivec.c index ff493b8b7bc..6dee532d963 100644 --- a/module/zfs/vdev_raidz_math_powerpc_altivec.c +++ b/module/zfs/vdev_raidz_math_powerpc_altivec.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_powerpc_altivec_common.h b/module/zfs/vdev_raidz_math_powerpc_altivec_common.h index f76eb47a9c6..c0c78ab1de1 100644 --- a/module/zfs/vdev_raidz_math_powerpc_altivec_common.h +++ b/module/zfs/vdev_raidz_math_powerpc_altivec_common.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_scalar.c b/module/zfs/vdev_raidz_math_scalar.c index b51352b4e90..e1144839ed3 100644 --- a/module/zfs/vdev_raidz_math_scalar.c +++ b/module/zfs/vdev_raidz_math_scalar.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_sse2.c b/module/zfs/vdev_raidz_math_sse2.c index 02b5d6a609a..3be4edeaab1 100644 --- a/module/zfs/vdev_raidz_math_sse2.c +++ b/module/zfs/vdev_raidz_math_sse2.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_raidz_math_ssse3.c b/module/zfs/vdev_raidz_math_ssse3.c index 244f137b3d0..4067aaead4b 100644 --- a/module/zfs/vdev_raidz_math_ssse3.c +++ b/module/zfs/vdev_raidz_math_ssse3.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_rebuild.c b/module/zfs/vdev_rebuild.c index 7ca1b1f846b..b9c29237faa 100644 --- a/module/zfs/vdev_rebuild.c +++ b/module/zfs/vdev_rebuild.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_removal.c b/module/zfs/vdev_removal.c index d3351555ced..e2794ba64c4 100644 --- a/module/zfs/vdev_removal.c +++ b/module/zfs/vdev_removal.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_root.c b/module/zfs/vdev_root.c index e132643dc33..8f6e49f25e1 100644 --- a/module/zfs/vdev_root.c +++ b/module/zfs/vdev_root.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/vdev_trim.c b/module/zfs/vdev_trim.c index 1ca0b23c0ee..88a16f94d13 100644 --- a/module/zfs/vdev_trim.c +++ b/module/zfs/vdev_trim.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zap.c b/module/zfs/zap.c index 99fc4ec1928..9711c91d7e4 100644 --- a/module/zfs/zap.c +++ b/module/zfs/zap.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zap_leaf.c b/module/zfs/zap_leaf.c index e396523a94b..462aadf238c 100644 --- a/module/zfs/zap_leaf.c +++ b/module/zfs/zap_leaf.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zap_micro.c b/module/zfs/zap_micro.c index a9298d3e940..411b1a9db5a 100644 --- a/module/zfs/zap_micro.c +++ b/module/zfs/zap_micro.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zcp.c b/module/zfs/zcp.c index 7c279162a9d..4cc3be6ddff 100644 --- a/module/zfs/zcp.c +++ b/module/zfs/zcp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zcp_get.c b/module/zfs/zcp_get.c index 6fd45151d92..2d4d6c04070 100644 --- a/module/zfs/zcp_get.c +++ b/module/zfs/zcp_get.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zcp_global.c b/module/zfs/zcp_global.c index 8e166e0736d..3fb677dc927 100644 --- a/module/zfs/zcp_global.c +++ b/module/zfs/zcp_global.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zcp_iter.c b/module/zfs/zcp_iter.c index b4aa7a1317a..119b8564c91 100644 --- a/module/zfs/zcp_iter.c +++ b/module/zfs/zcp_iter.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zcp_set.c b/module/zfs/zcp_set.c index cebb56a5f18..06dccafac9b 100644 --- a/module/zfs/zcp_set.c +++ b/module/zfs/zcp_set.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zcp_synctask.c b/module/zfs/zcp_synctask.c index 058910054d9..b9a42ffba85 100644 --- a/module/zfs/zcp_synctask.c +++ b/module/zfs/zcp_synctask.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfeature.c b/module/zfs/zfeature.c index 38479c7225e..7dfe00d42a0 100644 --- a/module/zfs/zfeature.c +++ b/module/zfs/zfeature.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_byteswap.c b/module/zfs/zfs_byteswap.c index 8666883f09a..f42d89f5203 100644 --- a/module/zfs/zfs_byteswap.c +++ b/module/zfs/zfs_byteswap.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_chksum.c b/module/zfs/zfs_chksum.c index acedeab7a16..5c92be21c0c 100644 --- a/module/zfs/zfs_chksum.c +++ b/module/zfs/zfs_chksum.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_fm.c b/module/zfs/zfs_fm.c index 25b05abd365..e41419bb3d0 100644 --- a/module/zfs/zfs_fm.c +++ b/module/zfs/zfs_fm.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_fuid.c b/module/zfs/zfs_fuid.c index add4241dcc9..10a6d289fbf 100644 --- a/module/zfs/zfs_fuid.c +++ b/module/zfs/zfs_fuid.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_impl.c b/module/zfs/zfs_impl.c index 20322ff98b3..916fcd69777 100644 --- a/module/zfs/zfs_impl.c +++ b/module/zfs/zfs_impl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_ioctl.c b/module/zfs/zfs_ioctl.c index 2d1ba3c67ed..9266c3c28b5 100644 --- a/module/zfs/zfs_ioctl.c +++ b/module/zfs/zfs_ioctl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_log.c b/module/zfs/zfs_log.c index 16b07cc0a7d..4374666e76b 100644 --- a/module/zfs/zfs_log.c +++ b/module/zfs/zfs_log.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_onexit.c b/module/zfs/zfs_onexit.c index 7bf804b6779..7db4730d2fb 100644 --- a/module/zfs/zfs_onexit.c +++ b/module/zfs/zfs_onexit.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_quota.c b/module/zfs/zfs_quota.c index 0fe152bc4dd..18d3dd94827 100644 --- a/module/zfs/zfs_quota.c +++ b/module/zfs/zfs_quota.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_ratelimit.c b/module/zfs/zfs_ratelimit.c index 091562ca685..2545e8efe67 100644 --- a/module/zfs/zfs_ratelimit.c +++ b/module/zfs/zfs_ratelimit.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_replay.c b/module/zfs/zfs_replay.c index 80c11d80f6c..95eb8b2eea5 100644 --- a/module/zfs/zfs_replay.c +++ b/module/zfs/zfs_replay.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_rlock.c b/module/zfs/zfs_rlock.c index f42661df82e..53eb3ef1b66 100644 --- a/module/zfs/zfs_rlock.c +++ b/module/zfs/zfs_rlock.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_sa.c b/module/zfs/zfs_sa.c index fb2443b756f..f90744eff9b 100644 --- a/module/zfs/zfs_sa.c +++ b/module/zfs/zfs_sa.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_vnops.c b/module/zfs/zfs_vnops.c index c691390976c..65e249dbad5 100644 --- a/module/zfs/zfs_vnops.c +++ b/module/zfs/zfs_vnops.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zfs_znode.c b/module/zfs/zfs_znode.c index 824db8c689a..f3c63984a63 100644 --- a/module/zfs/zfs_znode.c +++ b/module/zfs/zfs_znode.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zil.c b/module/zfs/zil.c index 3983da6aa42..a8b75029115 100644 --- a/module/zfs/zil.c +++ b/module/zfs/zil.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 6d9c20e8ed8..50dbafa0917 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zio_checksum.c b/module/zfs/zio_checksum.c index 0d2fda8d527..a91775b04af 100644 --- a/module/zfs/zio_checksum.c +++ b/module/zfs/zio_checksum.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zio_compress.c b/module/zfs/zio_compress.c index 1a0178eb283..9f0ac1b6314 100644 --- a/module/zfs/zio_compress.c +++ b/module/zfs/zio_compress.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zio_inject.c b/module/zfs/zio_inject.c index f90044299ce..df7b01ba879 100644 --- a/module/zfs/zio_inject.c +++ b/module/zfs/zio_inject.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zle.c b/module/zfs/zle.c index 7810161966d..82e48e4178a 100644 --- a/module/zfs/zle.c +++ b/module/zfs/zle.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zrlock.c b/module/zfs/zrlock.c index 0d50cc4712c..3c0f1b7bbbc 100644 --- a/module/zfs/zrlock.c +++ b/module/zfs/zrlock.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zthr.c b/module/zfs/zthr.c index 02b9f0805dd..597a510528e 100644 --- a/module/zfs/zthr.c +++ b/module/zfs/zthr.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c index 14a6219d19c..9ab2d8f4256 100644 --- a/module/zfs/zvol.c +++ b/module/zfs/zvol.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/scripts/cstyle.pl b/scripts/cstyle.pl index 123020b0812..5a32ccc4e98 100755 --- a/scripts/cstyle.pl +++ b/scripts/cstyle.pl @@ -1,4 +1,5 @@ #!/usr/bin/env perl +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/scripts/make_gitrev.sh b/scripts/make_gitrev.sh index 4a6a98f5292..f85c9db097f 100755 --- a/scripts/make_gitrev.sh +++ b/scripts/make_gitrev.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/scripts/zfs-tests.sh b/scripts/zfs-tests.sh index 4a874119e85..04f3b6f32cb 100755 --- a/scripts/zfs-tests.sh +++ b/scripts/zfs-tests.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: CDDL-1.0 # shellcheck disable=SC2154 # shellcheck disable=SC2292 # diff --git a/scripts/zloop.sh b/scripts/zloop.sh index 7cda2374338..04640396ce7 100755 --- a/scripts/zloop.sh +++ b/scripts/zloop.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/runfiles/bclone.run b/tests/runfiles/bclone.run index f4b7a69e2df..e305190ea58 100644 --- a/tests/runfiles/bclone.run +++ b/tests/runfiles/bclone.run @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run index 3f6f71fd3be..70b35e30ecb 100644 --- a/tests/runfiles/common.run +++ b/tests/runfiles/common.run @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/runfiles/freebsd.run b/tests/runfiles/freebsd.run index 1b8f7f336bb..ae39cb532dd 100644 --- a/tests/runfiles/freebsd.run +++ b/tests/runfiles/freebsd.run @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index 19474af529a..2df12ed6326 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/runfiles/longevity.run b/tests/runfiles/longevity.run index 85f5809d204..b780f0ad22e 100644 --- a/tests/runfiles/longevity.run +++ b/tests/runfiles/longevity.run @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/runfiles/perf-regression.run b/tests/runfiles/perf-regression.run index c5ba3924e30..9130841f553 100644 --- a/tests/runfiles/perf-regression.run +++ b/tests/runfiles/perf-regression.run @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/runfiles/sanity.run b/tests/runfiles/sanity.run index 2ab32674f4f..ddd2d431a5b 100644 --- a/tests/runfiles/sanity.run +++ b/tests/runfiles/sanity.run @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/runfiles/sunos.run b/tests/runfiles/sunos.run index 1f2c787d50f..379a63367d8 100644 --- a/tests/runfiles/sunos.run +++ b/tests/runfiles/sunos.run @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/test-runner/bin/test-runner.py.in b/tests/test-runner/bin/test-runner.py.in index abe27d17d75..12c03f7bbbb 100755 --- a/tests/test-runner/bin/test-runner.py.in +++ b/tests/test-runner/bin/test-runner.py.in @@ -1,4 +1,5 @@ #!/usr/bin/env @PYTHON_SHEBANG@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/test-runner/bin/zts-report.py.in b/tests/test-runner/bin/zts-report.py.in index 2e8133906bb..40f5083d129 100755 --- a/tests/test-runner/bin/zts-report.py.in +++ b/tests/test-runner/bin/zts-report.py.in @@ -1,4 +1,5 @@ #!/usr/bin/env @PYTHON_SHEBANG@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/test-runner/include/logapi.shlib b/tests/test-runner/include/logapi.shlib index 8a9ca3e87ca..670ecfefb98 100644 --- a/tests/test-runner/include/logapi.shlib +++ b/tests/test-runner/include/logapi.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/callbacks/zfs_dbgmsg.ksh b/tests/zfs-tests/callbacks/zfs_dbgmsg.ksh index 114bc5a0cce..d3e4e5d8c7a 100755 --- a/tests/zfs-tests/callbacks/zfs_dbgmsg.ksh +++ b/tests/zfs-tests/callbacks/zfs_dbgmsg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/callbacks/zfs_dmesg.ksh b/tests/zfs-tests/callbacks/zfs_dmesg.ksh index 9fee4b04495..73c65412531 100755 --- a/tests/zfs-tests/callbacks/zfs_dmesg.ksh +++ b/tests/zfs-tests/callbacks/zfs_dmesg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/callbacks/zfs_mmp.ksh b/tests/zfs-tests/callbacks/zfs_mmp.ksh index d57061438c5..9dcd27432bf 100755 --- a/tests/zfs-tests/callbacks/zfs_mmp.ksh +++ b/tests/zfs-tests/callbacks/zfs_mmp.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/cmd/badsend.c b/tests/zfs-tests/cmd/badsend.c index 7a54532fb28..3d2955ccdcf 100644 --- a/tests/zfs-tests/cmd/badsend.c +++ b/tests/zfs-tests/cmd/badsend.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/btree_test.c b/tests/zfs-tests/cmd/btree_test.c index fda9229915c..e7b80d01efa 100644 --- a/tests/zfs-tests/cmd/btree_test.c +++ b/tests/zfs-tests/cmd/btree_test.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/cmd/checksum/blake3_test.c b/tests/zfs-tests/cmd/checksum/blake3_test.c index aebe0363cc6..e02c2a86981 100644 --- a/tests/zfs-tests/cmd/checksum/blake3_test.c +++ b/tests/zfs-tests/cmd/checksum/blake3_test.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START diff --git a/tests/zfs-tests/cmd/checksum/edonr_test.c b/tests/zfs-tests/cmd/checksum/edonr_test.c index 1204f4c9d01..a95fff0255e 100644 --- a/tests/zfs-tests/cmd/checksum/edonr_test.c +++ b/tests/zfs-tests/cmd/checksum/edonr_test.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/checksum/sha2_test.c b/tests/zfs-tests/cmd/checksum/sha2_test.c index d36b670db8b..2ba6de875c8 100644 --- a/tests/zfs-tests/cmd/checksum/sha2_test.c +++ b/tests/zfs-tests/cmd/checksum/sha2_test.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/checksum/skein_test.c b/tests/zfs-tests/cmd/checksum/skein_test.c index 20eb36d3e88..cf16cc768d3 100644 --- a/tests/zfs-tests/cmd/checksum/skein_test.c +++ b/tests/zfs-tests/cmd/checksum/skein_test.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/chg_usr_exec.c b/tests/zfs-tests/cmd/chg_usr_exec.c index 911c907b38a..4048393b342 100644 --- a/tests/zfs-tests/cmd/chg_usr_exec.c +++ b/tests/zfs-tests/cmd/chg_usr_exec.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/clone_mmap_cached.c b/tests/zfs-tests/cmd/clone_mmap_cached.c index c1cdf796cfb..b0be7779871 100644 --- a/tests/zfs-tests/cmd/clone_mmap_cached.c +++ b/tests/zfs-tests/cmd/clone_mmap_cached.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/clone_mmap_write.c b/tests/zfs-tests/cmd/clone_mmap_write.c index 6a5cd8721c5..8423b6568f7 100644 --- a/tests/zfs-tests/cmd/clone_mmap_write.c +++ b/tests/zfs-tests/cmd/clone_mmap_write.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/ctime.c b/tests/zfs-tests/cmd/ctime.c index 5ff1cea8a86..e1cf1313036 100644 --- a/tests/zfs-tests/cmd/ctime.c +++ b/tests/zfs-tests/cmd/ctime.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/devname2devid.c b/tests/zfs-tests/cmd/devname2devid.c index 0f3655be714..f51680be6df 100644 --- a/tests/zfs-tests/cmd/devname2devid.c +++ b/tests/zfs-tests/cmd/devname2devid.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/dir_rd_update.c b/tests/zfs-tests/cmd/dir_rd_update.c index c0d283105a9..904bc3ae475 100644 --- a/tests/zfs-tests/cmd/dir_rd_update.c +++ b/tests/zfs-tests/cmd/dir_rd_update.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/draid.c b/tests/zfs-tests/cmd/draid.c index fdcec7bc695..8d0bdc450f8 100644 --- a/tests/zfs-tests/cmd/draid.c +++ b/tests/zfs-tests/cmd/draid.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/ereports.c b/tests/zfs-tests/cmd/ereports.c index 42168997c0a..f05579e153b 100644 --- a/tests/zfs-tests/cmd/ereports.c +++ b/tests/zfs-tests/cmd/ereports.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/file/file_append.c b/tests/zfs-tests/cmd/file/file_append.c index 3c2e196121e..66172dabca7 100644 --- a/tests/zfs-tests/cmd/file/file_append.c +++ b/tests/zfs-tests/cmd/file/file_append.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/file/file_check.c b/tests/zfs-tests/cmd/file/file_check.c index 1976beffaf2..01f6ce20891 100644 --- a/tests/zfs-tests/cmd/file/file_check.c +++ b/tests/zfs-tests/cmd/file/file_check.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/file/file_common.h b/tests/zfs-tests/cmd/file/file_common.h index 2aedf2905ae..351a6827da3 100644 --- a/tests/zfs-tests/cmd/file/file_common.h +++ b/tests/zfs-tests/cmd/file/file_common.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/file/file_fadvise.c b/tests/zfs-tests/cmd/file/file_fadvise.c index d64e2dea369..690b89eeafb 100644 --- a/tests/zfs-tests/cmd/file/file_fadvise.c +++ b/tests/zfs-tests/cmd/file/file_fadvise.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/file/file_trunc.c b/tests/zfs-tests/cmd/file/file_trunc.c index 9e3bba24afd..38e22282773 100644 --- a/tests/zfs-tests/cmd/file/file_trunc.c +++ b/tests/zfs-tests/cmd/file/file_trunc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/file/file_write.c b/tests/zfs-tests/cmd/file/file_write.c index ce1fa5d9bc0..9a4b7c51d69 100644 --- a/tests/zfs-tests/cmd/file/file_write.c +++ b/tests/zfs-tests/cmd/file/file_write.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/file/largest_file.c b/tests/zfs-tests/cmd/file/largest_file.c index d7252556b3c..82b795601d3 100644 --- a/tests/zfs-tests/cmd/file/largest_file.c +++ b/tests/zfs-tests/cmd/file/largest_file.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/file/randfree_file.c b/tests/zfs-tests/cmd/file/randfree_file.c index 1bb89788183..8724318a890 100644 --- a/tests/zfs-tests/cmd/file/randfree_file.c +++ b/tests/zfs-tests/cmd/file/randfree_file.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/file/randwritecomp.c b/tests/zfs-tests/cmd/file/randwritecomp.c index 2d5c0ec8643..5beed7af5a4 100644 --- a/tests/zfs-tests/cmd/file/randwritecomp.c +++ b/tests/zfs-tests/cmd/file/randwritecomp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/cmd/get_diff.c b/tests/zfs-tests/cmd/get_diff.c index 61467f25014..df63d3ba99c 100644 --- a/tests/zfs-tests/cmd/get_diff.c +++ b/tests/zfs-tests/cmd/get_diff.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/cmd/getversion.c b/tests/zfs-tests/cmd/getversion.c index 3626d1e968a..07c5012ca8d 100644 --- a/tests/zfs-tests/cmd/getversion.c +++ b/tests/zfs-tests/cmd/getversion.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/cmd/idmap_util.c b/tests/zfs-tests/cmd/idmap_util.c index 49483cbaa42..416e80714f9 100644 --- a/tests/zfs-tests/cmd/idmap_util.c +++ b/tests/zfs-tests/cmd/idmap_util.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/libzfs_input_check.c b/tests/zfs-tests/cmd/libzfs_input_check.c index 7d9ce4fada1..4ef249bbd4a 100644 --- a/tests/zfs-tests/cmd/libzfs_input_check.c +++ b/tests/zfs-tests/cmd/libzfs_input_check.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/linux_dos_attributes/read_dos_attributes.c b/tests/zfs-tests/cmd/linux_dos_attributes/read_dos_attributes.c index 07821140512..7a8a8d5b2df 100644 --- a/tests/zfs-tests/cmd/linux_dos_attributes/read_dos_attributes.c +++ b/tests/zfs-tests/cmd/linux_dos_attributes/read_dos_attributes.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/cmd/linux_dos_attributes/write_dos_attributes.c b/tests/zfs-tests/cmd/linux_dos_attributes/write_dos_attributes.c index 3cea7d4b1c7..2e49374e8de 100644 --- a/tests/zfs-tests/cmd/linux_dos_attributes/write_dos_attributes.c +++ b/tests/zfs-tests/cmd/linux_dos_attributes/write_dos_attributes.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/cmd/manipulate_user_buffer.c b/tests/zfs-tests/cmd/manipulate_user_buffer.c index 17358109444..712acf6829e 100644 --- a/tests/zfs-tests/cmd/manipulate_user_buffer.c +++ b/tests/zfs-tests/cmd/manipulate_user_buffer.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/mkbusy.c b/tests/zfs-tests/cmd/mkbusy.c index 78860381d88..ccc4b657c38 100644 --- a/tests/zfs-tests/cmd/mkbusy.c +++ b/tests/zfs-tests/cmd/mkbusy.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/cmd/mkfile.c b/tests/zfs-tests/cmd/mkfile.c index 3b61deed6bf..5357458578a 100644 --- a/tests/zfs-tests/cmd/mkfile.c +++ b/tests/zfs-tests/cmd/mkfile.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/mkfiles.c b/tests/zfs-tests/cmd/mkfiles.c index 76be4dadb16..d33beaee3da 100644 --- a/tests/zfs-tests/cmd/mkfiles.c +++ b/tests/zfs-tests/cmd/mkfiles.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/cmd/mktree.c b/tests/zfs-tests/cmd/mktree.c index 8ab38ee83aa..297cf6dea41 100644 --- a/tests/zfs-tests/cmd/mktree.c +++ b/tests/zfs-tests/cmd/mktree.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/mmap_exec.c b/tests/zfs-tests/cmd/mmap_exec.c index 462f985398b..686b583d4ca 100644 --- a/tests/zfs-tests/cmd/mmap_exec.c +++ b/tests/zfs-tests/cmd/mmap_exec.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/mmap_libaio.c b/tests/zfs-tests/cmd/mmap_libaio.c index 5ee1f600a73..a3cad7bd19e 100644 --- a/tests/zfs-tests/cmd/mmap_libaio.c +++ b/tests/zfs-tests/cmd/mmap_libaio.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/mmap_seek.c b/tests/zfs-tests/cmd/mmap_seek.c index 2d250554a13..45ba17e36c3 100644 --- a/tests/zfs-tests/cmd/mmap_seek.c +++ b/tests/zfs-tests/cmd/mmap_seek.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/mmap_sync.c b/tests/zfs-tests/cmd/mmap_sync.c index f9008eeaf31..e0304ff787e 100644 --- a/tests/zfs-tests/cmd/mmap_sync.c +++ b/tests/zfs-tests/cmd/mmap_sync.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/mmapwrite.c b/tests/zfs-tests/cmd/mmapwrite.c index 20a50085a22..61fcdc35af1 100644 --- a/tests/zfs-tests/cmd/mmapwrite.c +++ b/tests/zfs-tests/cmd/mmapwrite.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/nvlist_to_lua.c b/tests/zfs-tests/cmd/nvlist_to_lua.c index 57a8f51e1cc..c57fc518072 100644 --- a/tests/zfs-tests/cmd/nvlist_to_lua.c +++ b/tests/zfs-tests/cmd/nvlist_to_lua.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/readmmap.c b/tests/zfs-tests/cmd/readmmap.c index a5c8079d0e4..7f7efc4152f 100644 --- a/tests/zfs-tests/cmd/readmmap.c +++ b/tests/zfs-tests/cmd/readmmap.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/rename_dir.c b/tests/zfs-tests/cmd/rename_dir.c index 568cbfe720b..f342962785b 100644 --- a/tests/zfs-tests/cmd/rename_dir.c +++ b/tests/zfs-tests/cmd/rename_dir.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/renameat2.c b/tests/zfs-tests/cmd/renameat2.c index ddd10ffc3ac..3c5752ce993 100644 --- a/tests/zfs-tests/cmd/renameat2.c +++ b/tests/zfs-tests/cmd/renameat2.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* SPDX-License-Identifier: CDDL-1.0 OR MPL-2.0 */ /* * CDDL HEADER START diff --git a/tests/zfs-tests/cmd/rm_lnkcnt_zero_file.c b/tests/zfs-tests/cmd/rm_lnkcnt_zero_file.c index 0bf3b54cc09..1deeb7ba5f6 100644 --- a/tests/zfs-tests/cmd/rm_lnkcnt_zero_file.c +++ b/tests/zfs-tests/cmd/rm_lnkcnt_zero_file.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/send_doall.c b/tests/zfs-tests/cmd/send_doall.c index e0ab6c41812..f2f4e23a54e 100644 --- a/tests/zfs-tests/cmd/send_doall.c +++ b/tests/zfs-tests/cmd/send_doall.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/stride_dd.c b/tests/zfs-tests/cmd/stride_dd.c index e1e45794cf1..b91afb6977f 100644 --- a/tests/zfs-tests/cmd/stride_dd.c +++ b/tests/zfs-tests/cmd/stride_dd.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/cmd/suid_write_to_file.c b/tests/zfs-tests/cmd/suid_write_to_file.c index 1a8157aa564..d5e48eeb00a 100644 --- a/tests/zfs-tests/cmd/suid_write_to_file.c +++ b/tests/zfs-tests/cmd/suid_write_to_file.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/threadsappend.c b/tests/zfs-tests/cmd/threadsappend.c index b0ccd0ff6c4..bdbb2881f52 100644 --- a/tests/zfs-tests/cmd/threadsappend.c +++ b/tests/zfs-tests/cmd/threadsappend.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/truncate_test.c b/tests/zfs-tests/cmd/truncate_test.c index 3e277e8657b..0c97374db5c 100644 --- a/tests/zfs-tests/cmd/truncate_test.c +++ b/tests/zfs-tests/cmd/truncate_test.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/cmd/user_ns_exec.c b/tests/zfs-tests/cmd/user_ns_exec.c index d781301473a..48e28603f44 100644 --- a/tests/zfs-tests/cmd/user_ns_exec.c +++ b/tests/zfs-tests/cmd/user_ns_exec.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/xattrtest.c b/tests/zfs-tests/cmd/xattrtest.c index 4e72e9182b6..a887e110c52 100644 --- a/tests/zfs-tests/cmd/xattrtest.c +++ b/tests/zfs-tests/cmd/xattrtest.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/cmd/zfs_diff-socket.c b/tests/zfs-tests/cmd/zfs_diff-socket.c index 3ebc95799fe..2cd8f533d18 100644 --- a/tests/zfs-tests/cmd/zfs_diff-socket.c +++ b/tests/zfs-tests/cmd/zfs_diff-socket.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/include/blkdev.shlib b/tests/zfs-tests/include/blkdev.shlib index 5b505f92528..e77390db833 100644 --- a/tests/zfs-tests/include/blkdev.shlib +++ b/tests/zfs-tests/include/blkdev.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/include/default.cfg.in b/tests/zfs-tests/include/default.cfg.in index 88f578625eb..4e009acaff9 100644 --- a/tests/zfs-tests/include/default.cfg.in +++ b/tests/zfs-tests/include/default.cfg.in @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/include/kstat.shlib b/tests/zfs-tests/include/kstat.shlib index c7615760592..c8a2a8da446 100644 --- a/tests/zfs-tests/include/kstat.shlib +++ b/tests/zfs-tests/include/kstat.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/include/libtest.shlib b/tests/zfs-tests/include/libtest.shlib index 9d5744a26f9..8bffe9d8240 100644 --- a/tests/zfs-tests/include/libtest.shlib +++ b/tests/zfs-tests/include/libtest.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/include/math.shlib b/tests/zfs-tests/include/math.shlib index 2b5e60180f5..f8295475e45 100644 --- a/tests/zfs-tests/include/math.shlib +++ b/tests/zfs-tests/include/math.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/include/properties.shlib b/tests/zfs-tests/include/properties.shlib index 5a39eb3f36f..b688c6c5426 100644 --- a/tests/zfs-tests/include/properties.shlib +++ b/tests/zfs-tests/include/properties.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/acl/acl.cfg b/tests/zfs-tests/tests/functional/acl/acl.cfg index e350f18469d..63a3d2c482c 100644 --- a/tests/zfs-tests/tests/functional/acl/acl.cfg +++ b/tests/zfs-tests/tests/functional/acl/acl.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/acl_common.kshlib b/tests/zfs-tests/tests/functional/acl/acl_common.kshlib index 2844f5dc13d..889c911e1b1 100644 --- a/tests/zfs-tests/tests/functional/acl/acl_common.kshlib +++ b/tests/zfs-tests/tests/functional/acl/acl_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/off/cleanup.ksh b/tests/zfs-tests/tests/functional/acl/off/cleanup.ksh index 58ce22d547a..9a465a48454 100755 --- a/tests/zfs-tests/tests/functional/acl/off/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/acl/off/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/off/dosmode.ksh b/tests/zfs-tests/tests/functional/acl/off/dosmode.ksh index fa304aeb917..4db5efcfd94 100755 --- a/tests/zfs-tests/tests/functional/acl/off/dosmode.ksh +++ b/tests/zfs-tests/tests/functional/acl/off/dosmode.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/off/posixmode.ksh b/tests/zfs-tests/tests/functional/acl/off/posixmode.ksh index 2028265e089..08ae0a6887b 100755 --- a/tests/zfs-tests/tests/functional/acl/off/posixmode.ksh +++ b/tests/zfs-tests/tests/functional/acl/off/posixmode.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/off/setup.ksh b/tests/zfs-tests/tests/functional/acl/off/setup.ksh index 9a0b949ad93..d218a900e9e 100755 --- a/tests/zfs-tests/tests/functional/acl/off/setup.ksh +++ b/tests/zfs-tests/tests/functional/acl/off/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/posix-sa/cleanup.ksh b/tests/zfs-tests/tests/functional/acl/posix-sa/cleanup.ksh index 58ce22d547a..9a465a48454 100755 --- a/tests/zfs-tests/tests/functional/acl/posix-sa/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/acl/posix-sa/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/posix-sa/setup.ksh b/tests/zfs-tests/tests/functional/acl/posix-sa/setup.ksh index 3bb3760507c..1dfeda0bfa6 100755 --- a/tests/zfs-tests/tests/functional/acl/posix-sa/setup.ksh +++ b/tests/zfs-tests/tests/functional/acl/posix-sa/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/posix/cleanup.ksh b/tests/zfs-tests/tests/functional/acl/posix/cleanup.ksh index 58ce22d547a..9a465a48454 100755 --- a/tests/zfs-tests/tests/functional/acl/posix/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/acl/posix/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/posix/posix_001_pos.ksh b/tests/zfs-tests/tests/functional/acl/posix/posix_001_pos.ksh index 803c7816fed..36fe8809d85 100755 --- a/tests/zfs-tests/tests/functional/acl/posix/posix_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/acl/posix/posix_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/posix/posix_002_pos.ksh b/tests/zfs-tests/tests/functional/acl/posix/posix_002_pos.ksh index 4c0bc372b78..2126de0d1a1 100755 --- a/tests/zfs-tests/tests/functional/acl/posix/posix_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/acl/posix/posix_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/posix/posix_003_pos.ksh b/tests/zfs-tests/tests/functional/acl/posix/posix_003_pos.ksh index 2a9c173ccb2..dc983f462c8 100755 --- a/tests/zfs-tests/tests/functional/acl/posix/posix_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/acl/posix/posix_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/posix/posix_004_pos.ksh b/tests/zfs-tests/tests/functional/acl/posix/posix_004_pos.ksh index ffb5b4db71b..ba96b02f53f 100755 --- a/tests/zfs-tests/tests/functional/acl/posix/posix_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/acl/posix/posix_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/acl/posix/setup.ksh b/tests/zfs-tests/tests/functional/acl/posix/setup.ksh index 8ed9ab7e471..1272431ba06 100755 --- a/tests/zfs-tests/tests/functional/acl/posix/setup.ksh +++ b/tests/zfs-tests/tests/functional/acl/posix/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class.cfg b/tests/zfs-tests/tests/functional/alloc_class/alloc_class.cfg index 0bdae47f209..0185eb91de1 100644 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class.cfg +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class.kshlib b/tests/zfs-tests/tests/functional/alloc_class/alloc_class.kshlib index 795e71b26b5..be281c62404 100644 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class.kshlib +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_001_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_001_pos.ksh index 3237d7cb784..c827f2bad22 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_002_neg.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_002_neg.ksh index b2cac59fd41..7d6924b2c9b 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_003_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_003_pos.ksh index 78d40ce56d4..42d5deda384 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_004_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_004_pos.ksh index 04ce486adb8..684b6557e3f 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_005_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_005_pos.ksh index 08c703e21ac..3af46d99334 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_006_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_006_pos.ksh index 5852b2876e8..f5f98cd891f 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_007_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_007_pos.ksh index 106a6d933aa..58edd4c029e 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_008_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_008_pos.ksh index f73fbbe38c9..8f61d312453 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_009_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_009_pos.ksh index e8061fdabcb..2223bb1c491 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_010_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_010_pos.ksh index cbf5cbf89bd..7f9d108ed18 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_011_neg.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_011_neg.ksh index 0be49b85875..a04e9ca4327 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_011_neg.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_011_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_012_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_012_pos.ksh index 0b1c18bafda..743a717b2e8 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_013_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_013_pos.ksh index 624cab88af0..1eed7a8b7fd 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_013_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_014_neg.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_014_neg.ksh index 1b52014fd2d..e16b64a964e 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_014_neg.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_014_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_015_pos.ksh b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_015_pos.ksh index 49c468af670..9d34375b74c 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/alloc_class_015_pos.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/alloc_class_015_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/cleanup.ksh b/tests/zfs-tests/tests/functional/alloc_class/cleanup.ksh index 13775da9193..5ce0318fcac 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/alloc_class/setup.ksh b/tests/zfs-tests/tests/functional/alloc_class/setup.ksh index bdccdb98956..9ae8b8f2b6c 100755 --- a/tests/zfs-tests/tests/functional/alloc_class/setup.ksh +++ b/tests/zfs-tests/tests/functional/alloc_class/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/append/cleanup.ksh b/tests/zfs-tests/tests/functional/append/cleanup.ksh index 7d8f3aafb77..bd55af680a3 100755 --- a/tests/zfs-tests/tests/functional/append/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/append/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/append/file_append.ksh b/tests/zfs-tests/tests/functional/append/file_append.ksh index 52c3aff17b7..2c722127ca7 100755 --- a/tests/zfs-tests/tests/functional/append/file_append.ksh +++ b/tests/zfs-tests/tests/functional/append/file_append.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/append/setup.ksh b/tests/zfs-tests/tests/functional/append/setup.ksh index 4642f3a1925..5eef2aa8270 100755 --- a/tests/zfs-tests/tests/functional/append/setup.ksh +++ b/tests/zfs-tests/tests/functional/append/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/append/threadsappend_001_pos.ksh b/tests/zfs-tests/tests/functional/append/threadsappend_001_pos.ksh index 8ce79c12a04..aaea73f82d7 100755 --- a/tests/zfs-tests/tests/functional/append/threadsappend_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/append/threadsappend_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/arc/arcstats_runtime_tuning.ksh b/tests/zfs-tests/tests/functional/arc/arcstats_runtime_tuning.ksh index 6650b2e1a4d..148134b457b 100755 --- a/tests/zfs-tests/tests/functional/arc/arcstats_runtime_tuning.ksh +++ b/tests/zfs-tests/tests/functional/arc/arcstats_runtime_tuning.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/arc/cleanup.ksh b/tests/zfs-tests/tests/functional/arc/cleanup.ksh index 72a091d2515..71dfed6e5dc 100755 --- a/tests/zfs-tests/tests/functional/arc/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/arc/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/arc/dbufstats_001_pos.ksh b/tests/zfs-tests/tests/functional/arc/dbufstats_001_pos.ksh index 977d9048e5b..f46c209c001 100755 --- a/tests/zfs-tests/tests/functional/arc/dbufstats_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/arc/dbufstats_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/arc/dbufstats_002_pos.ksh b/tests/zfs-tests/tests/functional/arc/dbufstats_002_pos.ksh index 3db22443bdf..05290625356 100755 --- a/tests/zfs-tests/tests/functional/arc/dbufstats_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/arc/dbufstats_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/arc/dbufstats_003_pos.ksh b/tests/zfs-tests/tests/functional/arc/dbufstats_003_pos.ksh index 7be57bc9f25..ea5d1b74cbe 100755 --- a/tests/zfs-tests/tests/functional/arc/dbufstats_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/arc/dbufstats_003_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/arc/setup.ksh b/tests/zfs-tests/tests/functional/arc/setup.ksh index a499d741507..760b43ae393 100755 --- a/tests/zfs-tests/tests/functional/arc/setup.ksh +++ b/tests/zfs-tests/tests/functional/arc/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/atime/atime.cfg b/tests/zfs-tests/tests/functional/atime/atime.cfg index eece764248c..2df04a841d5 100644 --- a/tests/zfs-tests/tests/functional/atime/atime.cfg +++ b/tests/zfs-tests/tests/functional/atime/atime.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/atime/atime_001_pos.ksh b/tests/zfs-tests/tests/functional/atime/atime_001_pos.ksh index 9006afbeed9..580302bc3ec 100755 --- a/tests/zfs-tests/tests/functional/atime/atime_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/atime/atime_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/atime/atime_002_neg.ksh b/tests/zfs-tests/tests/functional/atime/atime_002_neg.ksh index 8fde4f23455..edfd3c5b835 100755 --- a/tests/zfs-tests/tests/functional/atime/atime_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/atime/atime_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/atime/atime_003_pos.ksh b/tests/zfs-tests/tests/functional/atime/atime_003_pos.ksh index 28d973c71f8..df345b1d304 100755 --- a/tests/zfs-tests/tests/functional/atime/atime_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/atime/atime_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/atime/atime_common.kshlib b/tests/zfs-tests/tests/functional/atime/atime_common.kshlib index 1755f0b4973..3a29fd87888 100644 --- a/tests/zfs-tests/tests/functional/atime/atime_common.kshlib +++ b/tests/zfs-tests/tests/functional/atime/atime_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/atime/cleanup.ksh b/tests/zfs-tests/tests/functional/atime/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/atime/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/atime/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/atime/root_atime_off.ksh b/tests/zfs-tests/tests/functional/atime/root_atime_off.ksh index 9c1bf315057..81bf43a49aa 100755 --- a/tests/zfs-tests/tests/functional/atime/root_atime_off.ksh +++ b/tests/zfs-tests/tests/functional/atime/root_atime_off.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/atime/root_atime_on.ksh b/tests/zfs-tests/tests/functional/atime/root_atime_on.ksh index 3b6a0d9004c..06a3d5d87ca 100755 --- a/tests/zfs-tests/tests/functional/atime/root_atime_on.ksh +++ b/tests/zfs-tests/tests/functional/atime/root_atime_on.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/atime/root_relatime_on.ksh b/tests/zfs-tests/tests/functional/atime/root_relatime_on.ksh index 062325938ef..749fc15964e 100755 --- a/tests/zfs-tests/tests/functional/atime/root_relatime_on.ksh +++ b/tests/zfs-tests/tests/functional/atime/root_relatime_on.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/atime/setup.ksh b/tests/zfs-tests/tests/functional/atime/setup.ksh index f662bffbc37..68dfa042966 100755 --- a/tests/zfs-tests/tests/functional/atime/setup.ksh +++ b/tests/zfs-tests/tests/functional/atime/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone.cfg b/tests/zfs-tests/tests/functional/bclone/bclone.cfg index f72d17c1bec..7078529e7c2 100644 --- a/tests/zfs-tests/tests/functional/bclone/bclone.cfg +++ b/tests/zfs-tests/tests/functional/bclone/bclone.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_common.kshlib b/tests/zfs-tests/tests/functional/bclone/bclone_common.kshlib index 4c52bebad08..c0c425c014c 100644 --- a/tests/zfs-tests/tests/functional/bclone/bclone_common.kshlib +++ b/tests/zfs-tests/tests/functional/bclone/bclone_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_corner_cases.kshlib b/tests/zfs-tests/tests/functional/bclone/bclone_corner_cases.kshlib index dbb47563beb..ab9d19f2c25 100644 --- a/tests/zfs-tests/tests/functional/bclone/bclone_corner_cases.kshlib +++ b/tests/zfs-tests/tests/functional/bclone/bclone_corner_cases.kshlib @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_corner_cases.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_corner_cases.ksh index 35188cddb06..ac77cc42bf5 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_corner_cases.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_corner_cases.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_corner_cases_limited.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_corner_cases_limited.ksh index 1fc1bbd07fd..452a5adb83e 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_corner_cases_limited.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_corner_cases_limited.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_data.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_data.ksh index e2fe25d451d..352ff835781 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_data.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_data.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_embedded.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_embedded.ksh index 6a6fe1d309a..651f383b99d 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_embedded.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_embedded.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_hole.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_hole.ksh index d4c33d6da30..0ee42286e5e 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_hole.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_crossfs_hole.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_all.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_all.ksh index a5e7282fe6a..498728a142d 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_all.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_all.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_checksum.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_checksum.ksh index 7e064a0dfd7..ed048ab9c0e 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_checksum.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_checksum.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_compress.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_compress.ksh index e1d6e594921..158e9e7ea20 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_compress.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_compress.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_copies.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_copies.ksh index ac823e1ec39..67335177a90 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_copies.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_copies.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_recordsize.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_recordsize.ksh index d833e612310..8b3de1dd003 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_recordsize.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_diffprops_recordsize.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_prop_sync.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_prop_sync.ksh index 08ed5717b9d..fc93d778836 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_prop_sync.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_prop_sync.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_samefs_corner_cases.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_samefs_corner_cases.ksh index 4aa2914da29..c8fb31c6f58 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_samefs_corner_cases.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_samefs_corner_cases.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_samefs_corner_cases_limited.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_samefs_corner_cases_limited.ksh index b4737700eb7..8a6576825d7 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_samefs_corner_cases_limited.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_samefs_corner_cases_limited.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_samefs_data.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_samefs_data.ksh index e964f7bbf64..17f5baaadb4 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_samefs_data.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_samefs_data.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_samefs_embedded.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_samefs_embedded.ksh index df393a87801..d7901c8549f 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_samefs_embedded.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_samefs_embedded.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/bclone_samefs_hole.ksh b/tests/zfs-tests/tests/functional/bclone/bclone_samefs_hole.ksh index 3c6e345e6e6..8d173ad2107 100755 --- a/tests/zfs-tests/tests/functional/bclone/bclone_samefs_hole.ksh +++ b/tests/zfs-tests/tests/functional/bclone/bclone_samefs_hole.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/cleanup.ksh b/tests/zfs-tests/tests/functional/bclone/cleanup.ksh index 0021ccb57ae..7c2643ff5f1 100755 --- a/tests/zfs-tests/tests/functional/bclone/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/bclone/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bclone/setup.ksh b/tests/zfs-tests/tests/functional/bclone/setup.ksh index 9d26088c5a8..f81be566639 100755 --- a/tests/zfs-tests/tests/functional/bclone/setup.ksh +++ b/tests/zfs-tests/tests/functional/bclone/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning.kshlib b/tests/zfs-tests/tests/functional/block_cloning/block_cloning.kshlib index 324fbecaef9..b2a2b09f535 100644 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning.kshlib +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning.kshlib @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_clone_mmap_cached.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_clone_mmap_cached.ksh index b0ef8ec9953..ada4d21c158 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_clone_mmap_cached.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_clone_mmap_cached.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_clone_mmap_write.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_clone_mmap_write.ksh index 6215b3178e7..93aa8eb3848 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_clone_mmap_write.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_clone_mmap_write.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange.ksh index 0599739abee..ab81aa8a9e0 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_cross_dataset.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_cross_dataset.ksh index ad83d30291a..908b4430d87 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_cross_dataset.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_cross_dataset.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback.ksh index 475910be747..46ada3cb93e 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback_same_txg.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback_same_txg.ksh index 00982f68db8..c10f1841443 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback_same_txg.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback_same_txg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_partial.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_partial.ksh index 38c46e4741c..99bf12a38db 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_partial.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_partial.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_cross_enc_dataset.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_cross_enc_dataset.ksh index f85e4f038a3..de2ddc15234 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_cross_enc_dataset.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_cross_enc_dataset.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_copyfilerange.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_copyfilerange.ksh index 3d916ab9216..b256ed93c16 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_copyfilerange.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_copyfilerange.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_ficlone.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_ficlone.ksh index 10a2715ea25..8e6ac422700 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_ficlone.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_ficlone.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_ficlonerange.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_ficlonerange.ksh index e8461e6d3c3..cedb7753ddf 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_ficlonerange.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_disabled_ficlonerange.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlone.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlone.ksh index 3f227fb68ee..9a9e65021f5 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlone.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlone.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlonerange.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlonerange.ksh index cefc4336aef..44f8bcdb105 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlonerange.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlonerange.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlonerange_partial.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlonerange_partial.ksh index 067f55aaa65..8d458bef8cc 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlonerange_partial.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_ficlonerange_partial.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_large_offset.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_large_offset.ksh index 1d5a2619ebf..02069779967 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_large_offset.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_large_offset.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_lwb_buffer_overflow.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_lwb_buffer_overflow.ksh index 919f320dea3..156b29938fd 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_lwb_buffer_overflow.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_lwb_buffer_overflow.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_replay.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_replay.ksh index 53015200468..df8d32e8160 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_replay.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_replay.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_replay_encrypted.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_replay_encrypted.ksh index 0967415b7b7..020bf3a42cd 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_replay_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_replay_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_rlimit_fsize.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_rlimit_fsize.ksh index 3632fc9a4df..c41873da710 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_rlimit_fsize.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_rlimit_fsize.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/cleanup.ksh b/tests/zfs-tests/tests/functional/block_cloning/cleanup.ksh index b985445a5d1..2fd699e51ef 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/block_cloning/setup.ksh b/tests/zfs-tests/tests/functional/block_cloning/setup.ksh index a9b13f062a4..0897e83f062 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/setup.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bootfs/bootfs_001_pos.ksh b/tests/zfs-tests/tests/functional/bootfs/bootfs_001_pos.ksh index add455eb13e..b07f449d798 100755 --- a/tests/zfs-tests/tests/functional/bootfs/bootfs_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/bootfs/bootfs_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bootfs/bootfs_002_neg.ksh b/tests/zfs-tests/tests/functional/bootfs/bootfs_002_neg.ksh index a4324a63c71..cfe403b16b7 100755 --- a/tests/zfs-tests/tests/functional/bootfs/bootfs_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/bootfs/bootfs_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bootfs/bootfs_003_pos.ksh b/tests/zfs-tests/tests/functional/bootfs/bootfs_003_pos.ksh index e1d27d1cc6d..0b76145bbea 100755 --- a/tests/zfs-tests/tests/functional/bootfs/bootfs_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/bootfs/bootfs_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bootfs/bootfs_004_neg.ksh b/tests/zfs-tests/tests/functional/bootfs/bootfs_004_neg.ksh index fa341622f3c..f238e506f2e 100755 --- a/tests/zfs-tests/tests/functional/bootfs/bootfs_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/bootfs/bootfs_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bootfs/bootfs_005_neg.ksh b/tests/zfs-tests/tests/functional/bootfs/bootfs_005_neg.ksh index 39a9a85b44a..83ed92293a1 100755 --- a/tests/zfs-tests/tests/functional/bootfs/bootfs_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/bootfs/bootfs_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bootfs/bootfs_006_pos.ksh b/tests/zfs-tests/tests/functional/bootfs/bootfs_006_pos.ksh index cdd69f4a5b2..352b4f967af 100755 --- a/tests/zfs-tests/tests/functional/bootfs/bootfs_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/bootfs/bootfs_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bootfs/bootfs_007_pos.ksh b/tests/zfs-tests/tests/functional/bootfs/bootfs_007_pos.ksh index 5750fe9338e..a66135148c1 100755 --- a/tests/zfs-tests/tests/functional/bootfs/bootfs_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/bootfs/bootfs_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bootfs/bootfs_008_pos.ksh b/tests/zfs-tests/tests/functional/bootfs/bootfs_008_pos.ksh index 270a3d70633..0413b9f8838 100755 --- a/tests/zfs-tests/tests/functional/bootfs/bootfs_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/bootfs/bootfs_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bootfs/cleanup.ksh b/tests/zfs-tests/tests/functional/bootfs/cleanup.ksh index eb542c0092f..9d268905403 100755 --- a/tests/zfs-tests/tests/functional/bootfs/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/bootfs/cleanup.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/bootfs/setup.ksh b/tests/zfs-tests/tests/functional/bootfs/setup.ksh index 2f89df767e4..2ff860590bd 100755 --- a/tests/zfs-tests/tests/functional/bootfs/setup.ksh +++ b/tests/zfs-tests/tests/functional/bootfs/setup.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/btree/btree_negative.ksh b/tests/zfs-tests/tests/functional/btree/btree_negative.ksh index 667ac87b4fe..ae4159bcfd6 100755 --- a/tests/zfs-tests/tests/functional/btree/btree_negative.ksh +++ b/tests/zfs-tests/tests/functional/btree/btree_negative.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/btree/btree_positive.ksh b/tests/zfs-tests/tests/functional/btree/btree_positive.ksh index badbac2fab5..91bc0c7e6d5 100755 --- a/tests/zfs-tests/tests/functional/btree/btree_positive.ksh +++ b/tests/zfs-tests/tests/functional/btree/btree_positive.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cache/cache.cfg b/tests/zfs-tests/tests/functional/cache/cache.cfg index 84dd78438d6..35ca126f0a8 100644 --- a/tests/zfs-tests/tests/functional/cache/cache.cfg +++ b/tests/zfs-tests/tests/functional/cache/cache.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache.kshlib b/tests/zfs-tests/tests/functional/cache/cache.kshlib index 63cc0b28ecf..aca8e60cf4d 100644 --- a/tests/zfs-tests/tests/functional/cache/cache.kshlib +++ b/tests/zfs-tests/tests/functional/cache/cache.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_001_pos.ksh b/tests/zfs-tests/tests/functional/cache/cache_001_pos.ksh index c77668cf7de..86d13c7bf36 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_002_pos.ksh b/tests/zfs-tests/tests/functional/cache/cache_002_pos.ksh index 5f1dc75c991..f827b848704 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_003_pos.ksh b/tests/zfs-tests/tests/functional/cache/cache_003_pos.ksh index f2a2777dc6c..4dc6c8ba1d4 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_004_neg.ksh b/tests/zfs-tests/tests/functional/cache/cache_004_neg.ksh index fe74cbaf1da..99fc978d452 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_005_neg.ksh b/tests/zfs-tests/tests/functional/cache/cache_005_neg.ksh index 59afbb0186b..ea5597daa2f 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_006_pos.ksh b/tests/zfs-tests/tests/functional/cache/cache_006_pos.ksh index 2f00b43f342..cbf43734f50 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_007_neg.ksh b/tests/zfs-tests/tests/functional/cache/cache_007_neg.ksh index 721dd2e0483..ca85deb1fb1 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_008_neg.ksh b/tests/zfs-tests/tests/functional/cache/cache_008_neg.ksh index d0c3f621b75..81365f7b563 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_008_neg.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_008_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_009_pos.ksh b/tests/zfs-tests/tests/functional/cache/cache_009_pos.ksh index 1d83e144266..2128ae39d2e 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_010_pos.ksh b/tests/zfs-tests/tests/functional/cache/cache_010_pos.ksh index b912eeec876..e096facd98a 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_011_pos.ksh b/tests/zfs-tests/tests/functional/cache/cache_011_pos.ksh index 0e48ac5e2a9..0231db5277b 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_011_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cache_012_pos.ksh b/tests/zfs-tests/tests/functional/cache/cache_012_pos.ksh index b8deafc5b30..e8e9ed5ddc0 100755 --- a/tests/zfs-tests/tests/functional/cache/cache_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/cache/cache_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/cleanup.ksh b/tests/zfs-tests/tests/functional/cache/cleanup.ksh index 23d9e2d4528..a3b2862d31a 100755 --- a/tests/zfs-tests/tests/functional/cache/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cache/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cache/setup.ksh b/tests/zfs-tests/tests/functional/cache/setup.ksh index 84d11a4d70e..d35704a934e 100755 --- a/tests/zfs-tests/tests/functional/cache/setup.ksh +++ b/tests/zfs-tests/tests/functional/cache/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cachefile/cachefile.cfg b/tests/zfs-tests/tests/functional/cachefile/cachefile.cfg index 47b0853184e..78e0ebcae0a 100644 --- a/tests/zfs-tests/tests/functional/cachefile/cachefile.cfg +++ b/tests/zfs-tests/tests/functional/cachefile/cachefile.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cachefile/cachefile.kshlib b/tests/zfs-tests/tests/functional/cachefile/cachefile.kshlib index 463355371c7..eb8536f2e9a 100644 --- a/tests/zfs-tests/tests/functional/cachefile/cachefile.kshlib +++ b/tests/zfs-tests/tests/functional/cachefile/cachefile.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cachefile/cachefile_001_pos.ksh b/tests/zfs-tests/tests/functional/cachefile/cachefile_001_pos.ksh index 256c2d38878..4746201f8c3 100755 --- a/tests/zfs-tests/tests/functional/cachefile/cachefile_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cachefile/cachefile_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cachefile/cachefile_002_pos.ksh b/tests/zfs-tests/tests/functional/cachefile/cachefile_002_pos.ksh index 71039c11b2b..e14499d5689 100755 --- a/tests/zfs-tests/tests/functional/cachefile/cachefile_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cachefile/cachefile_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cachefile/cachefile_003_pos.ksh b/tests/zfs-tests/tests/functional/cachefile/cachefile_003_pos.ksh index 4a6d28f6933..81329d4c203 100755 --- a/tests/zfs-tests/tests/functional/cachefile/cachefile_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cachefile/cachefile_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cachefile/cachefile_004_pos.ksh b/tests/zfs-tests/tests/functional/cachefile/cachefile_004_pos.ksh index 59a3b7dcf99..0f2208b0f3c 100755 --- a/tests/zfs-tests/tests/functional/cachefile/cachefile_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cachefile/cachefile_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cachefile/cleanup.ksh b/tests/zfs-tests/tests/functional/cachefile/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cachefile/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cachefile/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cachefile/setup.ksh b/tests/zfs-tests/tests/functional/cachefile/setup.ksh index de6c2be66b7..5feea155eec 100755 --- a/tests/zfs-tests/tests/functional/cachefile/setup.ksh +++ b/tests/zfs-tests/tests/functional/cachefile/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/casenorm/case_all_values.ksh b/tests/zfs-tests/tests/functional/casenorm/case_all_values.ksh index 6e73b5c2c63..a9327189bff 100755 --- a/tests/zfs-tests/tests/functional/casenorm/case_all_values.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/case_all_values.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/casenorm.cfg b/tests/zfs-tests/tests/functional/casenorm/casenorm.cfg index 5d2efbf000b..24a773d7a2b 100644 --- a/tests/zfs-tests/tests/functional/casenorm/casenorm.cfg +++ b/tests/zfs-tests/tests/functional/casenorm/casenorm.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib b/tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib index ad5b5367ae4..525da5ff653 100644 --- a/tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib +++ b/tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/casenorm/cleanup.ksh b/tests/zfs-tests/tests/functional/casenorm/cleanup.ksh index 98af72d2e7a..8aa81499d65 100755 --- a/tests/zfs-tests/tests/functional/casenorm/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/insensitive_formd_delete.ksh b/tests/zfs-tests/tests/functional/casenorm/insensitive_formd_delete.ksh index 00caea997c1..9f1c5839ccd 100755 --- a/tests/zfs-tests/tests/functional/casenorm/insensitive_formd_delete.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/insensitive_formd_delete.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/insensitive_formd_lookup.ksh b/tests/zfs-tests/tests/functional/casenorm/insensitive_formd_lookup.ksh index 1ef9d2756fc..35cb77a4b64 100755 --- a/tests/zfs-tests/tests/functional/casenorm/insensitive_formd_lookup.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/insensitive_formd_lookup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/insensitive_none_delete.ksh b/tests/zfs-tests/tests/functional/casenorm/insensitive_none_delete.ksh index 51f6a3c1aa0..a620c42c925 100755 --- a/tests/zfs-tests/tests/functional/casenorm/insensitive_none_delete.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/insensitive_none_delete.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/insensitive_none_lookup.ksh b/tests/zfs-tests/tests/functional/casenorm/insensitive_none_lookup.ksh index 12b7951e1a8..25099c143e2 100755 --- a/tests/zfs-tests/tests/functional/casenorm/insensitive_none_lookup.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/insensitive_none_lookup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh b/tests/zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh index 208be91dea4..e156907e193 100755 --- a/tests/zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/mixed_formd_delete.ksh b/tests/zfs-tests/tests/functional/casenorm/mixed_formd_delete.ksh index 451acbbfa89..2a473575cb0 100755 --- a/tests/zfs-tests/tests/functional/casenorm/mixed_formd_delete.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/mixed_formd_delete.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/mixed_formd_lookup.ksh b/tests/zfs-tests/tests/functional/casenorm/mixed_formd_lookup.ksh index 105415db5fd..a0bca9332bd 100755 --- a/tests/zfs-tests/tests/functional/casenorm/mixed_formd_lookup.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/mixed_formd_lookup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/mixed_formd_lookup_ci.ksh b/tests/zfs-tests/tests/functional/casenorm/mixed_formd_lookup_ci.ksh index 50827ff585f..564559bc736 100755 --- a/tests/zfs-tests/tests/functional/casenorm/mixed_formd_lookup_ci.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/mixed_formd_lookup_ci.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/mixed_none_delete.ksh b/tests/zfs-tests/tests/functional/casenorm/mixed_none_delete.ksh index 708fea8b87f..a8e2a1861bd 100755 --- a/tests/zfs-tests/tests/functional/casenorm/mixed_none_delete.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/mixed_none_delete.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/mixed_none_lookup.ksh b/tests/zfs-tests/tests/functional/casenorm/mixed_none_lookup.ksh index 12d8495aacd..05e4feb3965 100755 --- a/tests/zfs-tests/tests/functional/casenorm/mixed_none_lookup.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/mixed_none_lookup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/mixed_none_lookup_ci.ksh b/tests/zfs-tests/tests/functional/casenorm/mixed_none_lookup_ci.ksh index c798ec788ed..e40de1e957c 100755 --- a/tests/zfs-tests/tests/functional/casenorm/mixed_none_lookup_ci.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/mixed_none_lookup_ci.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/norm_all_values.ksh b/tests/zfs-tests/tests/functional/casenorm/norm_all_values.ksh index cae15ebc408..99443ce00fe 100755 --- a/tests/zfs-tests/tests/functional/casenorm/norm_all_values.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/norm_all_values.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/sensitive_formd_delete.ksh b/tests/zfs-tests/tests/functional/casenorm/sensitive_formd_delete.ksh index 285bd4e31ed..6635e12a27f 100755 --- a/tests/zfs-tests/tests/functional/casenorm/sensitive_formd_delete.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/sensitive_formd_delete.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/sensitive_formd_lookup.ksh b/tests/zfs-tests/tests/functional/casenorm/sensitive_formd_lookup.ksh index d00c7b5fca9..e2646791f90 100755 --- a/tests/zfs-tests/tests/functional/casenorm/sensitive_formd_lookup.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/sensitive_formd_lookup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/sensitive_none_delete.ksh b/tests/zfs-tests/tests/functional/casenorm/sensitive_none_delete.ksh index addebcdbc29..e9d112f0ea9 100755 --- a/tests/zfs-tests/tests/functional/casenorm/sensitive_none_delete.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/sensitive_none_delete.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/sensitive_none_lookup.ksh b/tests/zfs-tests/tests/functional/casenorm/sensitive_none_lookup.ksh index b945d810298..4396af7e6c6 100755 --- a/tests/zfs-tests/tests/functional/casenorm/sensitive_none_lookup.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/sensitive_none_lookup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/casenorm/setup.ksh b/tests/zfs-tests/tests/functional/casenorm/setup.ksh index 9eee108195b..0d504b6251d 100755 --- a/tests/zfs-tests/tests/functional/casenorm/setup.ksh +++ b/tests/zfs-tests/tests/functional/casenorm/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/channel_program/channel_common.kshlib b/tests/zfs-tests/tests/functional/channel_program/channel_common.kshlib index c937e90614c..e7a49977e64 100644 --- a/tests/zfs-tests/tests/functional/channel_program/channel_common.kshlib +++ b/tests/zfs-tests/tests/functional/channel_program/channel_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/cleanup.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/cleanup.ksh index 281f639a427..434d5d796f8 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/setup.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/setup.ksh index 2516b6b8ad9..6dfe2326ae4 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/setup.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.ksh index 6ec5610639d..0b5d1f4a30d 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.zcp b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.zcp index f6f14e5222f..31d4ac0d014 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.ksh index 2587c594da0..5cb72f77872 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.zcp b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.zcp index bd882d493b6..d17f07308ca 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.ksh index 34f29d9c039..6f2c7dc8d20 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.zcp b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.zcp index e44cf456050..e5fbfd92f09 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_illegal.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_illegal.ksh index 1c70bc85920..83ec965e35e 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_illegal.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_illegal.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_overflow.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_overflow.ksh index be212979249..bad8ae95109 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_overflow.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_overflow.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_neg.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_neg.ksh index 3f91db2be9c..c9602e08737 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_neg.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_pos.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_pos.ksh index 019622cf84c..00d6747e903 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_pos.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.ksh index 21ab69adb1c..8e92e7e4656 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.zcp b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.zcp index add68973349..3eb0fcb6d46 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.libraries.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.libraries.ksh index 71afabdbe2d..35a99ce103e 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.libraries.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.libraries.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.memory_limit.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.memory_limit.ksh index 0533b8fa306..ac4c33da761 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.memory_limit.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.memory_limit.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.ksh index 2be9150c34f..89d5c7cd412 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.zcp b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.zcp index afe3aa8f4f5..9d21d46b93e 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.ksh index 0c8b8dd8d0c..ce8e7a9e3fc 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.zcp b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.zcp index 02af95d99d1..4f9a1d505e4 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nvlist_to_lua.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nvlist_to_lua.ksh index eaba6427c96..5d16f28ab26 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nvlist_to_lua.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nvlist_to_lua.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive.zcp b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive.zcp index 9a13c1e7dc2..5d823700256 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_neg.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_neg.ksh index c75048ae7d6..d4c81104f1f 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_neg.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_pos.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_pos.ksh index 18d5d0f1ee4..690365131f2 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_pos.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.ksh index ae42665cd9f..ecf172aa668 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.zcp b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.zcp index 0ea9f8930ea..9bb3ee571a5 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_neg.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_neg.ksh index a8d4dd31d84..f7faa2ccdee 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_neg.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_pos.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_pos.ksh index 75ade2b45d1..d8e65e8043e 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_pos.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.ksh index 18c035e0464..d7823c773d7 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.zcp b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.zcp index 21e6c60d8e2..a37704825d6 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.ksh index ecabf3a3fec..4879a2b6527 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.zcp b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.zcp index a493363ca68..f1051a06e3a 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.ksh b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.ksh index 905a3c327cc..2a92d7f985c 100755 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.zcp b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.zcp index d74b1a73c2e..9f5c3a8e4b1 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh index 3ddcb4d2759..def76f7651f 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/setup.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/setup.ksh index 5837bf1a14c..3290d8f26b4 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/setup.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.ksh index 81f570d9e1e..fad72115a56 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.zcp index 9473035f025..a3fa15acea1 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.ksh index 05ec9cc6760..49c17c539f6 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.zcp index eb53fd16ce1..e84cd2809dd 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_fs.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_fs.ksh index 45a3fdb66a6..d07ba9b6e24 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_fs.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_fs.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_snap.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_snap.ksh index 571d7f87c1b..56c76ef872b 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_snap.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_snap.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_count_and_limit.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_count_and_limit.ksh index 70330c91a0e..f855a499ce3 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_count_and_limit.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_count_and_limit.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.ksh index eed3e0bce5f..3bf87e86fb1 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.zcp index 10ef8e7f839..e4b78534849 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_mountpoint.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_mountpoint.ksh index f3cf396aa1f..ebecfb3842a 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_mountpoint.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_mountpoint.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_neg.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_neg.ksh index 17f7a8fd974..1f17b8416e5 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_neg.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.ksh index 942930fa692..e8630bd1ff2 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.zcp index 744230db052..d74ea02cb0d 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.ksh index 31ae4a5717f..bc82a062470 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.zcp index 899bdc0336c..d1bb1b95e0d 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_type.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_type.ksh index d040e8962e0..37faf843c95 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_type.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_type.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_userquota.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_userquota.ksh index 80cc4ad418c..aba29a36d84 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_userquota.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_userquota.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_written.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_written.ksh index 74fdffdce4f..028bd93be46 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_written.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_written.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.inherit.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.inherit.ksh index e199b4c8b07..85844338084 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.inherit.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.inherit.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_bookmarks.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_bookmarks.ksh index 7456177f725..2ffb5ee5636 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_bookmarks.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_bookmarks.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_children.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_children.ksh index 06b82cab4f3..93d977c03eb 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_children.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_children.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_clones.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_clones.ksh index 68d053283d3..ad53504611a 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_clones.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_clones.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_holds.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_holds.ksh index 2a471bdecbf..2f04a53f956 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_holds.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_holds.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_snapshots.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_snapshots.ksh index 7bc36606c95..ca9e690cce7 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_snapshots.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_snapshots.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_system_props.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_system_props.ksh index 24ab65a195b..9a49b83bea8 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_system_props.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_system_props.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_user_props.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_user_props.ksh index a454a275330..3a626e5dc07 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_user_props.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_user_props.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.parse_args_neg.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.parse_args_neg.ksh index 01bdb63eb67..93f886e8c47 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.parse_args_neg.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.parse_args_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.ksh index b2840377b55..01f7e90ca3b 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.zcp index 287328a40d3..6658ad96b97 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_multiple.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_multiple.ksh index 7618a34bc8e..a729f409a9d 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_multiple.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_multiple.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_simple.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_simple.ksh index 541c6840e0c..4af47a1f150 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_simple.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_simple.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_mult.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_mult.ksh index 2fbbc73d5fe..4aa9394b45f 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_mult.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_mult.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_one.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_one.ksh index 12834430163..9c3071a8db0 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_one.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_one.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.ksh index 6ac1c2b205c..d956615c5f5 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.zcp index 756263a9d08..5db8660a81e 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.ksh index b0cdfb84f4e..6917463988a 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.zcp index 6fbfb06ad43..8406eeb7256 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.ksh index 8d6cd38310e..476c7ba1530 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.zcp index 5cae324bc90..f01841ad672 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.ksh index e3bf10b6916..910ff9bfab3 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.zcp index 097940d7119..a8d1808f542 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.ksh index 0561e4b7c63..af327c24b4f 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.zcp index ef893d1551d..fdb8958abb8 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.ksh index 4a7acaddaf8..ad77eeef952 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.zcp b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.zcp index 215e013df1d..af580feb994 100644 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.zcp +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.zcp @@ -1,3 +1,4 @@ +-- SPDX-License-Identifier: CDDL-1.0 -- -- This file and its contents are supplied under the terms of the -- Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.terminate_by_signal.ksh b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.terminate_by_signal.ksh index 53d5b819daf..a7152348405 100755 --- a/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.terminate_by_signal.ksh +++ b/tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.terminate_by_signal.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/chattr/chattr_001_pos.ksh b/tests/zfs-tests/tests/functional/chattr/chattr_001_pos.ksh index c263c0f4fad..dbc6380de21 100755 --- a/tests/zfs-tests/tests/functional/chattr/chattr_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/chattr/chattr_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/chattr/chattr_002_neg.ksh b/tests/zfs-tests/tests/functional/chattr/chattr_002_neg.ksh index 758de3fd277..61f8f79301f 100755 --- a/tests/zfs-tests/tests/functional/chattr/chattr_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/chattr/chattr_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/chattr/cleanup.ksh b/tests/zfs-tests/tests/functional/chattr/cleanup.ksh index 59a93a652d0..c1fcc03b35d 100755 --- a/tests/zfs-tests/tests/functional/chattr/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/chattr/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/chattr/setup.ksh b/tests/zfs-tests/tests/functional/chattr/setup.ksh index d9fc7be4e4f..844329af9c7 100755 --- a/tests/zfs-tests/tests/functional/chattr/setup.ksh +++ b/tests/zfs-tests/tests/functional/chattr/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/checksum/cleanup.ksh b/tests/zfs-tests/tests/functional/checksum/cleanup.ksh index 7d2380db5c6..d6619a2fe2b 100755 --- a/tests/zfs-tests/tests/functional/checksum/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/checksum/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/checksum/default.cfg b/tests/zfs-tests/tests/functional/checksum/default.cfg index ca13be4e4d5..2fb1e4426a9 100644 --- a/tests/zfs-tests/tests/functional/checksum/default.cfg +++ b/tests/zfs-tests/tests/functional/checksum/default.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/checksum/filetest_001_pos.ksh b/tests/zfs-tests/tests/functional/checksum/filetest_001_pos.ksh index 7257da48838..68182ade241 100755 --- a/tests/zfs-tests/tests/functional/checksum/filetest_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/checksum/filetest_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/checksum/filetest_002_pos.ksh b/tests/zfs-tests/tests/functional/checksum/filetest_002_pos.ksh index 23e7aa57748..aaf63333b96 100755 --- a/tests/zfs-tests/tests/functional/checksum/filetest_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/checksum/filetest_002_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/checksum/run_blake3_test.ksh b/tests/zfs-tests/tests/functional/checksum/run_blake3_test.ksh index cf1ca70328e..e51afc17e98 100755 --- a/tests/zfs-tests/tests/functional/checksum/run_blake3_test.ksh +++ b/tests/zfs-tests/tests/functional/checksum/run_blake3_test.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/checksum/run_edonr_test.ksh b/tests/zfs-tests/tests/functional/checksum/run_edonr_test.ksh index de5b21918ed..3d2c926368e 100755 --- a/tests/zfs-tests/tests/functional/checksum/run_edonr_test.ksh +++ b/tests/zfs-tests/tests/functional/checksum/run_edonr_test.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/checksum/run_sha2_test.ksh b/tests/zfs-tests/tests/functional/checksum/run_sha2_test.ksh index 23954a5d35f..25bf49f7613 100755 --- a/tests/zfs-tests/tests/functional/checksum/run_sha2_test.ksh +++ b/tests/zfs-tests/tests/functional/checksum/run_sha2_test.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/checksum/run_skein_test.ksh b/tests/zfs-tests/tests/functional/checksum/run_skein_test.ksh index d59bde206d7..80fb2fbca52 100755 --- a/tests/zfs-tests/tests/functional/checksum/run_skein_test.ksh +++ b/tests/zfs-tests/tests/functional/checksum/run_skein_test.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/checksum/setup.ksh b/tests/zfs-tests/tests/functional/checksum/setup.ksh index be72cacc0fc..b6c18f135ed 100755 --- a/tests/zfs-tests/tests/functional/checksum/setup.ksh +++ b/tests/zfs-tests/tests/functional/checksum/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_001_pos.ksh b/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_001_pos.ksh index f644b8f8132..37c97f6f9c2 100755 --- a/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_002_pos.ksh b/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_002_pos.ksh index 6246b0c09f0..b400422e8af 100755 --- a/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_002_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_003_pos.ksh b/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_003_pos.ksh index 3a64001eb5a..d0cb6d8b76e 100755 --- a/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_003_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_004_pos.ksh b/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_004_pos.ksh index cfbd8194102..c391c849da5 100755 --- a/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_004_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_common.kshlib b/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_common.kshlib index 1a75816f2c0..7747e5076e7 100644 --- a/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_common.kshlib +++ b/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/clean_mirror/cleanup.ksh b/tests/zfs-tests/tests/functional/clean_mirror/cleanup.ksh index 3b54cff0e4c..0de998081de 100755 --- a/tests/zfs-tests/tests/functional/clean_mirror/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/clean_mirror/cleanup.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/clean_mirror/default.cfg b/tests/zfs-tests/tests/functional/clean_mirror/default.cfg index 83ec31f2993..1265237e72d 100644 --- a/tests/zfs-tests/tests/functional/clean_mirror/default.cfg +++ b/tests/zfs-tests/tests/functional/clean_mirror/default.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/clean_mirror/setup.ksh b/tests/zfs-tests/tests/functional/clean_mirror/setup.ksh index 8d14f2d96e2..d43ac255061 100755 --- a/tests/zfs-tests/tests/functional/clean_mirror/setup.ksh +++ b/tests/zfs-tests/tests/functional/clean_mirror/setup.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/cli_common.kshlib b/tests/zfs-tests/tests/functional/cli_root/cli_common.kshlib index bdb2d86f038..2a9a192ec45 100644 --- a/tests/zfs-tests/tests/functional/cli_root/cli_common.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/cli_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/json/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/json/cleanup.ksh index f82a9096229..4edf0e451d6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/json/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/json/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/json/json_sanity.ksh b/tests/zfs-tests/tests/functional/cli_root/json/json_sanity.ksh index d092a3b0e82..e6299624922 100755 --- a/tests/zfs-tests/tests/functional/cli_root/json/json_sanity.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/json/json_sanity.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/json/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/json/setup.ksh index f94dc569742..2ac9bf126d1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/json/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/json/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_002_pos.ksh index ec7e1dcab9c..9ad32a1f2c9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_003_pos.ksh index 0e4dcf8e6f1..de2ef34e27d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_004_pos.ksh index 52bcc031137..d6e97f62404 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_005_pos.ksh index 74975dbb0dd..d4801892515 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_006_pos.ksh index 97b00e9e199..ef82069d4e3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_neg.ksh index 688d488ceb6..09ee00ce5b8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_pos.ksh index 37f45eae55f..f1a40fd890e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_backup.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_backup.ksh index bd025c92549..ea2c2866cde 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_backup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_backup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh index cfa26f54b11..12b908eafdb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_checksum.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_checksum.ksh index d79933fd5b5..f207e88d652 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_checksum.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_checksum.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress.ksh index dffed48908f..c6637f26c4d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress_zstd.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress_zstd.ksh index c7e10bac457..8c61ea70399 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress_zstd.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress_zstd.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_display_block.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_display_block.ksh index bab0dea2969..f5d7eef4247 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_display_block.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_display_block.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_encrypted.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_encrypted.ksh index 0218c2ea103..539f04fd2f8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_label_checksum.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_label_checksum.ksh index 6cc1560418b..425325bfb61 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_label_checksum.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_label_checksum.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_neg.ksh index e4664b52eb9..1a660d33c12 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_pos.ksh index 2c85e6e932a..e7f5dc55a95 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_objset_id.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_objset_id.ksh index 9d147f38204..db5b4bb24c2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_objset_id.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_objset_id.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_recover.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_recover.ksh index b3985614130..8ce7b194d55 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_recover.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_recover.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_recover_2.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_recover_2.ksh index d4529ff0110..c4d7257de67 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_recover_2.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_recover_2.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_001_neg.ksh index 24ffd475168..2ee46e5cecf 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_002_pos.ksh index de434cc47b3..f4ae2052689 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_003_neg.ksh index 2f592642c3b..3f7ccfa2c96 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs/zfs_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/cleanup.ksh index eed1c9ccf54..462c8899d88 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/setup.ksh index 8815d150bbd..4ef448c5112 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/zfs_bookmark_cliargs.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/zfs_bookmark_cliargs.ksh index b6cb0c60034..e735b20fbe5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/zfs_bookmark_cliargs.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/zfs_bookmark_cliargs.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key.ksh index 821abdeb32f..56f9880b8db 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_child.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_child.ksh index 592f1eccca9..b42c23e0707 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_child.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_child.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_clones.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_clones.ksh index 70a9df618e1..edc4c724cf9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_clones.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_clones.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_format.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_format.ksh index 22212d72d1d..50d2bad4824 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_format.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_format.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_inherit.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_inherit.ksh index e9b010e912f..bdd8f4bbd5f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_inherit.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_inherit.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_load.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_load.ksh index a5a9976196e..b63644b9c49 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_load.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_load.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_location.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_location.ksh index 607e2208cef..6dc6cce7213 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_location.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_location.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_pbkdf2iters.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_pbkdf2iters.ksh index 224fabf2262..724afec1818 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_pbkdf2iters.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_pbkdf2iters.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/cleanup.ksh index d9f935900f9..8b13bb7d1c2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/setup.ksh index 0a74ee3a879..9649ef6ba42 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_001_neg.ksh index e8d5d73dd84..35b73a532c1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_002_pos.ksh index 755079ed57d..536aed2174b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_003_pos.ksh index c113fb27aaf..739dfcf7e3c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_004_pos.ksh index 993b279411d..c2f2475dcd1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_005_pos.ksh index e965ec1251b..f3b0c8e41f9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_006_pos.ksh index 30fafca9005..2724d43b2a0 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_007_pos.ksh index a615392d70d..de46662eb21 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_008_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_008_neg.ksh index 96f0c16a45f..a6bb0b6e860 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_008_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_008_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_009_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_009_neg.ksh index e328d5b6415..e05382b48c5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh index 226a665f669..8732d3f9b8d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_deeply_nested.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_deeply_nested.ksh index b8380776579..0054533c613 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_deeply_nested.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_deeply_nested.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_encrypted.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_encrypted.ksh index 1f07b9eb03b..ddf1641bb38 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_rm_nested.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_rm_nested.ksh index 447fbb36b41..ea0d5697ee2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_rm_nested.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_rm_nested.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/cleanup.ksh index 8c8d37276d1..9f94741790c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/setup.ksh index f76b49af706..b86a3463189 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.cfg index ec3244c7a80..d3c9d7ca8cc 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib index a7a93a3046d..de588bc4dcd 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_001_pos.ksh index 1f8d770fc99..b3c0739b757 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh index 5b10189e8f5..0651fe59bd5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_003_pos.ksh index cfb3d3308db..f18de228937 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_004_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_004_neg.ksh index ab250d4f278..a556f07616f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_005_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_005_neg.ksh index d15629fb2bd..bc1a731128c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_006_pos.ksh index 28017b59a00..ac763981f58 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/properties.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_create/properties.kshlib index 16d19bdbd8a..ade1806ff87 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/properties.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/properties.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create.cfg index 807285ea6c7..c3932dfccc4 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_001_pos.ksh index 7b34ec33f3b..0d865e23f79 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_002_pos.ksh index 74b39cdaf98..85ad2aad53b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh index 798354db954..eeeb907785c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_004_pos.ksh index cc429419e67..12975f06871 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_005_pos.ksh index 22f154400a1..ed066f3ec02 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh index 733402fed39..21be871c778 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_007_pos.ksh index bb6f9a21db1..57a4c480e6c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_008_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_008_neg.ksh index 650d7dbcc3b..71b72fa5082 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_008_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_008_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh index f23f0a969df..2579045b0e6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh index a872881b549..8d8b069d09a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_011_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_011_pos.ksh index 2bbe6d84815..6be3ef7182a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_011_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_012_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_012_pos.ksh index 71706d4b0f6..a3e453e8ac4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh index 3fa5e246d8e..480e96eb630 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_014_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_014_pos.ksh index 8010c6df458..663edbd13f1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_014_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_014_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_common.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_common.kshlib index 76a63a09480..47ec049a004 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_common.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_crypt_combos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_crypt_combos.ksh index 758b800c2fe..3a15660303a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_crypt_combos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_crypt_combos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_dryrun.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_dryrun.ksh index 1e22da0045c..0a8ccfb8275 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_dryrun.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_dryrun.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_encrypted.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_encrypted.ksh index e32545c689f..ce0473d3cd2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_nomount.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_nomount.ksh index 5b0478e855c..473d49b8670 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_nomount.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_nomount.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_verbose.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_verbose.ksh index b18ffa404c4..3b613e8867d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_verbose.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_verbose.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/cleanup.ksh index 8f25922aa7a..2d0876549ff 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/setup.ksh index 479ee930f27..db8a436399b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_and_disable.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_and_disable.ksh index b9d6ad1e5dc..9ea033ca8ab 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_and_disable.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_and_disable.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_races.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_races.ksh index cf248bb87f9..6068bf7640f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_races.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_races.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_dedup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_dedup.ksh index 9632cf01b3b..07ee285c53e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_dedup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_dedup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy.cfg index 5bb720bf1d6..562c4e3c8b6 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_001_pos.ksh index 1f977628295..98baae73210 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_002_pos.ksh index 2eff646ea76..f9fb341b5b9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_003_pos.ksh index 2c61bb7eceb..0b0509d7ba2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_004_pos.ksh index fedc30d550a..0dd91431a6b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_005_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_005_neg.ksh index f91909c2bc5..2d88098ca53 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_006_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_006_neg.ksh index 2a9381cab5f..c3cb9cac30f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_006_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_006_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_007_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_007_neg.ksh index cafb87a4236..75c404aec11 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_008_pos.ksh index 29e1e5e95cf..ad2c61b297c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_009_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_009_pos.ksh index aa841151603..9f5f298f0df 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_010_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_010_pos.ksh index 91e6dfd96e1..f570c9c1bcb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_011_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_011_pos.ksh index 634bfc20c16..085bda1daee 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_011_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_012_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_012_pos.ksh index d4b64cf4cf1..d18df3fb9fc 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_013_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_013_neg.ksh index 406c9d43fff..bb8318ba5dd 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_013_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_013_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_014_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_014_pos.ksh index e150cddfa1a..162751cb2b3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_014_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_014_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_015_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_015_pos.ksh index f1868f522c8..efdd82ac470 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_015_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_015_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_016_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_016_pos.ksh index 93c8c63fd23..c0781441fe3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_016_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_016_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_clone_livelist.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_clone_livelist.ksh index 54d6096890b..bbfc8d606c7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_clone_livelist.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_clone_livelist.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_common.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_common.kshlib index bcc24efa651..e5914c66a1c 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_common.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh index 107c1331966..a889ca5ed4a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh index fa5ebb6cce9..9e45c31404c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/cleanup.ksh index 1adac153d74..c2460ed9eaa 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/setup.ksh index e37841addf8..81146824b32 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_changes.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_changes.ksh index ca8df6dab91..03ce4f456df 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_changes.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_changes.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_cliargs.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_cliargs.ksh index 67eb18fa4a5..b9c6f584ce4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_cliargs.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_cliargs.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_encrypted.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_encrypted.ksh index 96e6d9b5ae8..bff0fab908d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_mangle.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_mangle.ksh index ffce9f06848..4545d47fd33 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_mangle.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_mangle.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_timestamp.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_timestamp.ksh index 81ee87f8aee..25dabfea214 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_timestamp.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_timestamp.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_types.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_types.ksh index 414fde336c7..5a92311686d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_types.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_types.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/setup.ksh index 2a909eba4f8..f119e07d0e3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_001_pos.ksh index 935a85285e8..69456c001e0 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_002_pos.ksh index 65986f6bd1a..a5b86b63236 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_003_pos.ksh index db80ccf1883..1506cab0183 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_004_pos.ksh index 6101bae032c..a0c38f5947a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_005_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_005_neg.ksh index d9be907909d..a1b7c1570c7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_006_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_006_neg.ksh index feed960b17e..89edb4c87d6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_006_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_006_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_007_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_007_neg.ksh index 08a6bb7529b..be950cfe476 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_008_pos.ksh index 6be43203684..db8099e31d5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_009_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_009_pos.ksh index 5686b63b41c..0443fd35197 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_010_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_010_neg.ksh index 1b6e211e068..06c07c1a636 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_010_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_010_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_common.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_common.kshlib index 12f157dedf1..fd2eb271e67 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_common.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_list_d.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_list_d.kshlib index 2084e0c18b1..ba0506cc3f0 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_list_d.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_list_d.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/cleanup.ksh index 3b16891a6b1..9eaf4b6378c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/setup.ksh index f69103b7c37..84ebe484dca 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/zfs_ids_to_path_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/zfs_ids_to_path_001_pos.ksh index ff05a75725a..b74941a00b1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/zfs_ids_to_path_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/zfs_ids_to_path_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/setup.ksh index 2a909eba4f8..f119e07d0e3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh index f1bd3d6e1fd..c09bfdba7b5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_002_neg.ksh index 0bb93a0789b..d5323da26d4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_003_pos.ksh index d27fa84c5d1..8cae5c1528a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_mountpoint.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_mountpoint.ksh index 9c1251533c1..b67c9f6d1fe 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_mountpoint.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_mountpoint.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_jail/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_jail/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_jail/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_jail/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_jail/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_jail/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_jail/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_jail/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_jail/zfs_jail_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_jail/zfs_jail_001_pos.ksh index fa33bdb02ff..7ce03a4b904 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_jail/zfs_jail_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_jail/zfs_jail_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/cleanup.ksh index 60a1450f4c0..725e5301b42 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/setup.ksh index 43e4db5b09b..656ecc427e1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg index cc1e3b33054..e6b0a6006a3 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.ksh index 11a97a83e25..9127c60c742 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_all.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_all.ksh index 515753722d2..65dac5ab49e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_all.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_all.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib index f174eeeeaae..2f1e31c1bd3 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_file.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_file.ksh index 73c461fd6b3..8d4e3342594 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_file.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_file.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_https.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_https.ksh index c0c91e59dd3..39518f1ee3a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_https.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_https.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_location.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_location.ksh index 11f16e45ad3..8b5303e0bfb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_location.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_location.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_noop.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_noop.ksh index 2ee17834696..b1adbea9f4c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_noop.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_noop.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_recursive.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_recursive.ksh index c0b5553e39c..ecb2f9be79f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_recursive.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_recursive.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.cfg index 739baf16086..60568d22476 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib index 8d06a32e7f5..08795a7ea25 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_001_pos.ksh index 68ec7847857..f2970b21c30 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_002_pos.ksh index 50161bc0a45..2f7fc86a59a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_003_pos.ksh index 1beb501f5b6..e5db2e671c9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_004_pos.ksh index 9dcd8af0bb3..c645bd5f2d6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_005_pos.ksh index b94d83f4511..c25ad6abd0f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_006_pos.ksh index e9ab472795e..a8ac566ce65 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_007_pos.ksh index 84f478c938b..ce0b24b7e53 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_008_pos.ksh index 0437c61a2c4..7f0b2ce90cb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_009_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_009_neg.ksh index 02b3477a445..c8e7a8893b8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_010_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_010_neg.ksh index 2c26157be83..f8e69ad6ad0 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_010_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_010_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_011_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_011_neg.ksh index 0e087982361..ce4839ad96a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_011_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_011_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_012_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_012_pos.ksh index 66958f2f088..67fe4c93f74 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_013_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_013_pos.ksh index e6a4be1577a..c30331379a8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_013_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_014_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_014_neg.ksh index 5cf0bc7b3a0..4e7c2084712 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_014_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_014_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_001_pos.ksh index 5fd963c0399..854723781e4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh index 7b6c2ccdf66..d20d19339af 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_mountpoints.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_mountpoints.ksh index faeae4227ac..5ac374bcbaa 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_mountpoints.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_mountpoints.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_encrypted.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_encrypted.ksh index a95e7507b4d..334ef92195f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_recursive.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_recursive.ksh index 0e5cc5d6955..dec6f9c9ca8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_recursive.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_recursive.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh index ed35b6e831a..c54128f7b9e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh index a69f869911b..74c106190dd 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_multi_mount.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_multi_mount.ksh index c4b4f077313..f425ba0aedc 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_multi_mount.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_multi_mount.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_program/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_program/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_program/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_program/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_program/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_program/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_program/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_program/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_program/zfs_program_json.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_program/zfs_program_json.ksh index 2241b77bf80..6f79e4a8d3b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_program/zfs_program_json.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_program/zfs_program_json.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/setup.ksh index 13a5febb25c..25da1c0ac00 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote.cfg index 02d7c097a51..7bad4f945db 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_001_pos.ksh index 173c46d7644..e6199eab4d9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_002_pos.ksh index fa7c82ee87a..21157e88878 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_003_pos.ksh index 8d1ba8238a1..74147c86065 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_004_pos.ksh index 653b21139f5..fb83b63892e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_005_pos.ksh index aa2deb9c3ef..b809b72a3e3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_006_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_006_neg.ksh index 1aca734f46a..a463bfb59e8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_006_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_006_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_007_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_007_neg.ksh index 26740dcc4f6..b38a7e04743 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_008_pos.ksh index 33dc403aefc..c1449db5220 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_encryptionroot.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_encryptionroot.ksh index fd6ed7e58e3..697cf9f2c5a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_encryptionroot.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_encryptionroot.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_property/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_property/cleanup.ksh index 7bb00caed5a..2d851653cb2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_property/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_property/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_property/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_property/setup.ksh index 75bee687f5b..75bd028c432 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_property/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_property/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_property/zfs_written_property_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_property/zfs_written_property_001_pos.ksh index fd3194fe989..c579fd54c8d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_property/zfs_written_property_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_property/zfs_written_property_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/cleanup.ksh index e3a21330261..1105913417c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_aliases.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_aliases.ksh index 6e5b48ffe27..165d9bd5868 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_aliases.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_aliases.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_override.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_override.ksh index 44fe60463b2..0f550025d5d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_override.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_override.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/setup.ksh index 5fd3ff95309..831be403ac5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-e.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-e.ksh index 0c535b469bf..85ae0dfdac7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-e.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-e.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-wR-encrypted-mix.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-wR-encrypted-mix.ksh index dc1653b698e..8f073c0ba27 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-wR-encrypted-mix.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-wR-encrypted-mix.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_001_pos.ksh index d8051c919f4..72d28644b37 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_002_pos.ksh index 9fb25a3e42b..cafe3437b09 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_003_pos.ksh index 9cac9f54df1..09685427768 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_004_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_004_neg.ksh index 9f4b32ade73..72ba966025b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_005_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_005_neg.ksh index 1841e07bdb0..234fa54cf34 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_006_pos.ksh index 1406882645d..126237a6325 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_007_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_007_neg.ksh index e88b2853c85..75a8cff5d54 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_008_pos.ksh index be112d0cd39..63013dced83 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_009_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_009_neg.ksh index c7cfe3cba71..3dd9f17bcec 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_010_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_010_pos.ksh index 3e24d3e2e3b..7377c871ab2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_011_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_011_pos.ksh index 7de2c183480..a355599a5e7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_011_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_012_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_012_pos.ksh index 4e72a66d49c..ae142ce919d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_013_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_013_pos.ksh index 87bb63b36e5..a199acb8717 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_013_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_014_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_014_pos.ksh index 989d31b9064..708395d3878 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_014_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_014_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_015_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_015_pos.ksh index ead3c43117b..96a75c90af4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_015_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_015_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_016_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_016_pos.ksh index 04d20ebd39e..7e775c8dc17 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_016_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_016_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_compressed_corrective.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_compressed_corrective.ksh index fec6fc041b4..629bc07f628 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_compressed_corrective.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_compressed_corrective.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_corrective.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_corrective.ksh index 44d4e2fa6de..9c09ede94ef 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_corrective.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_corrective.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_encrypted.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_encrypted.ksh index fe9c0f1803a..094a3c9eb77 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_zstd.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_zstd.ksh index e078103a1be..fcdbc4130b2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_zstd.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_zstd.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_large_block_corrective.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_large_block_corrective.ksh index 0958b7c1bbf..2fdff797813 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_large_block_corrective.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_large_block_corrective.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_new_props.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_new_props.ksh index ae63f5c6ac1..c8536387f57 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_new_props.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_new_props.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw.ksh index 6b4425fd1db..ab2b72ff45c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_-d.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_-d.ksh index 662f9386ebe..83dd3494c39 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_-d.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_-d.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_incremental.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_incremental.ksh index c33bba53291..a6bb5e1d7e1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_incremental.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_incremental.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_to_encrypted.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_to_encrypted.ksh index 7e12d30d0e7..ebdf50dcbb6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_to_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_to_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/cleanup.ksh index f8f253a3b61..17540db5d93 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/setup.ksh index 0f22179024b..f0002d897c1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.cfg index 8d3da7cdeaa..b88f241acd1 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.kshlib index a3d735756fa..5c2ba124b9c 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_001_pos.ksh index a4fb95c8d10..ce057b502b2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_002_pos.ksh index 05f1474b185..3b5d7049de5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_003_pos.ksh index 26ee9cb923d..c5b3360903d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_004_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_004_neg.ksh index 224fceaddd0..91dc6e68e4c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_005_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_005_neg.ksh index 3717d1d9dad..2c66f2567a4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_006_pos.ksh index 5d67a4ed954..97a03803d6d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_007_pos.ksh index 5b8d7c78dfc..4b1d150fe81 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_008_pos.ksh index 6f5974cc235..119c55d269f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_009_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_009_neg.ksh index 7eef546380b..cd6f5e2497d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_010_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_010_neg.ksh index b631ea88682..09e29483537 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_010_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_010_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_011_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_011_pos.ksh index 43632c7d34b..eaf17a5f1b6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_011_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_012_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_012_neg.ksh index 16c93e9f4e1..00d15e329ad 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_012_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_012_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_013_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_013_pos.ksh index f33a971729e..e819cf0bf3d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_013_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_014_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_014_neg.ksh index d0b6984d21c..1dfb79393fd 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_014_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_014_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_encrypted_child.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_encrypted_child.ksh index 2366cf67655..645ab04253a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_encrypted_child.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_encrypted_child.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_mountpoint.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_mountpoint.ksh index 7ec6b2aa490..c0e0ddcdc76 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_mountpoint.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_mountpoint.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_nounmount.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_nounmount.ksh index 96826d814f1..7ad23720f68 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_nounmount.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_nounmount.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_to_encrypted.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_to_encrypted.ksh index ab8e1c89ae8..c78a1e31b55 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_to_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_to_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_001_pos.ksh index 416139f7aa3..878a30c356f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_002_pos.ksh index 49eabfeb722..6b996f52e3c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/cleanup.ksh index 93abeb1338c..33212f32f00 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/setup.ksh index 562e5242d3c..c60cd649d14 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback.cfg index 215f3c35078..a10926dc866 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_001_pos.ksh index 5290f06205b..872341978fe 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_002_pos.ksh index 3b03063d0c1..67e30602051 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_003_neg.ksh index e798a7bec5c..0c4e7a34775 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_004_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_004_neg.ksh index be59742c905..cf4bb1d30ea 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_common.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_common.kshlib index 29eb82a22cd..0d1d7f4c284 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_common.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/cleanup.ksh index e3a21330261..1105913417c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send-b.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send-b.ksh index 7e841c10cea..994b347118e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send-b.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send-b.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send.cfg index 49f7245f9c5..8f693f5af9b 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_001_pos.ksh index a8b22756a6d..dab624a8e98 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_002_pos.ksh index f575c0cc8da..c5dd843d703 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_003_pos.ksh index 211225dd6fb..b61d8dd74f4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_004_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_004_neg.ksh index ea3a759ddad..2bedd6d3ec1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_005_pos.ksh index 174b21feb23..71874f91488 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_006_pos.ksh index d7ee161eb3b..fbf5f1b40a5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_007_pos.ksh index 3a0382867de..b1488542538 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted.ksh index b0f10028f47..68afea7576d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted_unloaded.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted_unloaded.ksh index bf9a2be8db5..b4c6d932ca3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted_unloaded.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted_unloaded.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_raw.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_raw.ksh index b221d8280df..ef155fcaace 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_raw.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_raw.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_skip_missing.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_skip_missing.ksh index 06a53fcddd5..849001fff3f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_skip_missing.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_skip_missing.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_sparse.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_sparse.ksh index aeb49afd7fc..39e4204f85c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_sparse.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_sparse.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/cache_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/cache_001_pos.ksh index de073bf1132..e46f3f6873c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/cache_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/cache_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/cache_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/cache_002_neg.ksh index b4f24f5adf1..d1e17dee044 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/cache_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/cache_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_001_pos.ksh index 4eb11423d9e..50811540f3f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_002_pos.ksh index d628d6fc6ab..b3357fa8163 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_003_pos.ksh index fa9948445d9..0b96babaaf3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_004_pos.ksh index b3f1afc63ab..bd40dcc13ea 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/checksum_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/checksum_001_pos.ksh index 91b08a838bd..0b3e7cb2a74 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/checksum_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/checksum_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/cleanup.ksh index b6c8bb2f47e..c4552ba9878 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/compression_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/compression_001_pos.ksh index ebeed4a7dab..7f306bdd643 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/compression_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/compression_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_001_pos.ksh index c1f5affa341..58954502ae8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_002_pos.ksh index c227a6fb8aa..eae34744f47 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_003_pos.ksh index 01b505e4ab1..3b33a05b7a2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/onoffs_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/onoffs_001_pos.ksh index d6daf0e1b74..7f71baff3d1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/onoffs_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/onoffs_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/property_alias_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/property_alias_001_pos.ksh index b75143ed61b..477597f5710 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/property_alias_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/property_alias_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/readonly_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/readonly_001_pos.ksh index 20d6b634429..428d0ad7951 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/readonly_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/readonly_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/reservation_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/reservation_001_neg.ksh index 9430c1ac407..d60387d2d1a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/reservation_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/reservation_001_neg.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/ro_props_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/ro_props_001_pos.ksh index d3d041f3395..fc8972f36af 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/ro_props_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/ro_props_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/setup.ksh index 2a909eba4f8..f119e07d0e3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/share_mount_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/share_mount_001_neg.ksh index 3097d931f68..7ac4a5de3f7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/share_mount_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/share_mount_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/snapdir_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/snapdir_001_pos.ksh index a41fa6c251b..dbb964f03e8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/snapdir_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/snapdir_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_001_pos.ksh index b897dffcbd2..1c54d45b571 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_002_pos.ksh index 868abc82f39..897a7717677 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_003_neg.ksh index 80f279cbe99..339c5d409c5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_004_pos.ksh index bcd36777372..2cdde2f5cea 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/version_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/version_001_neg.ksh index 0443b63376f..99054c8fe07 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/version_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/version_001_neg.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_001_neg.ksh index 0701c9ef0f2..01ae46211a0 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_002_neg.ksh index 946f6983b16..39069e9893a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_003_neg.ksh index 5901ba7dc46..8923f2c2389 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_common.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_common.kshlib index 484c7d86227..d53adddb3c1 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_common.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_feature_activation.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_feature_activation.ksh index 760301c1175..7617e55dd8e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_feature_activation.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_feature_activation.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_keylocation.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_keylocation.ksh index 9791339479d..623e3355b36 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_keylocation.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_keylocation.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_nomount.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_nomount.ksh index ebf08711423..458b487c927 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_nomount.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_nomount.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/setup.ksh index 4310985e662..18308628d74 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share.cfg index 4c52ddef529..8a47695f171 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_001_pos.ksh index b8e9407e756..4a5c8d81ff3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_002_pos.ksh index 65cbe3f2a89..fac6ae4831e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_003_pos.ksh index b2cb8f5c470..3bc01aec0bc 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_004_pos.ksh index a00a3ddcc8a..d9b4e7bfece 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh index 85854085f56..7e41fd6a3ff 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_006_pos.ksh index 64d6e951554..084de85a3e4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_007_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_007_neg.ksh index 6a21dd22b93..c9cbb5ce0f2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_008_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_008_neg.ksh index 3ac845510b2..bc391cbf7ea 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_008_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_008_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_009_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_009_neg.ksh index 07aa52afd20..1c7eb02e8b8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_010_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_010_neg.ksh index 946fa36f1ff..4989d2fb92b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_010_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_010_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_011_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_011_pos.ksh index 7bd50e7514a..3311131432c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_011_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_012_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_012_pos.ksh index 70eb5abd02f..5457ab154a7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_013_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_013_pos.ksh index 1aacebbe44d..1eb330f6f94 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_013_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_after_mount.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_after_mount.ksh index 0d4b66ea854..96744c62114 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_after_mount.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_after_mount.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_concurrent_shares.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_concurrent_shares.ksh index d779689f83b..190656f201d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_concurrent_shares.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_concurrent_shares.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/cleanup.ksh index d9f935900f9..8b13bb7d1c2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/setup.ksh index b76d7c5f256..87cbc4cfdbe 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot.cfg index cbad8a57206..f322e35a6ea 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_001_neg.ksh index 2b883e4943e..6c6cc559707 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_002_neg.ksh index 11904554a49..364642a8b04 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_003_neg.ksh index 7b6b01da07c..08dae53d92f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_004_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_004_neg.ksh index 53f3015393e..f932314c2c9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_005_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_005_neg.ksh index c9f9803c673..3af348263bc 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_006_pos.ksh index 785ea865970..85a71310796 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_007_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_007_neg.ksh index 5d1840447fc..7b3e49c690a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_008_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_008_neg.ksh index a2f890f15f3..0167b1fbdfe 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_008_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_008_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_009_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_009_pos.ksh index a81e82ddf54..4a4d1776b0d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/cleanup.ksh index a2ee99c2417..550985baf70 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/setup.ksh index f40ac985e80..7475e82986a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfeature_set_unsupported.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfeature_set_unsupported.ksh index 523b30ff9bf..3fa9b898190 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfeature_set_unsupported.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfeature_set_unsupported.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_get_unsupported.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_get_unsupported.ksh index 1d52498de0d..1b3454ce39b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_get_unsupported.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_get_unsupported.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_set_unsupported.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_set_unsupported.ksh index 5bb46ec973a..e3d89de21ef 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_set_unsupported.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_set_unsupported.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_sysfs_live.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_sysfs_live.ksh index 08a9aeaa9ba..c83593885f4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_sysfs_live.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_sysfs_live.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zpool_get_unsupported.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zpool_get_unsupported.ksh index 3624a7e8de5..d4279f76923 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zpool_get_unsupported.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zpool_get_unsupported.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zpool_set_unsupported.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zpool_set_unsupported.ksh index a2f0c7a2640..9d49cc9f91f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zpool_set_unsupported.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zpool_set_unsupported.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key.ksh index 55cfb5cade0..158b6c1da13 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_all.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_all.ksh index 6d3d37bd618..0f1f4cbf3ed 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_all.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_all.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_recursive.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_recursive.ksh index 01c720c04b5..302bbc7be93 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_recursive.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_recursive.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.cfg index 06d25faf035..e8ab496a6eb 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.kshlib index 929452403b2..23f179d51c1 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_001_pos.ksh index 6395a1b6436..4e67c97db6d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_002_pos.ksh index c5cabbde164..7dce719896b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_003_pos.ksh index e4b292436a2..92cf88164de 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_004_pos.ksh index e139321e04a..ede86c4cbcc 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_005_pos.ksh index 23963ceaa82..98e7eba210d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_006_pos.ksh index aca84ed3985..8dbd3c0f18d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_007_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_007_neg.ksh index 1a8665b86ea..b3b7e438576 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_008_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_008_neg.ksh index 3524efcd076..56850901f36 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_008_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_008_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_009_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_009_pos.ksh index ece19ca1bbd..568402e338e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_all_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_all_001_pos.ksh index f98d48ad92d..e6847aff65c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_all_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_all_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_nested.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_nested.ksh index 7da8be3d17e..56c008a5c80 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_nested.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_nested.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_unload_keys.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_unload_keys.ksh index d296118e192..b9b3fa8eef3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_unload_keys.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_unload_keys.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_001_pos.ksh index 4f0ef6bd389..ebdd14e3469 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_002_pos.ksh index e5f786e0ae2..7d50f27a08e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_003_pos.ksh index 6d081ab6ee8..afe252c3ca3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_004_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_004_neg.ksh index bae5e335158..cbdcd494c7b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_005_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_005_neg.ksh index 0404e0d6ede..5e4e0f2f803 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_006_pos.ksh index ab8bfa3791b..eb46d2e4a31 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_007_pos.ksh index 0fc5bbaf3f6..f08839597d1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_008_pos.ksh index 1ade9c92691..048ddff232e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/cleanup.ksh index 6b9dbd6b6df..5df5bba8720 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh index ab5ca7b27e6..00a80be8a37 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade.kshlib index 948123e8115..66dbc35bcbc 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_001_pos.ksh index 7f5f65978eb..bde65e22c96 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_002_pos.ksh index ea5baf8e548..20b72663932 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_003_pos.ksh index e2a85ada96a..09985acac5d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_004_pos.ksh index 5367503f270..9141c919719 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_005_pos.ksh index ab200674b09..3fc533cc65d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_006_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_006_neg.ksh index 9c4eab3ff79..5d8e50b87a6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_006_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_006_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_007_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_007_neg.ksh index a7d366e650e..62289957811 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_wait/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_wait/cleanup.ksh index 456d2d0c2dd..3c0d6ce024b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_wait/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_wait/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_wait/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_wait/setup.ksh index cca05fee722..d346a7d0b0d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_wait/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_wait/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait.kshlib index 9f62a7c92e6..469a34a4290 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait.kshlib @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait_deleteq.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait_deleteq.ksh index 00c5a109c0b..db1c9e25b36 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait_deleteq.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait_deleteq.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zhack/library.kshlib b/tests/zfs-tests/tests/functional/cli_root/zhack/library.kshlib index 880a7886163..0f5f6198daf 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zhack/library.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zhack/library.kshlib @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_001.ksh b/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_001.ksh index 2a511e9efcb..ce159b555d2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_001.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_001.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_002.ksh b/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_002.ksh index 4f1e61a3985..e8aa1fd848c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_002.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_002.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_003.ksh b/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_003.ksh index 7e82363d2f4..615d917fb9c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_003.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_003.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_004.ksh b/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_004.ksh index 0b739402b19..3bc9cea5827 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_004.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_repair_004.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_args.ksh b/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_args.ksh index dd9ef9ddd22..19351dc8f2d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_args.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_args.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_counts.ksh b/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_counts.ksh index 19b223aba46..2d569bba996 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_counts.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_counts.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_probe.ksh b/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_probe.ksh index 22537a54db7..0d4d498e681 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_probe.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zinject/zinject_probe.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool/setup.ksh index 200e914f3f5..8085fe3d2b8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_001_neg.ksh index de4ca0c4ea2..5e087f2bf22 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_002_pos.ksh index bd564cc6d8c..97d99f46ba4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_003_pos.ksh index 215af618842..7f01cba5e90 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_colors.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_colors.ksh index b131bc708db..f43339f6dfe 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_colors.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool/zpool_colors.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh index 51871934dd2..1acc318a3eb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/add_nested_replacing_spare.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/add_nested_replacing_spare.ksh index e86de0deae6..1db2c7e8c94 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/add_nested_replacing_spare.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/add_nested_replacing_spare.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/add_prop_ashift.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/add_prop_ashift.ksh index 6a3283d0618..d8aba16eab6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/add_prop_ashift.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/add_prop_ashift.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/cleanup.ksh index f3691e9207a..3c16a6f97f4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/setup.ksh index ef19ba99867..e5ba1b8e3aa 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.cfg index 1831e6563e8..95710026205 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.kshlib b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.kshlib index cc850e3e451..091d65bb4f3 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_001_pos.ksh index 9ef96f55474..82d19e850f2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_002_pos.ksh index afee34a3346..a563e017a10 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_003_pos.ksh index 62eddff7f6b..0200f57b59e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_004_pos.ksh index cecda56ab12..0dbc3dec077 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_005_pos.ksh index 0e9d9f5f030..49c24bac167 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_006_pos.ksh index 836d6d21c74..6938211d305 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_007_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_007_neg.ksh index a7df42fc788..3b949191d05 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_008_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_008_neg.ksh index c43f90792a9..931a340a9aa 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_008_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_008_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_009_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_009_neg.ksh index a13a27160e7..2e1590faf8f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_010_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_010_pos.ksh index 22860e9caf1..df085a2ec74 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_dryrun_output.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_dryrun_output.ksh index 3b06e8c35c7..f3c208e88f4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_dryrun_output.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_dryrun_output.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh index 574cb7654d1..4339d041108 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_attach/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_attach/cleanup.ksh index 3167a5097b5..9a9e017e450 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_attach/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_attach/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_attach/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_attach/setup.ksh index 23dc57ed367..e9abf41d2df 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_attach/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_attach/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_attach/zpool_attach_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_attach/zpool_attach_001_neg.ksh index 50993a52a5e..06e22670e14 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_attach/zpool_attach_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_attach/zpool_attach_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear.cfg index 4b4b05c8993..6193a9b6ea2 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_001_pos.ksh index b1a295cd233..fcda6c945a2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_002_neg.ksh index e8ba4e66420..dd4fbe7a220 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_003_neg.ksh index 46c07bf5607..433a1ddaa46 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_readonly.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_readonly.ksh index e3d089d0469..eff93a4817b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_readonly.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_readonly.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/cleanup.ksh index 2bce044319c..f504d15fc0c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/create-o_ashift.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/create-o_ashift.ksh index f6f46cb98e9..928c2ac80bf 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/create-o_ashift.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/create-o_ashift.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/setup.ksh index f9e3add1ed6..3d0099376db 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.cfg index 3f22136e746..8f88771e9c7 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.shlib b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.shlib index 765be8ac0dd..ecab30ed392 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.shlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_001_pos.ksh index f24a9c70562..ad30c0fc87f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_002_pos.ksh index 21df8eb2b1f..8de35454fe8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_003_pos.ksh index ae81828b3e8..5d87385bc51 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_004_pos.ksh index 9e73c29b3b0..a03b4310162 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_005_pos.ksh index 26c0119242a..f0c2e69a0c0 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_006_pos.ksh index 37790c03fee..adc47c48de2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_007_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_007_neg.ksh index ad0a282f731..2e377bc3b52 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_008_pos.ksh index f33fb8a2281..76ed0a6c20e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_009_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_009_neg.ksh index bb74c9cdda5..7656f5bb4fd 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_010_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_010_neg.ksh index 4bb9a6d8bb4..6d43227481b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_010_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_010_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_011_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_011_neg.ksh index 1dcbaff19ec..821f00ee5b9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_011_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_011_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_012_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_012_neg.ksh index e3ed3f85095..8234c905ea4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_012_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_012_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_014_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_014_neg.ksh index df14bde6b17..7bd935cb849 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_014_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_014_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_015_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_015_neg.ksh index 6e02b585a91..384ecd557ce 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_015_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_015_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_016_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_016_pos.ksh index eee869820f5..c0d384cff36 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_016_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_016_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_017_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_017_neg.ksh index 3892fbad165..15ccc495f5b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_017_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_017_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_018_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_018_pos.ksh index 6da1709071b..451284964d9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_018_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_018_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_019_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_019_pos.ksh index deddb8ba58a..5fa60924178 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_019_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_019_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_020_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_020_pos.ksh index 5711d9f2686..d60bf7de4df 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_020_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_020_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_021_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_021_pos.ksh index 00e34789720..80fe34d3fe9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_021_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_021_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_022_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_022_pos.ksh index 0e9da881261..deeaf18f411 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_022_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_022_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_023_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_023_neg.ksh index d2ae03eee68..7edc84747c5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_023_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_023_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh index a09ae6abc97..3bc1ed604a4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_crypt_combos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_crypt_combos.ksh index 63391e8adb4..27922f84424 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_crypt_combos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_crypt_combos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_001_pos.ksh index 9e3e22db7ca..d7aa6843ac8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_002_pos.ksh index acc3c06bacb..d22c5a4b2a1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_003_pos.ksh index 8058691fcb1..73e96535e0b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_004_pos.ksh index dbcb6e5ce73..f262a02c1f3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_dryrun_output.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_dryrun_output.ksh index 0671ea618e0..2bd836bcbc4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_dryrun_output.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_dryrun_output.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_encrypted.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_encrypted.ksh index e521d8f1cff..28ac5cbf19c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_001_pos.ksh index 38a7ec06076..f96d291ccb1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_002_pos.ksh index db79b31a91c..12adcd2146f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_003_pos.ksh index 032878dcb12..2e274bc06d1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_004_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_004_neg.ksh index 3dfaf22c15a..43a97c1f8e2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_005_pos.ksh index e10d2936cd3..7366a46f9c8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_006_pos.ksh index 292346ad96d..43ae07fbdd6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_007_pos.ksh index c7c133a219c..0b2bd382aa3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_008_pos.ksh index 99db3d31a08..abac2e92344 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_009_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_009_pos.ksh index cd311149646..3de750cc464 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_tempname.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_tempname.ksh index a75bdecff47..fa0e913f8ad 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_tempname.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_tempname.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy.cfg index c67212ce14a..46182129a85 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_001_pos.ksh index e5248a1bad9..9ab0a49fedd 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_002_pos.ksh index 258c6475479..40adf3f7efb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_003_neg.ksh index 12718eb8d98..97f9db64f2b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_detach/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_detach/cleanup.ksh index 3167a5097b5..9a9e017e450 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_detach/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_detach/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_detach/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_detach/setup.ksh index 23dc57ed367..e9abf41d2df 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_detach/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_detach/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_detach/zpool_detach_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_detach/zpool_detach_001_neg.ksh index 5d1523fa0f9..740cfda3db6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_detach/zpool_detach_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_detach/zpool_detach_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_events/cleanup.ksh index 1adac153d74..c2460ed9eaa 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_events/setup.ksh index e37841addf8..81146824b32 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.cfg index 6018f9d2fd9..557e5f5a1f2 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib index b92ffb13a85..468183e53f6 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear.ksh index 1df8ff44162..1a83e9d5c32 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear_retained.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear_retained.ksh index 0eda2de1f6c..126f88b2965 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear_retained.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear_retained.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_cliargs.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_cliargs.ksh index 27e2cf0ba47..78afd1cd0a1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_cliargs.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_cliargs.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_duplicates.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_duplicates.ksh index 5bc369480d9..6931a60f2c0 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_duplicates.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_duplicates.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_errors.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_errors.ksh index 2e98cdfc6f4..62c9ad2ee1d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_errors.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_errors.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_follow.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_follow.ksh index 3311eb54667..4f9f75324bb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_follow.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_follow.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_poolname.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_poolname.ksh index 0e3829fcc8d..89bc47db6e2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_poolname.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_poolname.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/cleanup.ksh index 2b21521f867..e289a50bbe7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/setup.ksh index ff052d23f65..741c7e24559 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand.cfg index 0a9c1954f12..ed38f782ef8 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_001_pos.ksh index c58e933f11b..1d25d7e764f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_002_pos.ksh index 34357ca070b..cece33393d2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_002_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_003_neg.ksh index 68b17592e2f..2dcfac0939e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_003_neg.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_004_pos.ksh index e50c1f8b160..63ccac25f86 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_004_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_005_pos.ksh index 5e8f1d7053e..530661a686a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_005_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_export/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_export/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_export/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_export/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_export/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_export/setup.ksh index 57bbf32711e..f7546d6728b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_export/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_export/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.cfg index 0cedb61c25d..2123dce5786 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.kshlib b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.kshlib index 54f805ea71a..c574c34aff0 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_001_pos.ksh index f084ac02399..a873eef96b8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_002_pos.ksh index 8bdaddc43da..5f5376a0911 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_003_neg.ksh index ec4eae3d568..1c00b503695 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_004_pos.ksh index 4b4038bb8bf..7cf067f3503 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_parallel_admin.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_parallel_admin.ksh index cab8fc2b423..0bddfd08032 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_parallel_admin.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_parallel_admin.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_parallel_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_parallel_pos.ksh index 037d17d082b..02468304d57 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_parallel_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_parallel_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_get/cleanup.ksh index dde462e66cf..2f1d4e1e330 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_get/setup.ksh index 03d149cd967..4d14f5e44f7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/vdev_get.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_get/vdev_get.cfg index 6cfa7eaf751..ccb5e9c1580 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/vdev_get.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/vdev_get.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/vdev_get_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_get/vdev_get_001_pos.ksh index bca2337861d..246e178bf81 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/vdev_get_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/vdev_get_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get.cfg index e5a8b9026e0..cf5e0961f9f 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_001_pos.ksh index 49017fb5eef..e0c954e34f1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_002_pos.ksh index fef573c8dd7..06ef600e57d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_003_pos.ksh index 2a4c98b61c6..a7e8ba8ebff 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_004_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_004_neg.ksh index 873f58ee7f3..c543110b37e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_005_pos.ksh index e00690fd94a..f0b7a045045 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_parsable.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_parsable.cfg index 22778b41177..f7cd3cfec8e 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_parsable.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_parsable.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_history/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_history/cleanup.ksh index 7bb00caed5a..2d851653cb2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_history/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_history/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_history/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_history/setup.ksh index 06829b1da5a..0d9edd4a56f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_history/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_history/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_001_neg.ksh index 05210847907..60bb7e5069e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_002_pos.ksh index 5796c60a377..3da07cb1fc4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/cleanup.ksh index a1f0284c97e..610d8137905 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_added.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_added.ksh index 3238faaa9a5..9dbdd146b75 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_added.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_added.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_removed.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_removed.ksh index 3fe3861236d..b707189beaa 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_removed.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_removed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_replaced.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_replaced.ksh index 8a81c18cd8c..862630dbf1c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_replaced.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_replaced.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_attached.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_attached.ksh index b90e24c2cdc..ea4332e582c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_attached.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_attached.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_detached.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_detached.ksh index ba695418f83..98dd4138ca2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_detached.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_detached.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_paths_changed.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_paths_changed.ksh index 0902bc49f4b..a36f7975dac 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_paths_changed.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_paths_changed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_shared_device.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_shared_device.ksh index 5d0bcfc222d..466e1602f07 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_shared_device.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_shared_device.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_devices_missing.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_devices_missing.ksh index e63b82be84b..350142a6fa3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_devices_missing.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_devices_missing.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_log_missing.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_log_missing.ksh index f12cac78540..fa1fc688887 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_log_missing.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_log_missing.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_paths_changed.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_paths_changed.ksh index 15f3a0a7b40..04b5c6844a1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_paths_changed.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_paths_changed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_config_changed.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_config_changed.ksh index ee0403135df..551c841d792 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_config_changed.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_config_changed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_device_replaced.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_device_replaced.ksh index 6fdb9b26f26..e3e7e58e3f8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_device_replaced.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_device_replaced.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/setup.ksh index 47f85fc493c..12621356c5c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.cfg index df951be0864..4fd2b78b5f1 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.kshlib b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.kshlib index 7f9eb43e79b..7194da87835 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_001_pos.ksh index 4d061eff21f..3c761ee58eb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_002_pos.ksh index d677f8fb491..64b03f66cb9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_003_pos.ksh index 56914dd4a0f..e84e8025adb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_004_pos.ksh index 494542d59a9..e911d694f42 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_005_pos.ksh index b8805cd5803..41a686f7305 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_006_pos.ksh index d648b3262d8..c40e5629c86 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_007_pos.ksh index d7967eb5ef3..3570984b21b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_008_pos.ksh index 9489ce1460a..5ce582e4f09 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_009_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_009_neg.ksh index be18907f6c1..999a628c6cf 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_010_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_010_pos.ksh index 107f0d88282..ce1c103cd3c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_011_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_011_neg.ksh index 19d4f56709d..e74d1edbeb5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_011_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_011_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_012_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_012_pos.ksh index bf499808eb3..20c1ed356a1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_013_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_013_neg.ksh index 956f851c536..1c5681fc74d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_013_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_013_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_014_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_014_pos.ksh index 6e5e0651545..d16ced34125 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_014_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_014_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_015_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_015_pos.ksh index c984b9bf045..ef7d278ff72 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_015_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_015_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_016_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_016_pos.ksh index 7c1dd10c5c0..0abbeca9545 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_016_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_016_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_017_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_017_pos.ksh index b8547852d01..ae46964e0c6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_017_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_017_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_all_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_all_001_pos.ksh index c16a37620a0..8a32a014aea 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_all_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_all_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted.ksh index 4e9013afeb1..1719a16368b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted_load.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted_load.ksh index d060e8a798e..361e99b3d87 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted_load.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted_load.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata3.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata3.ksh index c5e578d79ed..d5317225381 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata3.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata3.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata4.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata4.ksh index e450d9a6222..8d9b6a3ad55 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata4.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata4.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_001_pos.ksh index 7c31229afcd..7df254442b5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_002_neg.ksh index be4d4159621..663669e4165 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_003_pos.ksh index 31828a47a8c..7d67f822218 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed.ksh index bc82b7cc1ee..70ce6139eda 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_cachefile.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_cachefile.ksh index 07c43482d68..679326e871d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_cachefile.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_cachefile.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_cachefile_unclean_export.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_cachefile_unclean_export.ksh index c4273d05042..9a8e5231812 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_cachefile_unclean_export.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_cachefile_unclean_export.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_unclean_export.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_unclean_export.ksh index abbe9acff62..6178ad6c366 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_unclean_export.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_hostid_changed_unclean_export.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_001_pos.ksh index 488024cfd0e..1d015b54776 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_002_pos.ksh index 7f0cf79a4ad..599ebe50203 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_003_pos.ksh index 964b38f9e86..9e03dd91f93 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_admin.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_admin.ksh index c681d1b7dd2..da6f1bb0f94 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_admin.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_admin.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_neg.ksh index 339dc2575ed..985ed7a9ef1 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_pos.ksh index 57a7412e37c..60088e6dd97 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_rename_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_rename_001_pos.ksh index ec794782375..c91259beb6e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_rename_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_rename_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_status.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_status.ksh index 679362bbef5..525c164ac9f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_status.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_status.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/cleanup.ksh index 92005b4efd7..a3beee13595 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize.kshlib b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize.kshlib index 8b0727483cf..b02de837211 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_attach_detach_add_remove.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_attach_detach_add_remove.ksh index 56733758c63..d7f05642bcf 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_attach_detach_add_remove.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_attach_detach_add_remove.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_fault_export_import_online.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_fault_export_import_online.ksh index 11b8a483e66..26c369be5be 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_fault_export_import_online.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_fault_export_import_online.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_import_export.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_import_export.ksh index c29c4b07e52..341f4f75cf7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_import_export.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_import_export.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_offline_export_import_online.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_offline_export_import_online.ksh index feca7f9af72..89eace60157 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_offline_export_import_online.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_offline_export_import_online.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_online_offline.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_online_offline.ksh index 79f47f0f8ba..10721c1f6cb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_online_offline.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_online_offline.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_split.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_split.ksh index e5d528d6cef..dd8bbb28394 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_split.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_split.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_neg.ksh index 7de3f20223f..79bf0b6a2d0 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_pos.ksh index facbd0efda5..f872246a066 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_suspend_resume.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_suspend_resume.ksh index 2f030c78a01..79573daa20f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_suspend_resume.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_suspend_resume.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_uninit.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_uninit.ksh index 17f776cfbc2..6c75146af6b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_uninit.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_uninit.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_unsupported_vdevs.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_unsupported_vdevs.ksh index 3055478841f..86e71f78159 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_unsupported_vdevs.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_unsupported_vdevs.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_checksums.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_checksums.ksh index 794d61c4e13..a8d06d46485 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_checksums.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_checksums.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_initialized.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_initialized.ksh index dc44727d875..92e6164d637 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_initialized.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_initialized.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/labelclear.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/labelclear.cfg index b2a10aa28a4..e8ca64f5351 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/labelclear.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/labelclear.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_active.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_active.ksh index b63d55d7ad6..92cdf2b8737 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_active.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_active.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_exported.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_exported.ksh index 72a555bebe0..96783ccd6da 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_exported.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_exported.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_removed.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_removed.ksh index bd8917b3cd6..39b293edf7f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_removed.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_removed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_valid.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_valid.ksh index 31af9fd3f80..680f64c2993 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_valid.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_valid.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_offline/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_offline/cleanup.ksh index 3167a5097b5..9a9e017e450 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_offline/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_offline/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_offline/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_offline/setup.ksh index 23dc57ed367..e9abf41d2df 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_offline/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_offline/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_001_pos.ksh index 23bb47545e8..fc761a54095 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_002_neg.ksh index be31eb69c4f..301d8437ee3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_003_pos.ksh index a881c7622de..e53ca89592d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_online/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_online/cleanup.ksh index 3167a5097b5..9a9e017e450 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_online/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_online/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_online/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_online/setup.ksh index 23dc57ed367..e9abf41d2df 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_online/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_online/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_001_pos.ksh index 8cf64dfab71..f1b06a61aba 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_002_neg.ksh index a0e7f21072f..f4f684b9586 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/cleanup.ksh index 79cd6e9f908..7a8942bd8b6 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/setup.ksh index 6a9af3bc28c..a00348e4c9b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/zpool_prefetch_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/zpool_prefetch_001_pos.ksh index 9e76b524c64..8ef3a66ad0d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/zpool_prefetch_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_prefetch/zpool_prefetch_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/cleanup.ksh index 3167a5097b5..9a9e017e450 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/setup.ksh index 3d866cfd9f2..893b4ee765b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/zpool_reguid_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/zpool_reguid_001_pos.ksh index 3fea6c3bb0f..0931fcb764e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/zpool_reguid_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/zpool_reguid_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/zpool_reguid_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/zpool_reguid_002_neg.ksh index 4de0a05915d..9429a6dd439 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/zpool_reguid_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/zpool_reguid_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/cleanup.ksh index af286ff9047..21e9978b865 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/setup.ksh index 405f6fa1da8..9548d8516c8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove.cfg index 8baaeb0b329..d66effe1e7a 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_001_neg.ksh index e87336ed00b..5664fc674d9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_002_pos.ksh index ddaed845e0d..c650b3391fb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_003_pos.ksh index dc1745bf130..84b78b7f26f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/cleanup.ksh index 25fced1ec17..1da3b42a10e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/setup.ksh index 59b8764ced8..c0040281ca7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg index 35beb568cb4..4c61092bbde 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib index 9b3bc143227..d1f8c8b1b4c 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_001_pos.ksh index 5a1b94db3dc..7e77cf0ecfb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_002_pos.ksh index 95f6f7dcbba..14e29cbd91e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_003_pos.ksh index 3b9851d0d07..613210acbdc 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_004_pos.ksh index 3180eddc094..2bd9f616170 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_005_pos.ksh index 095f3bc05e6..466281ec4d7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_006_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_006_neg.ksh index 6533bde68fb..56250f11f99 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_006_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_006_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_007_pos.ksh index 4ba56af85d3..8f03d1093cc 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_replace/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_replace/cleanup.ksh index 3167a5097b5..9a9e017e450 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_replace/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_replace/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_replace/replace-o_ashift.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_replace/replace-o_ashift.ksh index 9595e51241b..9b7ee155553 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_replace/replace-o_ashift.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_replace/replace-o_ashift.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_replace/replace_prop_ashift.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_replace/replace_prop_ashift.ksh index b4ac18e5ea2..c899dc4c4e5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_replace/replace_prop_ashift.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_replace/replace_prop_ashift.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_replace/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_replace/setup.ksh index 23dc57ed367..e9abf41d2df 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_replace/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_replace/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_replace/zpool_replace_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_replace/zpool_replace_001_neg.ksh index 6049c1a3697..e6499b562b5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_replace/zpool_replace_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_replace/zpool_replace_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/cleanup.ksh index 066eb36b6f3..1c4be04b68e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/setup.ksh index 02ab31958a1..38326dbbd0b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver.cfg index 16984432ee2..d144e9ca3f7 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_bad_args.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_bad_args.ksh index 3f4115aff08..70f0634b8ad 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_bad_args.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_bad_args.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_concurrent.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_concurrent.ksh index 4c3b0979686..a74cd3ac4f8 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_concurrent.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_concurrent.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_restart.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_restart.ksh index 8b5b5975774..14ed595e68e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_restart.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_restart.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/cleanup.ksh index c725664380f..06214ef7fb9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/setup.ksh index a0652219ae7..0f629438bc9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_001_pos.ksh index e414cd1beaa..8453c4a8ead 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_002_pos.ksh index daa11c3949c..5142a6bf0fc 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_003_pos.ksh index d0066fdbb4a..8e3358dde28 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_004_pos.ksh index c88b9b0c8d3..41c21a94641 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_error_scrub_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub.cfg index d95c1decd5d..045b49f6270 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_001_neg.ksh index 0368c580999..43156805347 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_002_pos.ksh index e11825f9158..54acb0b25b9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_003_pos.ksh index 1e1412ee0da..655489bea1b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_004_pos.ksh index 846473be973..ea2335ad35a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_005_pos.ksh index 62d52948650..d19d66a23f5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_encrypted_unloaded.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_encrypted_unloaded.ksh index b1f7c6264b0..8ce59b317ac 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_encrypted_unloaded.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_encrypted_unloaded.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_multiple_copies.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_multiple_copies.ksh index 1abef573883..22e2670055b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_multiple_copies.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_multiple_copies.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_offline_device.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_offline_device.ksh index 815f2617913..eca604b97bd 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_offline_device.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_offline_device.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_print_repairing.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_print_repairing.ksh index be06d6147af..eb6bb87eb73 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_print_repairing.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_print_repairing.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_txg_continue_from_last.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_txg_continue_from_last.ksh index b28a8d2cf72..a988f7cb5e0 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_txg_continue_from_last.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_txg_continue_from_last.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_set/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_set/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/user_property_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_set/user_property_001_pos.ksh index 55518ae9deb..ecc81dfce9d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/user_property_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/user_property_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/user_property_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_set/user_property_002_neg.ksh index 5783eb3a0d3..a1fe3b14f09 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/user_property_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/user_property_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/vdev_set_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_set/vdev_set_001_pos.ksh index a1f3efb9057..2e5fddf0ecc 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/vdev_set_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/vdev_set_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_001_pos.ksh index 3eb1411c8c8..c3686aa10ff 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_002_neg.ksh index ab592d433a8..a86f1f164ec 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_003_neg.ksh index 7e93c872535..4abb856302c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_ashift.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_ashift.ksh index 41fef8f7cdb..75f7db14201 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_ashift.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_ashift.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_clear_userprop.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_clear_userprop.ksh index d9395ea8a15..4bd12747202 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_clear_userprop.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_clear_userprop.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_common.kshlib b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_common.kshlib index e095d315c2b..615411a5e00 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_common.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_features.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_features.ksh index f496a0e429d..b156839194f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_features.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_features.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_split/cleanup.ksh index e78deacd5bb..e8bb5cf880e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_split/setup.ksh index 4497dbd7463..d5c89e387a5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split.cfg index a441a7dff0d..de2c0601d01 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_cliargs.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_cliargs.ksh index ae9ad1354b0..c6d8c7ce063 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_cliargs.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_cliargs.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_devices.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_devices.ksh index 83b12ab784c..fead8e986ab 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_devices.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_devices.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_dryrun_output.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_dryrun_output.ksh index def1d154387..05addd2823a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_dryrun_output.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_dryrun_output.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_encryption.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_encryption.ksh index 76846698342..2c7a520e2d7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_encryption.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_encryption.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_indirect.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_indirect.ksh index e6e5d245793..6dd72a7f268 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_indirect.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_indirect.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_props.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_props.ksh index 39ae1c9d56f..20f52f80a60 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_props.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_props.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_resilver.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_resilver.ksh index b50963bbe2a..af22aa3e748 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_resilver.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_resilver.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_vdevs.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_vdevs.ksh index fff98cf83e8..cc9ac872d7c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_vdevs.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_vdevs.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_wholedisk.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_wholedisk.ksh index 0725b77a3db..2d6479143a5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_wholedisk.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_wholedisk.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_001_pos.ksh index 076a08802fb..e658b20291d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_002_pos.ksh index d6f32cdc7ac..b5701cbdce5 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_003_pos.ksh index 52b22dd833f..44226ec9799 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_004_pos.ksh index 111d598dfb7..fc8ce136ec9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_005_pos.ksh index ec4c67fb42f..ab47dfb5ecf 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_006_pos.ksh index d6f4a4fe2d8..42c52f8e5ac 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_007_pos.ksh index 666ac9bfc9d..bc4f7addbcc 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_008_pos.ksh index 7c44e800c16..8405aef3fe2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_features_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_features_001_pos.ksh index f5c68aca53e..31f7427a3b4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_features_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_features_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_sync/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_sync/cleanup.ksh index 3167a5097b5..9a9e017e450 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_sync/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_sync/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_sync/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_sync/setup.ksh index 3d866cfd9f2..893b4ee765b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_sync/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_sync/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_001_pos.ksh index e72ca2157f1..eec4afac60b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_002_neg.ksh index e35a29130cc..2b8806d7050 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/cleanup.ksh index 8ba8166333e..d762fcfee95 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/setup.ksh index 09489600b3d..7be2a316a87 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim.kshlib b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim.kshlib index e8d43cc8c74..83a56a02627 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_attach_detach_add_remove.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_attach_detach_add_remove.ksh index e715de9644b..9be5329f7e7 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_attach_detach_add_remove.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_attach_detach_add_remove.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_fault_export_import_online.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_fault_export_import_online.ksh index 6bb9fc346da..f9fbd673dba 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_fault_export_import_online.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_fault_export_import_online.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_import_export.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_import_export.ksh index a624d368c3c..2360b6fd19c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_import_export.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_import_export.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_multiple.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_multiple.ksh index e8236ff8313..0f4cde03c35 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_multiple.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_multiple.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_neg.ksh index 4ab2eb1a71b..169b181d1ee 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_offline_export_import_online.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_offline_export_import_online.ksh index 4f904d11ddd..3f93be4963e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_offline_export_import_online.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_offline_export_import_online.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_online_offline.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_online_offline.ksh index afc9a2ed19b..9e130d87e6e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_online_offline.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_online_offline.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_partial.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_partial.ksh index 9342cbe880a..6cf22fee18b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_partial.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_partial.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate.ksh index 6b83a1eede8..404e743546b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate_neg.ksh index 11bd4307627..86525532d90 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_secure.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_secure.ksh index e97d09f515b..dd6959ba133 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_secure.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_secure.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_split.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_split.ksh index 450dc6fd80f..1f71f84e85d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_split.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_split.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_neg.ksh index 68e99090077..fafe57355e2 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_pos.ksh index a60e12e1481..1ee21c0bfef 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_suspend_resume.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_suspend_resume.ksh index 553d911e124..c99f605a17f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_suspend_resume.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_suspend_resume.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_unsupported_vdevs.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_unsupported_vdevs.ksh index 988745e30e9..2e2b77f79b3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_unsupported_vdevs.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_unsupported_vdevs.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_checksums.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_checksums.ksh index a12acce44a4..2e40d20e13c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_checksums.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_checksums.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_trimmed.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_trimmed.ksh index 41d1decd13c..9c1fcf42ff4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_trimmed.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_trimmed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/cleanup.ksh index 3b6f28dd797..0d7282d1046 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh index 94301e865bc..991d05f2363 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.cfg index 977aca62127..70edc02ad16 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.kshlib b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.kshlib index 0889946e8f2..d27eef6c306 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_001_pos.ksh index bd44db9eb6b..ad4cb97dcfb 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_002_pos.ksh index 8e5f3dd3a9b..1cd2bd6418a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_003_pos.ksh index 559fdf2b098..bcbb5c2180a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_004_pos.ksh index bbadfc1f1d1..8420aa6c6b3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_005_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_005_neg.ksh index 46c93119561..a5628d7b47e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_006_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_006_neg.ksh index c8280086e2e..8c68f636772 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_006_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_006_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_007_pos.ksh index 018d9c1739f..e0cd1d29ede 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_008_pos.ksh index aae7120bd69..b85d9cec14d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_009_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_009_neg.ksh index f32eac17bce..ef59f41a8bf 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_features_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_features_001_pos.ksh index 448de3e4041..1befc3f8c6b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_features_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_features_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/cleanup.ksh index 456d2d0c2dd..3c0d6ce024b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/cleanup.ksh index 456d2d0c2dd..3c0d6ce024b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/setup.ksh index 8a6a1a25b1e..8ce078649bc 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_rebuild.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_rebuild.ksh index 8cd5864597a..e8440a1e74f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_rebuild.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_rebuild.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace.ksh index 06df7b51cff..29c4864318e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace_cancel.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace_cancel.ksh index f50b2d8e9a7..c601927841d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace_cancel.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace_cancel.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_resilver.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_resilver.ksh index a938901f762..557642e7042 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_resilver.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_resilver.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_basic.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_basic.ksh index d4bb1708170..8165c56cc08 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_basic.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_basic.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_cancel.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_cancel.ksh index 7adb3b2b82f..1a0a625a56b 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_cancel.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_cancel.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_flag.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_flag.ksh index aac62cf460d..27f79bc475a 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_flag.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_flag.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/setup.ksh index 5a9af18464a..01bd122a279 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait.kshlib b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait.kshlib index ccb97914968..5995ecb5be1 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait.kshlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait.kshlib @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_discard.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_discard.ksh index 8d5747e0904..52fe892dd71 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_discard.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_discard.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_freeing.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_freeing.ksh index 73ec6a27bcc..fd0227bcae4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_freeing.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_freeing.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_basic.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_basic.ksh index 924ae5f0d86..9e0a282d26f 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_basic.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_basic.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_cancel.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_cancel.ksh index 8b19ee62aad..0ef6c24bd11 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_cancel.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_cancel.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_flag.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_flag.ksh index 8c8c45a51ee..3fed4dbcd9c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_flag.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_flag.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_multiple.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_multiple.ksh index a8107b94eb3..477a9b5a915 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_multiple.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_multiple.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_no_activity.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_no_activity.ksh index f4819f37adb..01f5d003156 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_no_activity.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_no_activity.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove.ksh index 19298d193cd..c01ec2555b9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove_cancel.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove_cancel.ksh index 4373b577797..ed742975def 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove_cancel.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove_cancel.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_basic.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_basic.ksh index f047050ea0d..504eec11d70 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_basic.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_basic.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_cancel.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_cancel.ksh index 26e1aa68e64..b94e7a50ce9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_cancel.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_cancel.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_flag.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_flag.ksh index effccc1c340..a6b7cabb1c4 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_flag.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_flag.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_usage.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_usage.ksh index 05cbfce5741..de5d15bf406 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_usage.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_usage.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/arc_summary_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/arc_summary_001_pos.ksh index 853d40e0355..0840878fdb0 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/arc_summary_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/arc_summary_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/arc_summary_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/arc_summary_002_neg.ksh index 1edc9fa8204..ec4abe35409 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/arc_summary_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/arc_summary_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/arcstat_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/arcstat_001_pos.ksh index d48aae19c74..700bd9a6f52 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/arcstat_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/arcstat_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/cleanup.ksh index bbc2565f3b3..a3c3fa6fc14 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/misc.cfg b/tests/zfs-tests/tests/functional/cli_user/misc/misc.cfg index 9c76a8780b4..f2e8472208d 100644 --- a/tests/zfs-tests/tests/functional/cli_user/misc/misc.cfg +++ b/tests/zfs-tests/tests/functional/cli_user/misc/misc.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/setup.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/setup.ksh index 9e49c7188ce..c85a6390f53 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zdb_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zdb_001_neg.ksh index ee889dfc268..65612eb43d4 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zdb_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zdb_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_001_neg.ksh index a70dc47fcc9..2ad38417101 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_allow_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_allow_001_neg.ksh index 74dc1956105..96a0cf43ebd 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_allow_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_allow_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_clone_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_clone_001_neg.ksh index 4cb615b07cd..c9d9d5b0ffe 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_clone_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_clone_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_create_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_create_001_neg.ksh index c77641ad8d7..5829aaa9044 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_create_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_create_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_destroy_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_destroy_001_neg.ksh index c1bdf6a83ce..1ad3d2b6700 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_destroy_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_destroy_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_get_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_get_001_neg.ksh index 352dcae6301..978a25181de 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_get_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_get_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_inherit_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_inherit_001_neg.ksh index c52c7bbfd17..30495896808 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_inherit_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_inherit_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_mount_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_mount_001_neg.ksh index b5779ec8b56..f218ee21a40 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_mount_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_mount_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_promote_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_promote_001_neg.ksh index 64cbbd57cc5..a1bf844777c 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_promote_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_promote_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_receive_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_receive_001_neg.ksh index 3eec6306a60..105780014c8 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_receive_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_receive_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_rename_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_rename_001_neg.ksh index a7c0d78e4a8..5d87b67725c 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_rename_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_rename_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_rollback_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_rollback_001_neg.ksh index bda0702c758..472f4c7b3ba 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_rollback_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_rollback_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_send_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_send_001_neg.ksh index 9bdcd519716..3748f794890 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_send_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_send_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_set_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_set_001_neg.ksh index 1ec19841570..727e0891587 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_set_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_set_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_share_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_share_001_neg.ksh index 4ef9ac28af5..ca029a9a14e 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_share_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_share_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_snapshot_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_snapshot_001_neg.ksh index 8c770ae4cc2..9c3ffcdd22a 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_snapshot_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_snapshot_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unallow_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unallow_001_neg.ksh index e382141393c..fd230a2d166 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unallow_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unallow_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unmount_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unmount_001_neg.ksh index d421643314c..14ee4576123 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unmount_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unmount_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unshare_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unshare_001_neg.ksh index f6f5b13556c..664eff296c7 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unshare_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_unshare_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_upgrade_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_upgrade_001_neg.ksh index d0390729350..6eaafef0d3a 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zfs_upgrade_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zfs_upgrade_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zilstat_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zilstat_001_pos.ksh index 9deee67a56c..2ac33d11a75 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zilstat_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zilstat_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_001_neg.ksh index 13c4ad0f136..dfad671f03f 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_add_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_add_001_neg.ksh index b68a3eae992..7a1c74446b2 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_add_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_add_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_attach_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_attach_001_neg.ksh index 959f2aea991..d6c46dcc327 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_attach_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_attach_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_clear_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_clear_001_neg.ksh index f73169ac5b7..abb5234aa30 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_clear_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_clear_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_create_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_create_001_neg.ksh index 15a44abd4dd..9c1c044b78f 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_create_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_create_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_destroy_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_destroy_001_neg.ksh index fabac4dbcdd..5fa53c6d3a2 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_destroy_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_destroy_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_detach_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_detach_001_neg.ksh index 35f200148fc..c3b00e5c6b8 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_detach_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_detach_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_export_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_export_001_neg.ksh index 9f5c7c224f0..9c1e5d07636 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_export_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_export_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_get_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_get_001_neg.ksh index d3179be3970..91328ef383a 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_get_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_get_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_history_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_history_001_neg.ksh index 916905e24ec..6fb039bda6e 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_history_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_history_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_import_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_import_001_neg.ksh index 66dd71507ab..e5e68e6a29c 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_import_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_import_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_import_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_import_002_neg.ksh index 3eb091ef257..e6f928354eb 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_import_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_import_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_offline_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_offline_001_neg.ksh index 1f8b5dc94c9..fdf99b44af6 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_offline_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_offline_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_online_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_online_001_neg.ksh index e3c0699e096..595816d225e 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_online_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_online_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_remove_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_remove_001_neg.ksh index 91632c539e6..16ed39e50eb 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_remove_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_remove_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_replace_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_replace_001_neg.ksh index fb6f5847c0f..92ae7307a12 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_replace_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_replace_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_scrub_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_scrub_001_neg.ksh index 730c18e085b..4b648f534bb 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_scrub_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_scrub_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_set_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_set_001_neg.ksh index 8c89379f569..705b66fd0f9 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_set_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_set_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_status_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_status_001_neg.ksh index a5a44be812f..a7cc90e6bf8 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_status_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_status_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_upgrade_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_upgrade_001_neg.ksh index eebe13ad30b..8961dcb2582 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_upgrade_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_upgrade_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_wait_privilege.ksh b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_wait_privilege.ksh index 42a2dd2c63e..0c6e30a5d6b 100755 --- a/tests/zfs-tests/tests/functional/cli_user/misc/zpool_wait_privilege.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/misc/zpool_wait_privilege.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/cli_user/zfs_list/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_user/zfs_list/cleanup.ksh index 635042bc11b..17548bdb78f 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zfs_list/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zfs_list/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zfs_list/setup.ksh b/tests/zfs-tests/tests/functional/cli_user/zfs_list/setup.ksh index 0196b795395..27000d41234 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zfs_list/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zfs_list/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.cfg b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.cfg index de343510186..a0587f24155 100644 --- a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.cfg +++ b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.kshlib b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.kshlib index 4c0d9b5b460..b413b29efda 100644 --- a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.kshlib +++ b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_001_pos.ksh index 318b42e86bd..413778a04ae 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_002_pos.ksh index cc0659f0761..dccc46a1647 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_003_pos.ksh index 896f629a260..9d955ff4dd4 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_004_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_004_neg.ksh index cc3f2084a8b..4820ca0a72f 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_007_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_007_pos.ksh index 1049ba9dbe1..5b025ce2a45 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_008_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_008_neg.ksh index dda1c4f18ca..2d4245abdb3 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_008_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_008_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/setup.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/setup.ksh index 009d931c100..c40f01fce64 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_disable.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_disable.ksh index 5fea262a4f6..3aa06920512 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_disable.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_disable.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_homedir.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_homedir.ksh index d9e7867fce8..0f1b4d4fc6f 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_homedir.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_homedir.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_searchpath.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_searchpath.ksh index efd279faed1..4c0fa190966 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_searchpath.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_searchpath.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_001_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_001_neg.ksh index eeb2c47dcb2..762e20a1871 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_002_pos.ksh index 72c5367522f..eb032373185 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh index 5f490b54a79..9b5fa165e2e 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh index 3ff871b0d2d..b33f160f45e 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_005_pos.ksh index 10b4761fe23..6baa5b87b4a 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_list/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_list/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_list/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_list/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_list/setup.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_list/setup.ksh index 76aa23035dd..9e1eb26ef76 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_list/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_list/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_001_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_001_pos.ksh index a54124a58e5..1bd7ffbca9c 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_002_neg.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_002_neg.ksh index 001c7292bed..daa8fcb6aeb 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_status/cleanup.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_status/cleanup.ksh index 17d29ee4f54..66de31744a9 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_status/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_status/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_status/setup.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_status/setup.ksh index 4c719075a74..be80dc7e383 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_status/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_status/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_disable.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_disable.ksh index 4cac0737166..0ba3c89ab98 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_disable.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_disable.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_homedir.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_homedir.ksh index b3972115a24..5c16d4145db 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_homedir.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_homedir.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_searchpath.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_searchpath.ksh index e3c9187355a..866c74ae2a2 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_searchpath.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_searchpath.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_003_pos.ksh index 69b5448b458..7fd71e6fc89 100755 --- a/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/cleanup.ksh b/tests/zfs-tests/tests/functional/compression/cleanup.ksh index f3647ea2bbe..10e4ec0754a 100755 --- a/tests/zfs-tests/tests/functional/compression/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/compression/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/compress.cfg b/tests/zfs-tests/tests/functional/compression/compress.cfg index 6c955807c48..a659925d016 100644 --- a/tests/zfs-tests/tests/functional/compression/compress.cfg +++ b/tests/zfs-tests/tests/functional/compression/compress.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/compress_001_pos.ksh b/tests/zfs-tests/tests/functional/compression/compress_001_pos.ksh index cddd45a628f..86a335f44be 100755 --- a/tests/zfs-tests/tests/functional/compression/compress_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/compression/compress_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/compress_002_pos.ksh b/tests/zfs-tests/tests/functional/compression/compress_002_pos.ksh index 1f7d234c10b..e7f28e18ed1 100755 --- a/tests/zfs-tests/tests/functional/compression/compress_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/compression/compress_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/compress_003_pos.ksh b/tests/zfs-tests/tests/functional/compression/compress_003_pos.ksh index f8028ad218a..715d951b8dc 100755 --- a/tests/zfs-tests/tests/functional/compression/compress_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/compression/compress_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/compress_004_pos.ksh b/tests/zfs-tests/tests/functional/compression/compress_004_pos.ksh index ba851343712..7b36e1771bd 100755 --- a/tests/zfs-tests/tests/functional/compression/compress_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/compression/compress_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/compress_zstd_bswap.ksh b/tests/zfs-tests/tests/functional/compression/compress_zstd_bswap.ksh index 73428e8af51..553be748c74 100755 --- a/tests/zfs-tests/tests/functional/compression/compress_zstd_bswap.ksh +++ b/tests/zfs-tests/tests/functional/compression/compress_zstd_bswap.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/l2arc_compressed_arc.ksh b/tests/zfs-tests/tests/functional/compression/l2arc_compressed_arc.ksh index 1eded81101c..c5e5e00bbba 100755 --- a/tests/zfs-tests/tests/functional/compression/l2arc_compressed_arc.ksh +++ b/tests/zfs-tests/tests/functional/compression/l2arc_compressed_arc.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/l2arc_compressed_arc_disabled.ksh b/tests/zfs-tests/tests/functional/compression/l2arc_compressed_arc_disabled.ksh index b08f8dccc84..6b3c7cb3eb0 100755 --- a/tests/zfs-tests/tests/functional/compression/l2arc_compressed_arc_disabled.ksh +++ b/tests/zfs-tests/tests/functional/compression/l2arc_compressed_arc_disabled.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/l2arc_encrypted.ksh b/tests/zfs-tests/tests/functional/compression/l2arc_encrypted.ksh index 8da3441330a..6f1fa10ccb4 100755 --- a/tests/zfs-tests/tests/functional/compression/l2arc_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/compression/l2arc_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/l2arc_encrypted_no_compressed_arc.ksh b/tests/zfs-tests/tests/functional/compression/l2arc_encrypted_no_compressed_arc.ksh index e571016f6e2..f05ad901077 100755 --- a/tests/zfs-tests/tests/functional/compression/l2arc_encrypted_no_compressed_arc.ksh +++ b/tests/zfs-tests/tests/functional/compression/l2arc_encrypted_no_compressed_arc.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/compression/setup.ksh b/tests/zfs-tests/tests/functional/compression/setup.ksh index 1eeefeaa18c..84e6d5d8ac1 100755 --- a/tests/zfs-tests/tests/functional/compression/setup.ksh +++ b/tests/zfs-tests/tests/functional/compression/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cp_files/cleanup.ksh b/tests/zfs-tests/tests/functional/cp_files/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/cp_files/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/cp_files/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cp_files/cp_files_001_pos.ksh b/tests/zfs-tests/tests/functional/cp_files/cp_files_001_pos.ksh index 5a48f0fbc52..183aeaf16cd 100755 --- a/tests/zfs-tests/tests/functional/cp_files/cp_files_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/cp_files/cp_files_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cp_files/cp_files_002_pos.ksh b/tests/zfs-tests/tests/functional/cp_files/cp_files_002_pos.ksh index 418c41fe659..4a4bad7ac29 100755 --- a/tests/zfs-tests/tests/functional/cp_files/cp_files_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cp_files/cp_files_002_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cp_files/cp_stress.ksh b/tests/zfs-tests/tests/functional/cp_files/cp_stress.ksh index d0880c9270f..b5ebc68f71b 100755 --- a/tests/zfs-tests/tests/functional/cp_files/cp_stress.ksh +++ b/tests/zfs-tests/tests/functional/cp_files/cp_stress.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/cp_files/setup.ksh b/tests/zfs-tests/tests/functional/cp_files/setup.ksh index b756d4e76c8..5c28fed40c7 100755 --- a/tests/zfs-tests/tests/functional/cp_files/setup.ksh +++ b/tests/zfs-tests/tests/functional/cp_files/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/crtime/cleanup.ksh b/tests/zfs-tests/tests/functional/crtime/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/crtime/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/crtime/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/crtime/crtime_001_pos.ksh b/tests/zfs-tests/tests/functional/crtime/crtime_001_pos.ksh index b2d0e737865..aed70d81f50 100755 --- a/tests/zfs-tests/tests/functional/crtime/crtime_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/crtime/crtime_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/crtime/setup.ksh b/tests/zfs-tests/tests/functional/crtime/setup.ksh index b756d4e76c8..5c28fed40c7 100755 --- a/tests/zfs-tests/tests/functional/crtime/setup.ksh +++ b/tests/zfs-tests/tests/functional/crtime/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/crypto/icp_aes_ccm.ksh b/tests/zfs-tests/tests/functional/crypto/icp_aes_ccm.ksh index 18bb8519fb2..9fec36900a4 100755 --- a/tests/zfs-tests/tests/functional/crypto/icp_aes_ccm.ksh +++ b/tests/zfs-tests/tests/functional/crypto/icp_aes_ccm.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/crypto/icp_aes_gcm.ksh b/tests/zfs-tests/tests/functional/crypto/icp_aes_gcm.ksh index 69f02db35c6..8477727dfd5 100755 --- a/tests/zfs-tests/tests/functional/crypto/icp_aes_gcm.ksh +++ b/tests/zfs-tests/tests/functional/crypto/icp_aes_gcm.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/ctime/cleanup.ksh b/tests/zfs-tests/tests/functional/ctime/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/ctime/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/ctime/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/ctime/ctime_001_pos.ksh b/tests/zfs-tests/tests/functional/ctime/ctime_001_pos.ksh index 6791067ff72..ccc03013225 100755 --- a/tests/zfs-tests/tests/functional/ctime/ctime_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/ctime/ctime_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/ctime/setup.ksh b/tests/zfs-tests/tests/functional/ctime/setup.ksh index b756d4e76c8..5c28fed40c7 100755 --- a/tests/zfs-tests/tests/functional/ctime/setup.ksh +++ b/tests/zfs-tests/tests/functional/ctime/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/deadman/deadman.cfg b/tests/zfs-tests/tests/functional/deadman/deadman.cfg index 96dc06b7867..206979f04e2 100644 --- a/tests/zfs-tests/tests/functional/deadman/deadman.cfg +++ b/tests/zfs-tests/tests/functional/deadman/deadman.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/deadman/deadman_ratelimit.ksh b/tests/zfs-tests/tests/functional/deadman/deadman_ratelimit.ksh index d851d03e1a8..10490b5c54d 100755 --- a/tests/zfs-tests/tests/functional/deadman/deadman_ratelimit.ksh +++ b/tests/zfs-tests/tests/functional/deadman/deadman_ratelimit.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh b/tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh index 5c165523fef..027a02b7b63 100755 --- a/tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh +++ b/tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/deadman/deadman_zio.ksh b/tests/zfs-tests/tests/functional/deadman/deadman_zio.ksh index 592399be0e8..3ef5524d0de 100755 --- a/tests/zfs-tests/tests/functional/deadman/deadman_zio.ksh +++ b/tests/zfs-tests/tests/functional/deadman/deadman_zio.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/dedup/cleanup.ksh b/tests/zfs-tests/tests/functional/dedup/cleanup.ksh index b3c4c04d776..e532487265f 100755 --- a/tests/zfs-tests/tests/functional/dedup/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/dedup/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_fdt_create.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_fdt_create.ksh index 3b17de5a407..1a82e5d30a1 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_fdt_create.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_fdt_create.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_fdt_import.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_fdt_import.ksh index faa9b7e044c..5f6eb7c3400 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_fdt_import.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_fdt_import.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_fdt_pacing.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_fdt_pacing.ksh index 8cbc93d6eb7..8028e4f0884 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_fdt_pacing.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_fdt_pacing.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_legacy_create.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_legacy_create.ksh index 9e524ddbe28..3348614cb74 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_legacy_create.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_legacy_create.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_legacy_fdt_mixed.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_legacy_fdt_mixed.ksh index fd3b01e8cd2..c962efaa7c5 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_legacy_fdt_mixed.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_legacy_fdt_mixed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_legacy_fdt_upgrade.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_legacy_fdt_upgrade.ksh index 7a1e8006db1..94f009fc0d0 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_legacy_fdt_upgrade.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_legacy_fdt_upgrade.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_legacy_import.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_legacy_import.ksh index 4de46e89fc0..9f6b1ef12a9 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_legacy_import.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_legacy_import.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_prune.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_prune.ksh index 36d12f7e18a..6b4937cc4a2 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_prune.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_prune.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh index 09d349e2c82..bf83aba730c 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_zap_shrink.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_zap_shrink.ksh index ec6d730cf0c..597bad253ec 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_zap_shrink.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_zap_shrink.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/dedup/setup.ksh b/tests/zfs-tests/tests/functional/dedup/setup.ksh index a21238879fa..c395ca71c84 100755 --- a/tests/zfs-tests/tests/functional/dedup/setup.ksh +++ b/tests/zfs-tests/tests/functional/dedup/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/cleanup.ksh b/tests/zfs-tests/tests/functional/delegate/cleanup.ksh index 173a3ef2e13..6982b1b1057 100755 --- a/tests/zfs-tests/tests/functional/delegate/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/delegate/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/delegate.cfg b/tests/zfs-tests/tests/functional/delegate/delegate.cfg index d78896fb017..f80eb2f2d78 100644 --- a/tests/zfs-tests/tests/functional/delegate/delegate.cfg +++ b/tests/zfs-tests/tests/functional/delegate/delegate.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/delegate_common.kshlib b/tests/zfs-tests/tests/functional/delegate/delegate_common.kshlib index 8e628b8e438..0a402e71ee6 100644 --- a/tests/zfs-tests/tests/functional/delegate/delegate_common.kshlib +++ b/tests/zfs-tests/tests/functional/delegate/delegate_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/setup.ksh b/tests/zfs-tests/tests/functional/delegate/setup.ksh index dd2822442bd..57a019a415b 100755 --- a/tests/zfs-tests/tests/functional/delegate/setup.ksh +++ b/tests/zfs-tests/tests/functional/delegate/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_001_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_001_pos.ksh index 4324e3f4cbf..16d9e3d9e92 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_002_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_002_pos.ksh index 9045f316ca8..ffb9a156d37 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_003_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_003_pos.ksh index 34a26cfc0ca..e0189fc26d2 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_004_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_004_pos.ksh index f90cdd8aa5a..ae430c859c3 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_005_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_005_pos.ksh index d8e7b56021f..9753b9fa802 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_006_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_006_pos.ksh index a4e96adf088..a26b9958c83 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_007_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_007_pos.ksh index 8855fa48e3a..4a5b61328ac 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_008_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_008_pos.ksh index be187475e93..05c8cf989e3 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh index 9b7995f651d..6c21140b255 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh index 22406c72f82..d067364eae5 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_011_neg.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_011_neg.ksh index 44a98dde5ba..0317e9e2eae 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_011_neg.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_011_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_012_neg.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_012_neg.ksh index dac66c0318b..57b80b69a13 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_012_neg.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_012_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_001_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_001_pos.ksh index 5d64880d030..225b7c35095 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_002_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_002_pos.ksh index 471c5645bce..236c0bdc5cd 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_003_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_003_pos.ksh index 98af7fba226..81d38c5d380 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_004_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_004_pos.ksh index 7e35d4cc38e..9597b0c9c3a 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_005_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_005_pos.ksh index 59bc6cc7d6d..c194aca1c1f 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_006_pos.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_006_pos.ksh index 5521eccebfd..77f1d12e550 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_007_neg.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_007_neg.ksh index a25f60b41d0..d4811d3434e 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_008_neg.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_008_neg.ksh index 1cda9cef9fb..7d59d6b363d 100755 --- a/tests/zfs-tests/tests/functional/delegate/zfs_unallow_008_neg.ksh +++ b/tests/zfs-tests/tests/functional/delegate/zfs_unallow_008_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/devices/cleanup.ksh b/tests/zfs-tests/tests/functional/devices/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/devices/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/devices/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/devices/devices.cfg b/tests/zfs-tests/tests/functional/devices/devices.cfg index 6024834aa3f..6592431f71d 100644 --- a/tests/zfs-tests/tests/functional/devices/devices.cfg +++ b/tests/zfs-tests/tests/functional/devices/devices.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/devices/devices_001_pos.ksh b/tests/zfs-tests/tests/functional/devices/devices_001_pos.ksh index d130a3d0362..982ba3ef2bc 100755 --- a/tests/zfs-tests/tests/functional/devices/devices_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/devices/devices_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/devices/devices_002_neg.ksh b/tests/zfs-tests/tests/functional/devices/devices_002_neg.ksh index 1cc7b2bd26e..bc6d2a1b049 100755 --- a/tests/zfs-tests/tests/functional/devices/devices_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/devices/devices_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/devices/devices_003_pos.ksh b/tests/zfs-tests/tests/functional/devices/devices_003_pos.ksh index 909ca9c80d4..995df04c3aa 100755 --- a/tests/zfs-tests/tests/functional/devices/devices_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/devices/devices_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/devices/devices_common.kshlib b/tests/zfs-tests/tests/functional/devices/devices_common.kshlib index 800c565bfe6..8024067ac9e 100644 --- a/tests/zfs-tests/tests/functional/devices/devices_common.kshlib +++ b/tests/zfs-tests/tests/functional/devices/devices_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/devices/setup.ksh b/tests/zfs-tests/tests/functional/devices/setup.ksh index c464156ceb6..6a9805a746b 100755 --- a/tests/zfs-tests/tests/functional/devices/setup.ksh +++ b/tests/zfs-tests/tests/functional/devices/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/cleanup.ksh b/tests/zfs-tests/tests/functional/direct/cleanup.ksh index 75fe97f923d..099f6162887 100755 --- a/tests/zfs-tests/tests/functional/direct/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/direct/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio.cfg b/tests/zfs-tests/tests/functional/direct/dio.cfg index 6472610d7b4..bb56d1b2587 100644 --- a/tests/zfs-tests/tests/functional/direct/dio.cfg +++ b/tests/zfs-tests/tests/functional/direct/dio.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio.kshlib b/tests/zfs-tests/tests/functional/direct/dio.kshlib index 49c43a0aaca..33564ccc71e 100644 --- a/tests/zfs-tests/tests/functional/direct/dio.kshlib +++ b/tests/zfs-tests/tests/functional/direct/dio.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_aligned_block.ksh b/tests/zfs-tests/tests/functional/direct/dio_aligned_block.ksh index e26fbdfc256..b275224948f 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_aligned_block.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_aligned_block.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_async_always.ksh b/tests/zfs-tests/tests/functional/direct/dio_async_always.ksh index 27fd66ccd21..ee3a102b7da 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_async_always.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_async_always.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # DDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_async_fio_ioengines.ksh b/tests/zfs-tests/tests/functional/direct/dio_async_fio_ioengines.ksh index 5492a5a9058..707dfeebd0b 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_async_fio_ioengines.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_async_fio_ioengines.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_compression.ksh b/tests/zfs-tests/tests/functional/direct/dio_compression.ksh index 5463715d7ba..14d285cd821 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_compression.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_compression.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_dedup.ksh b/tests/zfs-tests/tests/functional/direct/dio_dedup.ksh index ba2b29eeca4..004f2875a40 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_dedup.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_dedup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # DDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_encryption.ksh b/tests/zfs-tests/tests/functional/direct/dio_encryption.ksh index b6faa11970b..ed26632bc06 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_encryption.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_encryption.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # DDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_grow_block.ksh b/tests/zfs-tests/tests/functional/direct/dio_grow_block.ksh index 12b2f212753..45c2f68c110 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_grow_block.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_grow_block.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_loopback_dev.ksh b/tests/zfs-tests/tests/functional/direct/dio_loopback_dev.ksh index 7186eba5aaf..3e02739c9ff 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_loopback_dev.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_loopback_dev.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_max_recordsize.ksh b/tests/zfs-tests/tests/functional/direct/dio_max_recordsize.ksh index 2c0ce832b1f..533f1d9b636 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_max_recordsize.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_max_recordsize.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_mixed.ksh b/tests/zfs-tests/tests/functional/direct/dio_mixed.ksh index dc10b8a33db..31f3a0c6763 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_mixed.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_mixed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_mmap.ksh b/tests/zfs-tests/tests/functional/direct/dio_mmap.ksh index fbd6afd7b39..52a03ff64e0 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_mmap.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_mmap.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_overwrites.ksh b/tests/zfs-tests/tests/functional/direct/dio_overwrites.ksh index 04973fc8863..5e47a8a400d 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_overwrites.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_overwrites.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_property.ksh b/tests/zfs-tests/tests/functional/direct/dio_property.ksh index 9e18f0bf787..1a10b490337 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_property.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_property.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_random.ksh b/tests/zfs-tests/tests/functional/direct/dio_random.ksh index abe8d5c0dca..381b104dd64 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_random.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_random.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_read_verify.ksh b/tests/zfs-tests/tests/functional/direct/dio_read_verify.ksh index 67e0b4a7c70..114d2946f9c 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_read_verify.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_read_verify.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_recordsize.ksh b/tests/zfs-tests/tests/functional/direct/dio_recordsize.ksh index def46822130..749be19e0a0 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_recordsize.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_recordsize.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_unaligned_block.ksh b/tests/zfs-tests/tests/functional/direct/dio_unaligned_block.ksh index 309d35ea0e6..fe3fd7a2a02 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_unaligned_block.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_unaligned_block.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_unaligned_filesize.ksh b/tests/zfs-tests/tests/functional/direct/dio_unaligned_filesize.ksh index 6e2982ad7d4..7d4b0e39314 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_unaligned_filesize.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_unaligned_filesize.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_write_stable_pages.ksh b/tests/zfs-tests/tests/functional/direct/dio_write_stable_pages.ksh index 3d7f7089d7c..9defa545307 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_write_stable_pages.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_write_stable_pages.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/dio_write_verify.ksh b/tests/zfs-tests/tests/functional/direct/dio_write_verify.ksh index 1c1565cbbef..06b8fe2126d 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_write_verify.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_write_verify.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/direct/setup.ksh b/tests/zfs-tests/tests/functional/direct/setup.ksh index f66d6531c1d..066ed3c0a78 100755 --- a/tests/zfs-tests/tests/functional/direct/setup.ksh +++ b/tests/zfs-tests/tests/functional/direct/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/dos_attributes/cleanup.ksh b/tests/zfs-tests/tests/functional/dos_attributes/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/dos_attributes/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/dos_attributes/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/dos_attributes/read_dos_attrs_001.ksh b/tests/zfs-tests/tests/functional/dos_attributes/read_dos_attrs_001.ksh index 2c99a4049c6..ad042031eb5 100755 --- a/tests/zfs-tests/tests/functional/dos_attributes/read_dos_attrs_001.ksh +++ b/tests/zfs-tests/tests/functional/dos_attributes/read_dos_attrs_001.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/dos_attributes/setup.ksh b/tests/zfs-tests/tests/functional/dos_attributes/setup.ksh index b756d4e76c8..5c28fed40c7 100755 --- a/tests/zfs-tests/tests/functional/dos_attributes/setup.ksh +++ b/tests/zfs-tests/tests/functional/dos_attributes/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/dos_attributes/write_dos_attrs_001.ksh b/tests/zfs-tests/tests/functional/dos_attributes/write_dos_attrs_001.ksh index 4a7fb747f93..2b0eb4519fa 100755 --- a/tests/zfs-tests/tests/functional/dos_attributes/write_dos_attrs_001.ksh +++ b/tests/zfs-tests/tests/functional/dos_attributes/write_dos_attrs_001.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/events/cleanup.ksh b/tests/zfs-tests/tests/functional/events/cleanup.ksh index 669b8ae9945..18cdb3753fc 100755 --- a/tests/zfs-tests/tests/functional/events/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/events/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/events/events.cfg b/tests/zfs-tests/tests/functional/events/events.cfg index 5dbdb3074f3..bdfc60778c5 100644 --- a/tests/zfs-tests/tests/functional/events/events.cfg +++ b/tests/zfs-tests/tests/functional/events/events.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/events/events_001_pos.ksh b/tests/zfs-tests/tests/functional/events/events_001_pos.ksh index b509a44606f..5781208dd66 100755 --- a/tests/zfs-tests/tests/functional/events/events_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/events/events_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/events/events_002_pos.ksh b/tests/zfs-tests/tests/functional/events/events_002_pos.ksh index e355b897737..6ce0cb2be63 100755 --- a/tests/zfs-tests/tests/functional/events/events_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/events/events_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/events/events_common.kshlib b/tests/zfs-tests/tests/functional/events/events_common.kshlib index 7a0b032c3b2..79813e33bc7 100644 --- a/tests/zfs-tests/tests/functional/events/events_common.kshlib +++ b/tests/zfs-tests/tests/functional/events/events_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/events/setup.ksh b/tests/zfs-tests/tests/functional/events/setup.ksh index 0f058b8fe18..3a006a938a2 100755 --- a/tests/zfs-tests/tests/functional/events/setup.ksh +++ b/tests/zfs-tests/tests/functional/events/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/events/zed_cksum_config.ksh b/tests/zfs-tests/tests/functional/events/zed_cksum_config.ksh index 5aae3d03466..3a0856e2f80 100755 --- a/tests/zfs-tests/tests/functional/events/zed_cksum_config.ksh +++ b/tests/zfs-tests/tests/functional/events/zed_cksum_config.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/events/zed_cksum_reported.ksh b/tests/zfs-tests/tests/functional/events/zed_cksum_reported.ksh index 78acd76c2ee..c1e96339016 100755 --- a/tests/zfs-tests/tests/functional/events/zed_cksum_reported.ksh +++ b/tests/zfs-tests/tests/functional/events/zed_cksum_reported.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/events/zed_diagnose_multiple.ksh b/tests/zfs-tests/tests/functional/events/zed_diagnose_multiple.ksh index aea9f1dd34d..785bd9543dd 100755 --- a/tests/zfs-tests/tests/functional/events/zed_diagnose_multiple.ksh +++ b/tests/zfs-tests/tests/functional/events/zed_diagnose_multiple.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/events/zed_fd_spill.ksh b/tests/zfs-tests/tests/functional/events/zed_fd_spill.ksh index 4803f0f3de7..0aa7f7a4754 100755 --- a/tests/zfs-tests/tests/functional/events/zed_fd_spill.ksh +++ b/tests/zfs-tests/tests/functional/events/zed_fd_spill.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/events/zed_io_config.ksh b/tests/zfs-tests/tests/functional/events/zed_io_config.ksh index 637f979fe8d..d127314fadc 100755 --- a/tests/zfs-tests/tests/functional/events/zed_io_config.ksh +++ b/tests/zfs-tests/tests/functional/events/zed_io_config.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # CDDL HEADER START # # The contents of this file are subject to the terms of the diff --git a/tests/zfs-tests/tests/functional/events/zed_rc_filter.ksh b/tests/zfs-tests/tests/functional/events/zed_rc_filter.ksh index 766468b5660..26dd4d6061e 100755 --- a/tests/zfs-tests/tests/functional/events/zed_rc_filter.ksh +++ b/tests/zfs-tests/tests/functional/events/zed_rc_filter.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/events/zed_slow_io.ksh b/tests/zfs-tests/tests/functional/events/zed_slow_io.ksh index d9fabb2c3bc..0c68530ee9e 100755 --- a/tests/zfs-tests/tests/functional/events/zed_slow_io.ksh +++ b/tests/zfs-tests/tests/functional/events/zed_slow_io.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/events/zed_slow_io_many_vdevs.ksh b/tests/zfs-tests/tests/functional/events/zed_slow_io_many_vdevs.ksh index e27ef91cbdc..a2a2d5888ed 100755 --- a/tests/zfs-tests/tests/functional/events/zed_slow_io_many_vdevs.ksh +++ b/tests/zfs-tests/tests/functional/events/zed_slow_io_many_vdevs.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/exec/cleanup.ksh b/tests/zfs-tests/tests/functional/exec/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/exec/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/exec/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/exec/exec_001_pos.ksh b/tests/zfs-tests/tests/functional/exec/exec_001_pos.ksh index 097ecd5f49d..3fe3f1171f8 100755 --- a/tests/zfs-tests/tests/functional/exec/exec_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/exec/exec_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/exec/exec_002_neg.ksh b/tests/zfs-tests/tests/functional/exec/exec_002_neg.ksh index 5cda647ef14..4d7c328d961 100755 --- a/tests/zfs-tests/tests/functional/exec/exec_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/exec/exec_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/exec/setup.ksh b/tests/zfs-tests/tests/functional/exec/setup.ksh index b756d4e76c8..5c28fed40c7 100755 --- a/tests/zfs-tests/tests/functional/exec/setup.ksh +++ b/tests/zfs-tests/tests/functional/exec/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fadvise/cleanup.ksh b/tests/zfs-tests/tests/functional/fadvise/cleanup.ksh index 8b5b43a74c1..8987e227743 100755 --- a/tests/zfs-tests/tests/functional/fadvise/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/fadvise/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fadvise/fadvise_sequential.ksh b/tests/zfs-tests/tests/functional/fadvise/fadvise_sequential.ksh index daeb93273a5..f72c21f568e 100755 --- a/tests/zfs-tests/tests/functional/fadvise/fadvise_sequential.ksh +++ b/tests/zfs-tests/tests/functional/fadvise/fadvise_sequential.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fadvise/setup.ksh b/tests/zfs-tests/tests/functional/fadvise/setup.ksh index 8ddd73307bb..a4a14118cc8 100755 --- a/tests/zfs-tests/tests/functional/fadvise/setup.ksh +++ b/tests/zfs-tests/tests/functional/fadvise/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fallocate/cleanup.ksh b/tests/zfs-tests/tests/functional/fallocate/cleanup.ksh index c99f11a0e87..b82b7b17ede 100755 --- a/tests/zfs-tests/tests/functional/fallocate/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/fallocate/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fallocate/fallocate_prealloc.ksh b/tests/zfs-tests/tests/functional/fallocate/fallocate_prealloc.ksh index 35eb828d6ba..4821d1612e3 100755 --- a/tests/zfs-tests/tests/functional/fallocate/fallocate_prealloc.ksh +++ b/tests/zfs-tests/tests/functional/fallocate/fallocate_prealloc.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fallocate/fallocate_punch-hole.ksh b/tests/zfs-tests/tests/functional/fallocate/fallocate_punch-hole.ksh index d01017f9e09..959db28722b 100755 --- a/tests/zfs-tests/tests/functional/fallocate/fallocate_punch-hole.ksh +++ b/tests/zfs-tests/tests/functional/fallocate/fallocate_punch-hole.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fallocate/fallocate_zero-range.ksh b/tests/zfs-tests/tests/functional/fallocate/fallocate_zero-range.ksh index 47dd06cc0dc..7847d70efdc 100755 --- a/tests/zfs-tests/tests/functional/fallocate/fallocate_zero-range.ksh +++ b/tests/zfs-tests/tests/functional/fallocate/fallocate_zero-range.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fallocate/setup.ksh b/tests/zfs-tests/tests/functional/fallocate/setup.ksh index 51fa056fd36..38161c2196b 100755 --- a/tests/zfs-tests/tests/functional/fallocate/setup.ksh +++ b/tests/zfs-tests/tests/functional/fallocate/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/auto_offline_001_pos.ksh b/tests/zfs-tests/tests/functional/fault/auto_offline_001_pos.ksh index c0387e1d323..43bfe2f5bfb 100755 --- a/tests/zfs-tests/tests/functional/fault/auto_offline_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/fault/auto_offline_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/auto_online_001_pos.ksh b/tests/zfs-tests/tests/functional/fault/auto_online_001_pos.ksh index 950e80dfc18..61b0129d3cf 100755 --- a/tests/zfs-tests/tests/functional/fault/auto_online_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/fault/auto_online_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/auto_online_002_pos.ksh b/tests/zfs-tests/tests/functional/fault/auto_online_002_pos.ksh index 09285b5108e..2223cd03f4a 100755 --- a/tests/zfs-tests/tests/functional/fault/auto_online_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/fault/auto_online_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/auto_replace_001_pos.ksh b/tests/zfs-tests/tests/functional/fault/auto_replace_001_pos.ksh index ae56ee9919b..ef49a5d50f6 100755 --- a/tests/zfs-tests/tests/functional/fault/auto_replace_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/fault/auto_replace_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/auto_replace_002_pos.ksh b/tests/zfs-tests/tests/functional/fault/auto_replace_002_pos.ksh index 2259e604317..a77957f3225 100755 --- a/tests/zfs-tests/tests/functional/fault/auto_replace_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/fault/auto_replace_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/auto_spare_001_pos.ksh b/tests/zfs-tests/tests/functional/fault/auto_spare_001_pos.ksh index a93267185b0..6397e26b5d8 100755 --- a/tests/zfs-tests/tests/functional/fault/auto_spare_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/fault/auto_spare_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/fault/auto_spare_002_pos.ksh b/tests/zfs-tests/tests/functional/fault/auto_spare_002_pos.ksh index bd32be9a4ff..1d104fe6c10 100755 --- a/tests/zfs-tests/tests/functional/fault/auto_spare_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/fault/auto_spare_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/fault/auto_spare_ashift.ksh b/tests/zfs-tests/tests/functional/fault/auto_spare_ashift.ksh index f4fd21d0433..9fa28ccb6d0 100755 --- a/tests/zfs-tests/tests/functional/fault/auto_spare_ashift.ksh +++ b/tests/zfs-tests/tests/functional/fault/auto_spare_ashift.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh b/tests/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh index 8a9cf6f5324..023f5b58a6e 100755 --- a/tests/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh +++ b/tests/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/fault/auto_spare_shared.ksh b/tests/zfs-tests/tests/functional/fault/auto_spare_shared.ksh index 1cfa84a930b..c357a92b9c2 100755 --- a/tests/zfs-tests/tests/functional/fault/auto_spare_shared.ksh +++ b/tests/zfs-tests/tests/functional/fault/auto_spare_shared.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/cleanup.ksh b/tests/zfs-tests/tests/functional/fault/cleanup.ksh index 2959236b59a..8801991263c 100755 --- a/tests/zfs-tests/tests/functional/fault/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/fault/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/decompress_fault.ksh b/tests/zfs-tests/tests/functional/fault/decompress_fault.ksh index bcb7d8d1281..11b4481fd76 100755 --- a/tests/zfs-tests/tests/functional/fault/decompress_fault.ksh +++ b/tests/zfs-tests/tests/functional/fault/decompress_fault.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/fault/decrypt_fault.ksh b/tests/zfs-tests/tests/functional/fault/decrypt_fault.ksh index a4cf06144e5..9133ee00b5d 100755 --- a/tests/zfs-tests/tests/functional/fault/decrypt_fault.ksh +++ b/tests/zfs-tests/tests/functional/fault/decrypt_fault.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/fault/fault.cfg b/tests/zfs-tests/tests/functional/fault/fault.cfg index 0cf2b05cce4..30887f290ed 100644 --- a/tests/zfs-tests/tests/functional/fault/fault.cfg +++ b/tests/zfs-tests/tests/functional/fault/fault.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/fault_limits.ksh b/tests/zfs-tests/tests/functional/fault/fault_limits.ksh index 2f62a15c392..1b3310edb98 100755 --- a/tests/zfs-tests/tests/functional/fault/fault_limits.ksh +++ b/tests/zfs-tests/tests/functional/fault/fault_limits.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/scrub_after_resilver.ksh b/tests/zfs-tests/tests/functional/fault/scrub_after_resilver.ksh index db4a4ad55ef..e7fdf38f053 100755 --- a/tests/zfs-tests/tests/functional/fault/scrub_after_resilver.ksh +++ b/tests/zfs-tests/tests/functional/fault/scrub_after_resilver.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/fault/setup.ksh b/tests/zfs-tests/tests/functional/fault/setup.ksh index 61b9206ec1a..6ca860ed615 100755 --- a/tests/zfs-tests/tests/functional/fault/setup.ksh +++ b/tests/zfs-tests/tests/functional/fault/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/suspend_on_probe_errors.ksh b/tests/zfs-tests/tests/functional/fault/suspend_on_probe_errors.ksh index 3f6edad6da9..340994bb60c 100755 --- a/tests/zfs-tests/tests/functional/fault/suspend_on_probe_errors.ksh +++ b/tests/zfs-tests/tests/functional/fault/suspend_on_probe_errors.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/suspend_resume_single.ksh b/tests/zfs-tests/tests/functional/fault/suspend_resume_single.ksh index 5d7583307cf..e7cf16c69b4 100755 --- a/tests/zfs-tests/tests/functional/fault/suspend_resume_single.ksh +++ b/tests/zfs-tests/tests/functional/fault/suspend_resume_single.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/fault/zpool_status_-s.ksh b/tests/zfs-tests/tests/functional/fault/zpool_status_-s.ksh index 57911aa05ec..be19495325d 100755 --- a/tests/zfs-tests/tests/functional/fault/zpool_status_-s.ksh +++ b/tests/zfs-tests/tests/functional/fault/zpool_status_-s.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/async_destroy/async_destroy_001_pos.ksh b/tests/zfs-tests/tests/functional/features/async_destroy/async_destroy_001_pos.ksh index d5c930ecfbb..825f3f9378c 100755 --- a/tests/zfs-tests/tests/functional/features/async_destroy/async_destroy_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/features/async_destroy/async_destroy_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/async_destroy/cleanup.ksh b/tests/zfs-tests/tests/functional/features/async_destroy/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/features/async_destroy/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/features/async_destroy/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/async_destroy/setup.ksh b/tests/zfs-tests/tests/functional/features/async_destroy/setup.ksh index 76aa23035dd..9e1eb26ef76 100755 --- a/tests/zfs-tests/tests/functional/features/async_destroy/setup.ksh +++ b/tests/zfs-tests/tests/functional/features/async_destroy/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/cleanup.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/cleanup.ksh index 9fa5ba6e13c..3f512826ccb 100755 --- a/tests/zfs-tests/tests/functional/features/large_dnode/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/features/large_dnode/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_001_pos.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_001_pos.ksh index e4aea275066..15ad0e01844 100755 --- a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_002_pos.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_002_pos.ksh index c0df76624f5..2e2fad59576 100755 --- a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_003_pos.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_003_pos.ksh index 86738216523..cc0b672cc66 100755 --- a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_004_neg.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_004_neg.ksh index a77fe10ccf3..e78ee60b121 100755 --- a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_005_pos.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_005_pos.ksh index 8910f375b1c..b5346a9c2f6 100755 --- a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_006_pos.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_006_pos.ksh index a84e38aee87..190ade07786 100755 --- a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_007_neg.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_007_neg.ksh index ac755a338d5..8968dafee54 100755 --- a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh index 00a0d5784cd..507cc016ae7 100755 --- a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_009_pos.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_009_pos.ksh index 457c100ed98..a8490c11594 100755 --- a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/setup.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/setup.ksh index 02735d76542..843dda36765 100755 --- a/tests/zfs-tests/tests/functional/features/large_dnode/setup.ksh +++ b/tests/zfs-tests/tests/functional/features/large_dnode/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/grow/grow.cfg b/tests/zfs-tests/tests/functional/grow/grow.cfg index 0d78416317c..895fa84804d 100644 --- a/tests/zfs-tests/tests/functional/grow/grow.cfg +++ b/tests/zfs-tests/tests/functional/grow/grow.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/grow/grow_pool_001_pos.ksh b/tests/zfs-tests/tests/functional/grow/grow_pool_001_pos.ksh index ae2b261f4ef..5f7ee6d2958 100755 --- a/tests/zfs-tests/tests/functional/grow/grow_pool_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/grow/grow_pool_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/grow/grow_replicas_001_pos.ksh b/tests/zfs-tests/tests/functional/grow/grow_replicas_001_pos.ksh index 1d021555014..840529313dd 100755 --- a/tests/zfs-tests/tests/functional/grow/grow_replicas_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/grow/grow_replicas_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/cleanup.ksh b/tests/zfs-tests/tests/functional/history/cleanup.ksh index 36e0311a34c..6be359507aa 100755 --- a/tests/zfs-tests/tests/functional/history/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/history/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history.cfg b/tests/zfs-tests/tests/functional/history/history.cfg index 6020443bcdb..e859cc06cd2 100644 --- a/tests/zfs-tests/tests/functional/history/history.cfg +++ b/tests/zfs-tests/tests/functional/history/history.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history_001_pos.ksh b/tests/zfs-tests/tests/functional/history/history_001_pos.ksh index 7180e9af767..74577f97105 100755 --- a/tests/zfs-tests/tests/functional/history/history_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/history/history_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history_002_pos.ksh b/tests/zfs-tests/tests/functional/history/history_002_pos.ksh index 81f2ffb2173..cb0603ea185 100755 --- a/tests/zfs-tests/tests/functional/history/history_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/history/history_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history_003_pos.ksh b/tests/zfs-tests/tests/functional/history/history_003_pos.ksh index efaf022153a..7a149710eb6 100755 --- a/tests/zfs-tests/tests/functional/history/history_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/history/history_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history_004_pos.ksh b/tests/zfs-tests/tests/functional/history/history_004_pos.ksh index f7ec5df6fd3..23ecdec54c6 100755 --- a/tests/zfs-tests/tests/functional/history/history_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/history/history_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history_005_neg.ksh b/tests/zfs-tests/tests/functional/history/history_005_neg.ksh index c4d699f39d6..17ad12c28c6 100755 --- a/tests/zfs-tests/tests/functional/history/history_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/history/history_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history_006_neg.ksh b/tests/zfs-tests/tests/functional/history/history_006_neg.ksh index c8b6404b8c3..32a61c9383b 100755 --- a/tests/zfs-tests/tests/functional/history/history_006_neg.ksh +++ b/tests/zfs-tests/tests/functional/history/history_006_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history_007_pos.ksh b/tests/zfs-tests/tests/functional/history/history_007_pos.ksh index 714db4772aa..a22c205ec31 100755 --- a/tests/zfs-tests/tests/functional/history/history_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/history/history_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history_008_pos.ksh b/tests/zfs-tests/tests/functional/history/history_008_pos.ksh index eff313a31ae..93a4cbeb785 100755 --- a/tests/zfs-tests/tests/functional/history/history_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/history/history_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history_009_pos.ksh b/tests/zfs-tests/tests/functional/history/history_009_pos.ksh index be43193dc42..8fe60743245 100755 --- a/tests/zfs-tests/tests/functional/history/history_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/history/history_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history_010_pos.ksh b/tests/zfs-tests/tests/functional/history/history_010_pos.ksh index d972ba66d17..67c785c53b7 100755 --- a/tests/zfs-tests/tests/functional/history/history_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/history/history_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/history_common.kshlib b/tests/zfs-tests/tests/functional/history/history_common.kshlib index 2ee761cea93..dc53fef18e1 100644 --- a/tests/zfs-tests/tests/functional/history/history_common.kshlib +++ b/tests/zfs-tests/tests/functional/history/history_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/history/setup.ksh b/tests/zfs-tests/tests/functional/history/setup.ksh index b756d4e76c8..5c28fed40c7 100755 --- a/tests/zfs-tests/tests/functional/history/setup.ksh +++ b/tests/zfs-tests/tests/functional/history/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/hkdf/hkdf_test.c b/tests/zfs-tests/tests/functional/hkdf/hkdf_test.c index 24aeb0b224a..c7194c5e95a 100644 --- a/tests/zfs-tests/tests/functional/hkdf/hkdf_test.c +++ b/tests/zfs-tests/tests/functional/hkdf/hkdf_test.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/tests/functional/idmap_mount/cleanup.ksh b/tests/zfs-tests/tests/functional/idmap_mount/cleanup.ksh index 4895aa23ee4..5e73dd34936 100755 --- a/tests/zfs-tests/tests/functional/idmap_mount/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/idmap_mount/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount.cfg b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount.cfg index 51998945d0d..ca0a351cf57 100644 --- a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount.cfg +++ b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_001.ksh b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_001.ksh index e7187935e53..0d8ce45feae 100755 --- a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_001.ksh +++ b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_001.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_002.ksh b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_002.ksh index 8cba90ea58b..3dbb7feae11 100755 --- a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_002.ksh +++ b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_002.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_003.ksh b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_003.ksh index 1f1a2aec655..5ca50567760 100755 --- a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_003.ksh +++ b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_003.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_004.ksh b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_004.ksh index 89f2f750d23..cdc5977b901 100755 --- a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_004.ksh +++ b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_004.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_005.ksh b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_005.ksh index a4ecea92c12..6cbf82f6b44 100755 --- a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_005.ksh +++ b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_005.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_common.kshlib b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_common.kshlib index 980845ca209..c93ef91669e 100644 --- a/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_common.kshlib +++ b/tests/zfs-tests/tests/functional/idmap_mount/idmap_mount_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/idmap_mount/setup.ksh b/tests/zfs-tests/tests/functional/idmap_mount/setup.ksh index 90a14f12058..53ee0eac27c 100755 --- a/tests/zfs-tests/tests/functional/idmap_mount/setup.ksh +++ b/tests/zfs-tests/tests/functional/idmap_mount/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/README.config b/tests/zfs-tests/tests/functional/inheritance/README.config index 95fd363bac4..d64b0feb203 100644 --- a/tests/zfs-tests/tests/functional/inheritance/README.config +++ b/tests/zfs-tests/tests/functional/inheritance/README.config @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/README.state b/tests/zfs-tests/tests/functional/inheritance/README.state index 2fbd103f178..b20b19ed755 100644 --- a/tests/zfs-tests/tests/functional/inheritance/README.state +++ b/tests/zfs-tests/tests/functional/inheritance/README.state @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/cleanup.ksh b/tests/zfs-tests/tests/functional/inheritance/cleanup.ksh index 7fa851fc0ef..15e256f9247 100755 --- a/tests/zfs-tests/tests/functional/inheritance/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/inheritance/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config001.cfg b/tests/zfs-tests/tests/functional/inheritance/config001.cfg index 23819eb7ff8..29102243733 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config001.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config001.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config002.cfg b/tests/zfs-tests/tests/functional/inheritance/config002.cfg index 09f6bb3535c..20ffa4f0fa9 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config002.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config002.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config003.cfg b/tests/zfs-tests/tests/functional/inheritance/config003.cfg index 99c5f9f3e0d..7368e86d9bb 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config003.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config003.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config004.cfg b/tests/zfs-tests/tests/functional/inheritance/config004.cfg index 196683d53d5..2d5dd98655f 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config004.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config004.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config005.cfg b/tests/zfs-tests/tests/functional/inheritance/config005.cfg index 27f49c54e77..fd5af3f1475 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config005.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config005.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config006.cfg b/tests/zfs-tests/tests/functional/inheritance/config006.cfg index 3cb630b931b..a251d5fdc0b 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config006.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config006.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config007.cfg b/tests/zfs-tests/tests/functional/inheritance/config007.cfg index 8a7b47c1a93..9766c6abd49 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config007.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config007.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config008.cfg b/tests/zfs-tests/tests/functional/inheritance/config008.cfg index c8105f9e47a..c831994faa6 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config008.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config008.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config009.cfg b/tests/zfs-tests/tests/functional/inheritance/config009.cfg index c8105f9e47a..c831994faa6 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config009.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config009.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config010.cfg b/tests/zfs-tests/tests/functional/inheritance/config010.cfg index c8105f9e47a..c831994faa6 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config010.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config010.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config011.cfg b/tests/zfs-tests/tests/functional/inheritance/config011.cfg index 99c5f9f3e0d..7368e86d9bb 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config011.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config011.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config012.cfg b/tests/zfs-tests/tests/functional/inheritance/config012.cfg index 99c5f9f3e0d..7368e86d9bb 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config012.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config012.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config013.cfg b/tests/zfs-tests/tests/functional/inheritance/config013.cfg index 196683d53d5..2d5dd98655f 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config013.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config013.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config014.cfg b/tests/zfs-tests/tests/functional/inheritance/config014.cfg index 196683d53d5..2d5dd98655f 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config014.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config014.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config015.cfg b/tests/zfs-tests/tests/functional/inheritance/config015.cfg index 09f6bb3535c..20ffa4f0fa9 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config015.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config015.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config016.cfg b/tests/zfs-tests/tests/functional/inheritance/config016.cfg index 09f6bb3535c..20ffa4f0fa9 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config016.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config016.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config017.cfg b/tests/zfs-tests/tests/functional/inheritance/config017.cfg index 27f49c54e77..fd5af3f1475 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config017.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config017.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config018.cfg b/tests/zfs-tests/tests/functional/inheritance/config018.cfg index 27f49c54e77..fd5af3f1475 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config018.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config018.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config019.cfg b/tests/zfs-tests/tests/functional/inheritance/config019.cfg index 23819eb7ff8..29102243733 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config019.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config019.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config020.cfg b/tests/zfs-tests/tests/functional/inheritance/config020.cfg index 23819eb7ff8..29102243733 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config020.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config020.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config021.cfg b/tests/zfs-tests/tests/functional/inheritance/config021.cfg index 3cb630b931b..a251d5fdc0b 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config021.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config021.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config022.cfg b/tests/zfs-tests/tests/functional/inheritance/config022.cfg index 3cb630b931b..a251d5fdc0b 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config022.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config022.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config023.cfg b/tests/zfs-tests/tests/functional/inheritance/config023.cfg index 8a7b47c1a93..9766c6abd49 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config023.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config023.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/config024.cfg b/tests/zfs-tests/tests/functional/inheritance/config024.cfg index 8a7b47c1a93..9766c6abd49 100644 --- a/tests/zfs-tests/tests/functional/inheritance/config024.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/config024.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/inherit.kshlib b/tests/zfs-tests/tests/functional/inheritance/inherit.kshlib index 8967a0fbc12..5a558d0e029 100644 --- a/tests/zfs-tests/tests/functional/inheritance/inherit.kshlib +++ b/tests/zfs-tests/tests/functional/inheritance/inherit.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh b/tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh index 1f203e1dc55..d8a6541d1b4 100755 --- a/tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state001.cfg b/tests/zfs-tests/tests/functional/inheritance/state001.cfg index 4fbdcd6e212..d19362a83b7 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state001.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state001.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state002.cfg b/tests/zfs-tests/tests/functional/inheritance/state002.cfg index f368be370c2..d5fb1a90f51 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state002.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state002.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state003.cfg b/tests/zfs-tests/tests/functional/inheritance/state003.cfg index 06b092dd380..1bba1e26d3d 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state003.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state003.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state004.cfg b/tests/zfs-tests/tests/functional/inheritance/state004.cfg index e679e449d85..4614e806da0 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state004.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state004.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state005.cfg b/tests/zfs-tests/tests/functional/inheritance/state005.cfg index da7a4f9d4e8..94581d77edf 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state005.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state005.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state006.cfg b/tests/zfs-tests/tests/functional/inheritance/state006.cfg index 93d90c86cbb..7b0b023817a 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state006.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state006.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state007.cfg b/tests/zfs-tests/tests/functional/inheritance/state007.cfg index 871287b1587..2906a55dc53 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state007.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state007.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state008.cfg b/tests/zfs-tests/tests/functional/inheritance/state008.cfg index 4b1cfbd09cb..b4e71f3884f 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state008.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state008.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state009.cfg b/tests/zfs-tests/tests/functional/inheritance/state009.cfg index 19ee507ef80..493bb57678e 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state009.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state009.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state010.cfg b/tests/zfs-tests/tests/functional/inheritance/state010.cfg index 57c29d6e3e0..4ff716347f4 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state010.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state010.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state011.cfg b/tests/zfs-tests/tests/functional/inheritance/state011.cfg index 5eb33af00b3..d6feb031632 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state011.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state011.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state012.cfg b/tests/zfs-tests/tests/functional/inheritance/state012.cfg index afe1d0d947f..35ad5e4514b 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state012.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state012.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state013.cfg b/tests/zfs-tests/tests/functional/inheritance/state013.cfg index 49f2c242cb7..0225bf1339c 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state013.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state013.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state014.cfg b/tests/zfs-tests/tests/functional/inheritance/state014.cfg index e6418e3e5a8..e634f2c05be 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state014.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state014.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state015.cfg b/tests/zfs-tests/tests/functional/inheritance/state015.cfg index c8228f08092..e7bb6031cc7 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state015.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state015.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state016.cfg b/tests/zfs-tests/tests/functional/inheritance/state016.cfg index c830287d2a7..9e520f39609 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state016.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state016.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state017.cfg b/tests/zfs-tests/tests/functional/inheritance/state017.cfg index 09d061340af..4387b3f06d5 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state017.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state017.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state018.cfg b/tests/zfs-tests/tests/functional/inheritance/state018.cfg index f718c83395d..0866240a4ad 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state018.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state018.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state019.cfg b/tests/zfs-tests/tests/functional/inheritance/state019.cfg index 484e9e02c68..2a63cf9ed77 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state019.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state019.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state020.cfg b/tests/zfs-tests/tests/functional/inheritance/state020.cfg index 5a4ec6a6f7e..20a4359d061 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state020.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state020.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state021.cfg b/tests/zfs-tests/tests/functional/inheritance/state021.cfg index 231530a1477..be03a38b9e4 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state021.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state021.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state022.cfg b/tests/zfs-tests/tests/functional/inheritance/state022.cfg index 990215766aa..905863ee84e 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state022.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state022.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state023.cfg b/tests/zfs-tests/tests/functional/inheritance/state023.cfg index 4f9091c6790..7490ce4ca4e 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state023.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state023.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inheritance/state024.cfg b/tests/zfs-tests/tests/functional/inheritance/state024.cfg index cd67aaf6728..a41571a9f13 100644 --- a/tests/zfs-tests/tests/functional/inheritance/state024.cfg +++ b/tests/zfs-tests/tests/functional/inheritance/state024.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inuse/inuse.cfg b/tests/zfs-tests/tests/functional/inuse/inuse.cfg index 2514f89e78e..32fcdf40b06 100644 --- a/tests/zfs-tests/tests/functional/inuse/inuse.cfg +++ b/tests/zfs-tests/tests/functional/inuse/inuse.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh b/tests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh index 17e1169175e..e5098840e0e 100755 --- a/tests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inuse/inuse_003_pos.ksh b/tests/zfs-tests/tests/functional/inuse/inuse_003_pos.ksh index 385b88bdc6b..9fde9ed648d 100755 --- a/tests/zfs-tests/tests/functional/inuse/inuse_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/inuse/inuse_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh b/tests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh index 054c6e5ac8b..db3dfec42a4 100755 --- a/tests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inuse/inuse_005_pos.ksh b/tests/zfs-tests/tests/functional/inuse/inuse_005_pos.ksh index f50fd2ff91d..d9b2ec3b817 100755 --- a/tests/zfs-tests/tests/functional/inuse/inuse_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/inuse/inuse_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inuse/inuse_006_pos.ksh b/tests/zfs-tests/tests/functional/inuse/inuse_006_pos.ksh index 0d2c2ded026..e1234119bfe 100755 --- a/tests/zfs-tests/tests/functional/inuse/inuse_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/inuse/inuse_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inuse/inuse_007_pos.ksh b/tests/zfs-tests/tests/functional/inuse/inuse_007_pos.ksh index d3e580a6f53..2ef100f7a88 100755 --- a/tests/zfs-tests/tests/functional/inuse/inuse_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/inuse/inuse_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh b/tests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh index 68bf19f0abc..520fbdeea14 100755 --- a/tests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inuse/inuse_009_pos.ksh b/tests/zfs-tests/tests/functional/inuse/inuse_009_pos.ksh index 64fe05b422d..8857fc76c08 100755 --- a/tests/zfs-tests/tests/functional/inuse/inuse_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/inuse/inuse_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/inuse/setup.ksh b/tests/zfs-tests/tests/functional/inuse/setup.ksh index 14cdb6798a9..94c7090e2a2 100755 --- a/tests/zfs-tests/tests/functional/inuse/setup.ksh +++ b/tests/zfs-tests/tests/functional/inuse/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/io/cleanup.ksh b/tests/zfs-tests/tests/functional/io/cleanup.ksh index 5bd79c0070f..dbb671c4173 100755 --- a/tests/zfs-tests/tests/functional/io/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/io/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/io/io.cfg b/tests/zfs-tests/tests/functional/io/io.cfg index 9312ad1e143..e51b4c0abc1 100644 --- a/tests/zfs-tests/tests/functional/io/io.cfg +++ b/tests/zfs-tests/tests/functional/io/io.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/io/io_uring.ksh b/tests/zfs-tests/tests/functional/io/io_uring.ksh index f14b9f45082..0b55eda01d9 100755 --- a/tests/zfs-tests/tests/functional/io/io_uring.ksh +++ b/tests/zfs-tests/tests/functional/io/io_uring.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/io/libaio.ksh b/tests/zfs-tests/tests/functional/io/libaio.ksh index 242b2ca8de3..a6fef30bc91 100755 --- a/tests/zfs-tests/tests/functional/io/libaio.ksh +++ b/tests/zfs-tests/tests/functional/io/libaio.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/io/mmap.ksh b/tests/zfs-tests/tests/functional/io/mmap.ksh index 112267ee20d..89d22ba1c0f 100755 --- a/tests/zfs-tests/tests/functional/io/mmap.ksh +++ b/tests/zfs-tests/tests/functional/io/mmap.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/io/posixaio.ksh b/tests/zfs-tests/tests/functional/io/posixaio.ksh index 52331027cdd..371c482165a 100755 --- a/tests/zfs-tests/tests/functional/io/posixaio.ksh +++ b/tests/zfs-tests/tests/functional/io/posixaio.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/io/psync.ksh b/tests/zfs-tests/tests/functional/io/psync.ksh index 5227fcbdd44..19c8ea41e74 100755 --- a/tests/zfs-tests/tests/functional/io/psync.ksh +++ b/tests/zfs-tests/tests/functional/io/psync.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/io/setup.ksh b/tests/zfs-tests/tests/functional/io/setup.ksh index 29d26711589..82397150a22 100755 --- a/tests/zfs-tests/tests/functional/io/setup.ksh +++ b/tests/zfs-tests/tests/functional/io/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/io/sync.ksh b/tests/zfs-tests/tests/functional/io/sync.ksh index 76248a38a51..76b67fca8ba 100755 --- a/tests/zfs-tests/tests/functional/io/sync.ksh +++ b/tests/zfs-tests/tests/functional/io/sync.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/l2arc/cleanup.ksh b/tests/zfs-tests/tests/functional/l2arc/cleanup.ksh index c3d88e3ffc7..cbb71237ecd 100755 --- a/tests/zfs-tests/tests/functional/l2arc/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/l2arc/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/l2arc/l2arc.cfg b/tests/zfs-tests/tests/functional/l2arc/l2arc.cfg index f79123e5b2e..ca61bdf2aa1 100644 --- a/tests/zfs-tests/tests/functional/l2arc/l2arc.cfg +++ b/tests/zfs-tests/tests/functional/l2arc/l2arc.cfg @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/l2arc/l2arc_arcstats_pos.ksh b/tests/zfs-tests/tests/functional/l2arc/l2arc_arcstats_pos.ksh index dc6bb9f9a16..6d878fe6c37 100755 --- a/tests/zfs-tests/tests/functional/l2arc/l2arc_arcstats_pos.ksh +++ b/tests/zfs-tests/tests/functional/l2arc/l2arc_arcstats_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/l2arc/l2arc_l2miss_pos.ksh b/tests/zfs-tests/tests/functional/l2arc/l2arc_l2miss_pos.ksh index 8a9e4fa41b7..fe7f98b2410 100755 --- a/tests/zfs-tests/tests/functional/l2arc/l2arc_l2miss_pos.ksh +++ b/tests/zfs-tests/tests/functional/l2arc/l2arc_l2miss_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/l2arc/l2arc_mfuonly_pos.ksh b/tests/zfs-tests/tests/functional/l2arc/l2arc_mfuonly_pos.ksh index 2c5fc675315..9429b0db642 100755 --- a/tests/zfs-tests/tests/functional/l2arc/l2arc_mfuonly_pos.ksh +++ b/tests/zfs-tests/tests/functional/l2arc/l2arc_mfuonly_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_001_pos.ksh b/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_001_pos.ksh index a999f96971f..3a56413265d 100755 --- a/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_002_pos.ksh b/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_002_pos.ksh index 4c6bc2e2e72..4412b1f172e 100755 --- a/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_003_neg.ksh b/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_003_neg.ksh index 104d1d484ff..8a783d94037 100755 --- a/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_004_pos.ksh b/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_004_pos.ksh index 6460b9a0e7a..fd916978279 100755 --- a/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_005_pos.ksh b/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_005_pos.ksh index ce379a566f1..cd929388ab6 100755 --- a/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/l2arc/persist_l2arc_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/l2arc/setup.ksh b/tests/zfs-tests/tests/functional/l2arc/setup.ksh index 0df61a9d276..e9899b8b076 100755 --- a/tests/zfs-tests/tests/functional/l2arc/setup.ksh +++ b/tests/zfs-tests/tests/functional/l2arc/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/large_files/cleanup.ksh b/tests/zfs-tests/tests/functional/large_files/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/large_files/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/large_files/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh b/tests/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh index aebc8b2647d..7de64ac677d 100755 --- a/tests/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/large_files/large_files_002_pos.ksh b/tests/zfs-tests/tests/functional/large_files/large_files_002_pos.ksh index e0014d64350..f6363439f7f 100755 --- a/tests/zfs-tests/tests/functional/large_files/large_files_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/large_files/large_files_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/large_files/setup.ksh b/tests/zfs-tests/tests/functional/large_files/setup.ksh index d617f361b24..a40bc37b0c1 100755 --- a/tests/zfs-tests/tests/functional/large_files/setup.ksh +++ b/tests/zfs-tests/tests/functional/large_files/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/largest_pool/largest_pool.cfg b/tests/zfs-tests/tests/functional/largest_pool/largest_pool.cfg index 9306c799ec5..0a4a2b57744 100644 --- a/tests/zfs-tests/tests/functional/largest_pool/largest_pool.cfg +++ b/tests/zfs-tests/tests/functional/largest_pool/largest_pool.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/largest_pool/largest_pool_001_pos.ksh b/tests/zfs-tests/tests/functional/largest_pool/largest_pool_001_pos.ksh index 85f25c7618c..c4fdef55c7e 100755 --- a/tests/zfs-tests/tests/functional/largest_pool/largest_pool_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/largest_pool/largest_pool_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/libzfs/cleanup.ksh b/tests/zfs-tests/tests/functional/libzfs/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/libzfs/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/libzfs/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/libzfs/libzfs_input.ksh b/tests/zfs-tests/tests/functional/libzfs/libzfs_input.ksh index bc39c0367be..20f5b091b03 100755 --- a/tests/zfs-tests/tests/functional/libzfs/libzfs_input.ksh +++ b/tests/zfs-tests/tests/functional/libzfs/libzfs_input.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/libzfs/many_fds.c b/tests/zfs-tests/tests/functional/libzfs/many_fds.c index 6e0b1fd4b4a..fceb5a7892c 100644 --- a/tests/zfs-tests/tests/functional/libzfs/many_fds.c +++ b/tests/zfs-tests/tests/functional/libzfs/many_fds.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/tests/functional/libzfs/setup.ksh b/tests/zfs-tests/tests/functional/libzfs/setup.ksh index b756d4e76c8..5c28fed40c7 100755 --- a/tests/zfs-tests/tests/functional/libzfs/setup.ksh +++ b/tests/zfs-tests/tests/functional/libzfs/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/limits/cleanup.ksh b/tests/zfs-tests/tests/functional/limits/cleanup.ksh index 2a84ab4438b..293f9fc5f84 100755 --- a/tests/zfs-tests/tests/functional/limits/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/limits/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/limits/filesystem_count.ksh b/tests/zfs-tests/tests/functional/limits/filesystem_count.ksh index e9f839ca8ad..7e0e5dd2ccd 100755 --- a/tests/zfs-tests/tests/functional/limits/filesystem_count.ksh +++ b/tests/zfs-tests/tests/functional/limits/filesystem_count.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/limits/filesystem_limit.ksh b/tests/zfs-tests/tests/functional/limits/filesystem_limit.ksh index fbfc141be3e..d1ef39030ce 100755 --- a/tests/zfs-tests/tests/functional/limits/filesystem_limit.ksh +++ b/tests/zfs-tests/tests/functional/limits/filesystem_limit.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/limits/setup.ksh b/tests/zfs-tests/tests/functional/limits/setup.ksh index 94f3e7b4d47..5c628360d8d 100755 --- a/tests/zfs-tests/tests/functional/limits/setup.ksh +++ b/tests/zfs-tests/tests/functional/limits/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/limits/snapshot_count.ksh b/tests/zfs-tests/tests/functional/limits/snapshot_count.ksh index ac4a47ddc74..7abe15f4a12 100755 --- a/tests/zfs-tests/tests/functional/limits/snapshot_count.ksh +++ b/tests/zfs-tests/tests/functional/limits/snapshot_count.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/limits/snapshot_limit.ksh b/tests/zfs-tests/tests/functional/limits/snapshot_limit.ksh index 62f14466e69..8bfc729c5f9 100755 --- a/tests/zfs-tests/tests/functional/limits/snapshot_limit.ksh +++ b/tests/zfs-tests/tests/functional/limits/snapshot_limit.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/link_count/cleanup.ksh b/tests/zfs-tests/tests/functional/link_count/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/link_count/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/link_count/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/link_count/link_count_001.ksh b/tests/zfs-tests/tests/functional/link_count/link_count_001.ksh index d3020c99c95..8b92eb47961 100755 --- a/tests/zfs-tests/tests/functional/link_count/link_count_001.ksh +++ b/tests/zfs-tests/tests/functional/link_count/link_count_001.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/link_count/link_count_root_inode.ksh b/tests/zfs-tests/tests/functional/link_count/link_count_root_inode.ksh index d2bf30ac37c..435300aa036 100755 --- a/tests/zfs-tests/tests/functional/link_count/link_count_root_inode.ksh +++ b/tests/zfs-tests/tests/functional/link_count/link_count_root_inode.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/link_count/setup.ksh b/tests/zfs-tests/tests/functional/link_count/setup.ksh index 76aa23035dd..9e1eb26ef76 100755 --- a/tests/zfs-tests/tests/functional/link_count/setup.ksh +++ b/tests/zfs-tests/tests/functional/link_count/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/log_spacemap/log_spacemap_import_logs.ksh b/tests/zfs-tests/tests/functional/log_spacemap/log_spacemap_import_logs.ksh index d16574d3a8f..c0e51b3f235 100755 --- a/tests/zfs-tests/tests/functional/log_spacemap/log_spacemap_import_logs.ksh +++ b/tests/zfs-tests/tests/functional/log_spacemap/log_spacemap_import_logs.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/longname/cleanup.ksh b/tests/zfs-tests/tests/functional/longname/cleanup.ksh index aac8062ec40..1e9eb87fa94 100755 --- a/tests/zfs-tests/tests/functional/longname/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/longname/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/longname/longname_001_pos.ksh b/tests/zfs-tests/tests/functional/longname/longname_001_pos.ksh index b7010fe0fc8..d201ee746d9 100755 --- a/tests/zfs-tests/tests/functional/longname/longname_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/longname/longname_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/longname/longname_002_pos.ksh b/tests/zfs-tests/tests/functional/longname/longname_002_pos.ksh index dd2acabb3e0..aa55ef7d5c0 100755 --- a/tests/zfs-tests/tests/functional/longname/longname_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/longname/longname_002_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/longname/longname_003_pos.ksh b/tests/zfs-tests/tests/functional/longname/longname_003_pos.ksh index f684b514399..5d3081884f8 100755 --- a/tests/zfs-tests/tests/functional/longname/longname_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/longname/longname_003_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/longname/setup.ksh b/tests/zfs-tests/tests/functional/longname/setup.ksh index 3f6759469b7..63650f58188 100755 --- a/tests/zfs-tests/tests/functional/longname/setup.ksh +++ b/tests/zfs-tests/tests/functional/longname/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/luks/luks_sanity.ksh b/tests/zfs-tests/tests/functional/luks/luks_sanity.ksh index 9cee26503de..39a3fde35e7 100755 --- a/tests/zfs-tests/tests/functional/luks/luks_sanity.ksh +++ b/tests/zfs-tests/tests/functional/luks/luks_sanity.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/cleanup.ksh b/tests/zfs-tests/tests/functional/migration/cleanup.ksh index c9f1833be10..a0ad59b7c72 100755 --- a/tests/zfs-tests/tests/functional/migration/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/migration/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration.cfg b/tests/zfs-tests/tests/functional/migration/migration.cfg index 7d606f6d9a1..81810c87262 100644 --- a/tests/zfs-tests/tests/functional/migration/migration.cfg +++ b/tests/zfs-tests/tests/functional/migration/migration.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration.kshlib b/tests/zfs-tests/tests/functional/migration/migration.kshlib index 7078f93a559..bffbb5150f7 100644 --- a/tests/zfs-tests/tests/functional/migration/migration.kshlib +++ b/tests/zfs-tests/tests/functional/migration/migration.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_001_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_001_pos.ksh index 8e0cdf8034d..b43b137b124 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_002_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_002_pos.ksh index fe8aee004b9..227e25f19de 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_003_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_003_pos.ksh index 3d9ba5691d5..2dcee9e982f 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_004_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_004_pos.ksh index c3b7b73b7e5..4d5de0169cd 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_005_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_005_pos.ksh index c48c8d6bc57..c1cb721a04e 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_006_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_006_pos.ksh index 893a9bc50fc..eade22483c7 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_007_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_007_pos.ksh index 80b7749d680..5493fb41fdc 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_008_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_008_pos.ksh index 5fdcc5f90c5..1464e5b61b0 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_009_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_009_pos.ksh index c91946067ef..5e9f07c7e79 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_010_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_010_pos.ksh index 62ccccb1613..7449df95832 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_011_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_011_pos.ksh index 9718fefb406..a00603f806f 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_011_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/migration_012_pos.ksh b/tests/zfs-tests/tests/functional/migration/migration_012_pos.ksh index 243136e768b..dd9e6aba51e 100755 --- a/tests/zfs-tests/tests/functional/migration/migration_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/migration/migration_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/migration/setup.ksh b/tests/zfs-tests/tests/functional/migration/setup.ksh index 5aa4d058ce5..0d0c080c152 100755 --- a/tests/zfs-tests/tests/functional/migration/setup.ksh +++ b/tests/zfs-tests/tests/functional/migration/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmap/cleanup.ksh b/tests/zfs-tests/tests/functional/mmap/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/mmap/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/mmap/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmap/mmap.cfg b/tests/zfs-tests/tests/functional/mmap/mmap.cfg index a331c5b2aa4..83ab007efec 100644 --- a/tests/zfs-tests/tests/functional/mmap/mmap.cfg +++ b/tests/zfs-tests/tests/functional/mmap/mmap.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmap/mmap_libaio_001_pos.ksh b/tests/zfs-tests/tests/functional/mmap/mmap_libaio_001_pos.ksh index b9e9a8a3c13..ac941b3e652 100755 --- a/tests/zfs-tests/tests/functional/mmap/mmap_libaio_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/mmap/mmap_libaio_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmap/mmap_mixed.ksh b/tests/zfs-tests/tests/functional/mmap/mmap_mixed.ksh index 6c8246d48ac..d0a8e7e6725 100755 --- a/tests/zfs-tests/tests/functional/mmap/mmap_mixed.ksh +++ b/tests/zfs-tests/tests/functional/mmap/mmap_mixed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmap/mmap_read_001_pos.ksh b/tests/zfs-tests/tests/functional/mmap/mmap_read_001_pos.ksh index acef0676f5c..0287f84774b 100755 --- a/tests/zfs-tests/tests/functional/mmap/mmap_read_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/mmap/mmap_read_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmap/mmap_seek_001_pos.ksh b/tests/zfs-tests/tests/functional/mmap/mmap_seek_001_pos.ksh index c09746b4b66..367a5c69358 100755 --- a/tests/zfs-tests/tests/functional/mmap/mmap_seek_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/mmap/mmap_seek_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmap/mmap_sync_001_pos.ksh b/tests/zfs-tests/tests/functional/mmap/mmap_sync_001_pos.ksh index b764d6607ba..a8918ed6a93 100755 --- a/tests/zfs-tests/tests/functional/mmap/mmap_sync_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/mmap/mmap_sync_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh b/tests/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh index 9de0471a9b6..167ed0f54cd 100755 --- a/tests/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmap/setup.ksh b/tests/zfs-tests/tests/functional/mmap/setup.ksh index 76aa23035dd..9e1eb26ef76 100755 --- a/tests/zfs-tests/tests/functional/mmap/setup.ksh +++ b/tests/zfs-tests/tests/functional/mmap/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/cleanup.ksh b/tests/zfs-tests/tests/functional/mmp/cleanup.ksh index b41d6ccbeb7..d16cb24df40 100755 --- a/tests/zfs-tests/tests/functional/mmp/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/mmp/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp.cfg b/tests/zfs-tests/tests/functional/mmp/mmp.cfg index 9f7e76e2701..18c43424eb3 100644 --- a/tests/zfs-tests/tests/functional/mmp/mmp.cfg +++ b/tests/zfs-tests/tests/functional/mmp/mmp.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp.kshlib b/tests/zfs-tests/tests/functional/mmp/mmp.kshlib index 01e4f2b735f..bd29c508021 100644 --- a/tests/zfs-tests/tests/functional/mmp/mmp.kshlib +++ b/tests/zfs-tests/tests/functional/mmp/mmp.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_active_import.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_active_import.ksh index c4ed894826a..62a5262a62c 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_active_import.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_active_import.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_exported_import.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_exported_import.ksh index 3d67deb02c5..1cc55213f5d 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_exported_import.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_exported_import.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_hostid.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_hostid.ksh index e3c6e34f4bc..6144db85cfb 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_hostid.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_hostid.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_inactive_import.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_inactive_import.ksh index 6e7bb637548..7aeb0c6f4d2 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_inactive_import.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_inactive_import.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_interval.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_interval.ksh index 0c080ab5d31..d36b65555c4 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_interval.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_interval.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_on_off.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_on_off.ksh index 513b7d31f9c..2dcebd43250 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_on_off.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_on_off.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_on_thread.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_on_thread.ksh index cd82fa47e23..8b8d6dc4461 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_on_thread.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_on_thread.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh index 007288a78f4..284ca92839a 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_on_zdb.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_on_zdb.ksh index 131fd21e881..10e65c79fd4 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_on_zdb.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_on_zdb.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_reset_interval.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_reset_interval.ksh index 6063c6a3796..e5273aa91ef 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_reset_interval.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_reset_interval.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_write_distribution.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_write_distribution.ksh index 6f34974770d..f7e5ceb927f 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_write_distribution.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_write_distribution.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_write_slow_disk.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_write_slow_disk.ksh index e45aedd450d..dcb4b5d3d57 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_write_slow_disk.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_write_slow_disk.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_write_uberblocks.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_write_uberblocks.ksh index e287f41983d..51839b4238b 100755 --- a/tests/zfs-tests/tests/functional/mmp/mmp_write_uberblocks.ksh +++ b/tests/zfs-tests/tests/functional/mmp/mmp_write_uberblocks.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/multihost_history.ksh b/tests/zfs-tests/tests/functional/mmp/multihost_history.ksh index e831475dbcb..cbffd28f660 100755 --- a/tests/zfs-tests/tests/functional/mmp/multihost_history.ksh +++ b/tests/zfs-tests/tests/functional/mmp/multihost_history.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mmp/setup.ksh b/tests/zfs-tests/tests/functional/mmp/setup.ksh index b1e5431c842..94a19b042ae 100755 --- a/tests/zfs-tests/tests/functional/mmp/setup.ksh +++ b/tests/zfs-tests/tests/functional/mmp/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mount/cleanup.ksh b/tests/zfs-tests/tests/functional/mount/cleanup.ksh index 0e88e2a1fc7..234798bfc79 100755 --- a/tests/zfs-tests/tests/functional/mount/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/mount/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mount/setup.ksh b/tests/zfs-tests/tests/functional/mount/setup.ksh index 9b3bc37ce6a..f09a78ba5d7 100755 --- a/tests/zfs-tests/tests/functional/mount/setup.ksh +++ b/tests/zfs-tests/tests/functional/mount/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mount/umount_001.ksh b/tests/zfs-tests/tests/functional/mount/umount_001.ksh index 9e350de66fa..4f93bb7ffc6 100755 --- a/tests/zfs-tests/tests/functional/mount/umount_001.ksh +++ b/tests/zfs-tests/tests/functional/mount/umount_001.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mount/umount_unlinked_drain.ksh b/tests/zfs-tests/tests/functional/mount/umount_unlinked_drain.ksh index 9e93c1784db..c088793af1f 100755 --- a/tests/zfs-tests/tests/functional/mount/umount_unlinked_drain.ksh +++ b/tests/zfs-tests/tests/functional/mount/umount_unlinked_drain.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/mount/umountall_001.ksh b/tests/zfs-tests/tests/functional/mount/umountall_001.ksh index 40c94593ba2..46f522adaff 100755 --- a/tests/zfs-tests/tests/functional/mount/umountall_001.ksh +++ b/tests/zfs-tests/tests/functional/mount/umountall_001.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/mv_files/cleanup.ksh b/tests/zfs-tests/tests/functional/mv_files/cleanup.ksh index 882f9955a4c..c8f39748f2c 100755 --- a/tests/zfs-tests/tests/functional/mv_files/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/mv_files/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mv_files/mv_files.cfg b/tests/zfs-tests/tests/functional/mv_files/mv_files.cfg index 2ee7c08d3c4..767752e5672 100644 --- a/tests/zfs-tests/tests/functional/mv_files/mv_files.cfg +++ b/tests/zfs-tests/tests/functional/mv_files/mv_files.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mv_files/mv_files_001_pos.ksh b/tests/zfs-tests/tests/functional/mv_files/mv_files_001_pos.ksh index fffe8d28565..d22b9ff0c54 100755 --- a/tests/zfs-tests/tests/functional/mv_files/mv_files_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/mv_files/mv_files_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mv_files/mv_files_002_pos.ksh b/tests/zfs-tests/tests/functional/mv_files/mv_files_002_pos.ksh index 7eea345d150..d98d6f920ca 100755 --- a/tests/zfs-tests/tests/functional/mv_files/mv_files_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/mv_files/mv_files_002_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mv_files/mv_files_common.kshlib b/tests/zfs-tests/tests/functional/mv_files/mv_files_common.kshlib index c3827198a6e..8f3922823dd 100644 --- a/tests/zfs-tests/tests/functional/mv_files/mv_files_common.kshlib +++ b/tests/zfs-tests/tests/functional/mv_files/mv_files_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/mv_files/setup.ksh b/tests/zfs-tests/tests/functional/mv_files/setup.ksh index 669a930c632..9b609c7e63e 100755 --- a/tests/zfs-tests/tests/functional/mv_files/setup.ksh +++ b/tests/zfs-tests/tests/functional/mv_files/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/nestedfs/cleanup.ksh b/tests/zfs-tests/tests/functional/nestedfs/cleanup.ksh index 8a6521193e6..4b1abd5c189 100755 --- a/tests/zfs-tests/tests/functional/nestedfs/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/nestedfs/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/nestedfs/nestedfs_001_pos.ksh b/tests/zfs-tests/tests/functional/nestedfs/nestedfs_001_pos.ksh index 84749d60227..80192988a6b 100755 --- a/tests/zfs-tests/tests/functional/nestedfs/nestedfs_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/nestedfs/nestedfs_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/nestedfs/setup.ksh b/tests/zfs-tests/tests/functional/nestedfs/setup.ksh index 1eeefeaa18c..84e6d5d8ac1 100755 --- a/tests/zfs-tests/tests/functional/nestedfs/setup.ksh +++ b/tests/zfs-tests/tests/functional/nestedfs/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/no_space/cleanup.ksh b/tests/zfs-tests/tests/functional/no_space/cleanup.ksh index d1a731f1837..22dd7a7c861 100755 --- a/tests/zfs-tests/tests/functional/no_space/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/no_space/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/no_space/enospc.cfg b/tests/zfs-tests/tests/functional/no_space/enospc.cfg index e8e6065bbc8..82b21d3c16a 100644 --- a/tests/zfs-tests/tests/functional/no_space/enospc.cfg +++ b/tests/zfs-tests/tests/functional/no_space/enospc.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/no_space/enospc_001_pos.ksh b/tests/zfs-tests/tests/functional/no_space/enospc_001_pos.ksh index c6d374635c5..15788595ba4 100755 --- a/tests/zfs-tests/tests/functional/no_space/enospc_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/no_space/enospc_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh b/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh index 0aecbea7eb2..508e4fc3bda 100755 --- a/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/no_space/enospc_003_pos.ksh b/tests/zfs-tests/tests/functional/no_space/enospc_003_pos.ksh index 5ac96962546..a13bb25e95f 100755 --- a/tests/zfs-tests/tests/functional/no_space/enospc_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/no_space/enospc_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/no_space/enospc_df.ksh b/tests/zfs-tests/tests/functional/no_space/enospc_df.ksh index cf788ca7fdf..caf85cb228c 100755 --- a/tests/zfs-tests/tests/functional/no_space/enospc_df.ksh +++ b/tests/zfs-tests/tests/functional/no_space/enospc_df.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/no_space/enospc_ganging.ksh b/tests/zfs-tests/tests/functional/no_space/enospc_ganging.ksh index 9b285ac5f31..ca8e3abde5e 100755 --- a/tests/zfs-tests/tests/functional/no_space/enospc_ganging.ksh +++ b/tests/zfs-tests/tests/functional/no_space/enospc_ganging.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/no_space/enospc_rm.ksh b/tests/zfs-tests/tests/functional/no_space/enospc_rm.ksh index d9582fbe2a7..5ef6868ff16 100755 --- a/tests/zfs-tests/tests/functional/no_space/enospc_rm.ksh +++ b/tests/zfs-tests/tests/functional/no_space/enospc_rm.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/no_space/setup.ksh b/tests/zfs-tests/tests/functional/no_space/setup.ksh index 458a575ed3c..a7f63635995 100755 --- a/tests/zfs-tests/tests/functional/no_space/setup.ksh +++ b/tests/zfs-tests/tests/functional/no_space/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/nopwrite/cleanup.ksh b/tests/zfs-tests/tests/functional/nopwrite/cleanup.ksh index 2d7b69aac8e..03df6c17cf7 100755 --- a/tests/zfs-tests/tests/functional/nopwrite/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/nopwrite/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/nopwrite/nopwrite.shlib b/tests/zfs-tests/tests/functional/nopwrite/nopwrite.shlib index a6d1eb2c769..710a4d8185a 100644 --- a/tests/zfs-tests/tests/functional/nopwrite/nopwrite.shlib +++ b/tests/zfs-tests/tests/functional/nopwrite/nopwrite.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_copies.ksh b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_copies.ksh index 2a61f605b21..adb41f356c5 100755 --- a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_copies.ksh +++ b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_copies.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_mtime.ksh b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_mtime.ksh index 0422bbaca1c..2c20fe50fc8 100755 --- a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_mtime.ksh +++ b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_mtime.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_negative.ksh b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_negative.ksh index 617c34602be..001727af820 100755 --- a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_negative.ksh +++ b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_negative.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_promoted_clone.ksh b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_promoted_clone.ksh index 057c59a3801..b19271ad05b 100755 --- a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_promoted_clone.ksh +++ b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_promoted_clone.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_recsize.ksh b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_recsize.ksh index 38e7ec1ff21..b600a510f2e 100755 --- a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_recsize.ksh +++ b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_recsize.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh index e0721cac198..52f2a8e6eaa 100755 --- a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh +++ b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_varying_compression.ksh b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_varying_compression.ksh index 190bdbd6c6d..b3fdeccc465 100755 --- a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_varying_compression.ksh +++ b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_varying_compression.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_volume.ksh b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_volume.ksh index e0422a3acfd..0cc430cf134 100755 --- a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_volume.ksh +++ b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_volume.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/nopwrite/setup.ksh b/tests/zfs-tests/tests/functional/nopwrite/setup.ksh index 17c68a6381b..9ac29de0efc 100755 --- a/tests/zfs-tests/tests/functional/nopwrite/setup.ksh +++ b/tests/zfs-tests/tests/functional/nopwrite/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/online_offline/cleanup.ksh b/tests/zfs-tests/tests/functional/online_offline/cleanup.ksh index a0555aff06c..aaa353d4cf2 100755 --- a/tests/zfs-tests/tests/functional/online_offline/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/online_offline/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/online_offline/online_offline.cfg b/tests/zfs-tests/tests/functional/online_offline/online_offline.cfg index 18f197b54d4..a9cf8a03d98 100644 --- a/tests/zfs-tests/tests/functional/online_offline/online_offline.cfg +++ b/tests/zfs-tests/tests/functional/online_offline/online_offline.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/online_offline/online_offline_001_pos.ksh b/tests/zfs-tests/tests/functional/online_offline/online_offline_001_pos.ksh index d77103330a3..6ed1b376910 100755 --- a/tests/zfs-tests/tests/functional/online_offline/online_offline_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/online_offline/online_offline_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/online_offline/online_offline_002_neg.ksh b/tests/zfs-tests/tests/functional/online_offline/online_offline_002_neg.ksh index 33244024284..5fe0e04077f 100755 --- a/tests/zfs-tests/tests/functional/online_offline/online_offline_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/online_offline/online_offline_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/online_offline/online_offline_003_neg.ksh b/tests/zfs-tests/tests/functional/online_offline/online_offline_003_neg.ksh index 1ff5b544b62..168483053e3 100755 --- a/tests/zfs-tests/tests/functional/online_offline/online_offline_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/online_offline/online_offline_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/online_offline/setup.ksh b/tests/zfs-tests/tests/functional/online_offline/setup.ksh index 0327c20a73c..3c5688cf23a 100755 --- a/tests/zfs-tests/tests/functional/online_offline/setup.ksh +++ b/tests/zfs-tests/tests/functional/online_offline/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pam/cleanup.ksh b/tests/zfs-tests/tests/functional/pam/cleanup.ksh index 5bb6e518edb..84570755589 100755 --- a/tests/zfs-tests/tests/functional/pam/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/pam/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pam/pam_basic.ksh b/tests/zfs-tests/tests/functional/pam/pam_basic.ksh index dc54b2d253f..4030a6788c4 100755 --- a/tests/zfs-tests/tests/functional/pam/pam_basic.ksh +++ b/tests/zfs-tests/tests/functional/pam/pam_basic.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pam/pam_change_unmounted.ksh b/tests/zfs-tests/tests/functional/pam/pam_change_unmounted.ksh index 91b202f7609..3ca4fb810e3 100755 --- a/tests/zfs-tests/tests/functional/pam/pam_change_unmounted.ksh +++ b/tests/zfs-tests/tests/functional/pam/pam_change_unmounted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pam/pam_mount_recursively.ksh b/tests/zfs-tests/tests/functional/pam/pam_mount_recursively.ksh index 93683da7d7d..7d6b795aba1 100755 --- a/tests/zfs-tests/tests/functional/pam/pam_mount_recursively.ksh +++ b/tests/zfs-tests/tests/functional/pam/pam_mount_recursively.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pam/pam_nounmount.ksh b/tests/zfs-tests/tests/functional/pam/pam_nounmount.ksh index 011a873e5bf..4f5255a104f 100755 --- a/tests/zfs-tests/tests/functional/pam/pam_nounmount.ksh +++ b/tests/zfs-tests/tests/functional/pam/pam_nounmount.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pam/pam_recursive.ksh b/tests/zfs-tests/tests/functional/pam/pam_recursive.ksh index 3714b179b85..723bbb64c8e 100755 --- a/tests/zfs-tests/tests/functional/pam/pam_recursive.ksh +++ b/tests/zfs-tests/tests/functional/pam/pam_recursive.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pam/pam_short_password.ksh b/tests/zfs-tests/tests/functional/pam/pam_short_password.ksh index 079608583a7..be418b97cf9 100755 --- a/tests/zfs-tests/tests/functional/pam/pam_short_password.ksh +++ b/tests/zfs-tests/tests/functional/pam/pam_short_password.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pam/setup.ksh b/tests/zfs-tests/tests/functional/pam/setup.ksh index f08758d2f2d..e0d81c531df 100755 --- a/tests/zfs-tests/tests/functional/pam/setup.ksh +++ b/tests/zfs-tests/tests/functional/pam/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pam/utilities.kshlib.in b/tests/zfs-tests/tests/functional/pam/utilities.kshlib.in index e118255dbd2..f69a0b09717 100644 --- a/tests/zfs-tests/tests/functional/pam/utilities.kshlib.in +++ b/tests/zfs-tests/tests/functional/pam/utilities.kshlib.in @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_after_rewind.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_after_rewind.ksh index c1dec30aa50..cd21b660727 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_after_rewind.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_after_rewind.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_big_rewind.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_big_rewind.ksh index 7e523ef9087..abee9728182 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_big_rewind.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_big_rewind.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_capacity.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_capacity.ksh index b6d34307b3f..3585fbee4c7 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_capacity.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_capacity.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_conf_change.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_conf_change.ksh index 4f783108a93..c01d3170a66 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_conf_change.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_conf_change.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard.ksh index efd46a69b9d..6ddec7fffb3 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_busy.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_busy.ksh index 2bf5ab199e6..6c32668ff4b 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_busy.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_busy.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_many.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_many.ksh index cf0cf6ce9ee..cf97b4130b0 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_many.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_many.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_indirect.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_indirect.ksh index aa14d8ed27f..6dfa8c91a71 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_indirect.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_indirect.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_invalid.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_invalid.ksh index c10f0550c6b..d85b1fe13b3 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_invalid.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_invalid.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_lun_expsz.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_lun_expsz.ksh index 7cfc3b1829b..1621b2e5eae 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_lun_expsz.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_lun_expsz.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_open.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_open.ksh index 018478af8d6..9ba1bdb2270 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_open.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_open.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_removal.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_removal.ksh index 514a0598416..5d0a9cb4168 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_removal.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_removal.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_rewind.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_rewind.ksh index 2a2bb2deed8..e17e275954d 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_rewind.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_rewind.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_ro_rewind.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_ro_rewind.ksh index f326bf0c25d..f138cc5b0d4 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_ro_rewind.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_ro_rewind.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_sm_scale.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_sm_scale.ksh index e24c4eb5525..1773c812f48 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_sm_scale.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_sm_scale.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_twice.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_twice.ksh index 3f1076b94c4..193867c87a6 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_twice.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_twice.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_vdev_add.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_vdev_add.ksh index efb69b7c0ee..887cddc486d 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_vdev_add.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_vdev_add.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zdb.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zdb.ksh index 18ef2309c60..cd4573b2e4d 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zdb.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zdb.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zhack_feat.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zhack_feat.ksh index 815fc857398..bee698f337e 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zhack_feat.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zhack_feat.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/cleanup.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/cleanup.ksh index 5fa03d74f6b..ea7baa1a163 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/pool_checkpoint.kshlib b/tests/zfs-tests/tests/functional/pool_checkpoint/pool_checkpoint.kshlib index bb8bab6cdf4..ce9fefb9d39 100644 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/pool_checkpoint.kshlib +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/pool_checkpoint.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/pool_checkpoint/setup.ksh b/tests/zfs-tests/tests/functional/pool_checkpoint/setup.ksh index 118400cb2a0..0e6caac81ae 100755 --- a/tests/zfs-tests/tests/functional/pool_checkpoint/setup.ksh +++ b/tests/zfs-tests/tests/functional/pool_checkpoint/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh b/tests/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh index 3695feb9493..652e19d840b 100755 --- a/tests/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pool_names/pool_names_002_neg.ksh b/tests/zfs-tests/tests/functional/pool_names/pool_names_002_neg.ksh index 2a688b6bfce..ca40772b432 100755 --- a/tests/zfs-tests/tests/functional/pool_names/pool_names_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/pool_names/pool_names_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/poolversion/cleanup.ksh b/tests/zfs-tests/tests/functional/poolversion/cleanup.ksh index 05d691313b4..d1057300de3 100755 --- a/tests/zfs-tests/tests/functional/poolversion/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/poolversion/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/poolversion/poolversion_001_pos.ksh b/tests/zfs-tests/tests/functional/poolversion/poolversion_001_pos.ksh index f759a1099cb..0655367d508 100755 --- a/tests/zfs-tests/tests/functional/poolversion/poolversion_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/poolversion/poolversion_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/poolversion/poolversion_002_pos.ksh b/tests/zfs-tests/tests/functional/poolversion/poolversion_002_pos.ksh index 1d7e42fcf39..3c4cfd2d7df 100755 --- a/tests/zfs-tests/tests/functional/poolversion/poolversion_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/poolversion/poolversion_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/poolversion/setup.ksh b/tests/zfs-tests/tests/functional/poolversion/setup.ksh index 9532404423d..415efcf4e43 100755 --- a/tests/zfs-tests/tests/functional/poolversion/setup.ksh +++ b/tests/zfs-tests/tests/functional/poolversion/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/privilege/cleanup.ksh b/tests/zfs-tests/tests/functional/privilege/cleanup.ksh index 5acce6dc655..35557aee051 100755 --- a/tests/zfs-tests/tests/functional/privilege/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/privilege/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/privilege/privilege_001_pos.ksh b/tests/zfs-tests/tests/functional/privilege/privilege_001_pos.ksh index 5e8b0d40196..f1a50d25f45 100755 --- a/tests/zfs-tests/tests/functional/privilege/privilege_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/privilege/privilege_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/privilege/privilege_002_pos.ksh b/tests/zfs-tests/tests/functional/privilege/privilege_002_pos.ksh index 705c1a60e26..92557b47be4 100755 --- a/tests/zfs-tests/tests/functional/privilege/privilege_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/privilege/privilege_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/privilege/setup.ksh b/tests/zfs-tests/tests/functional/privilege/setup.ksh index 92b08b209a6..d0c27d2b946 100755 --- a/tests/zfs-tests/tests/functional/privilege/setup.ksh +++ b/tests/zfs-tests/tests/functional/privilege/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/procfs/cleanup.ksh b/tests/zfs-tests/tests/functional/procfs/cleanup.ksh index b3fb51695a2..bf652df601a 100755 --- a/tests/zfs-tests/tests/functional/procfs/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/procfs/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/procfs/pool_state.ksh b/tests/zfs-tests/tests/functional/procfs/pool_state.ksh index bae87637917..8633c3379cd 100755 --- a/tests/zfs-tests/tests/functional/procfs/pool_state.ksh +++ b/tests/zfs-tests/tests/functional/procfs/pool_state.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/procfs/procfs_list_basic.ksh b/tests/zfs-tests/tests/functional/procfs/procfs_list_basic.ksh index 8eb35f85da3..eb5544ec5c8 100755 --- a/tests/zfs-tests/tests/functional/procfs/procfs_list_basic.ksh +++ b/tests/zfs-tests/tests/functional/procfs/procfs_list_basic.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/procfs/procfs_list_concurrent_readers.ksh b/tests/zfs-tests/tests/functional/procfs/procfs_list_concurrent_readers.ksh index 59052ae05c0..cdee02b7921 100755 --- a/tests/zfs-tests/tests/functional/procfs/procfs_list_concurrent_readers.ksh +++ b/tests/zfs-tests/tests/functional/procfs/procfs_list_concurrent_readers.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/procfs/procfs_list_stale_read.ksh b/tests/zfs-tests/tests/functional/procfs/procfs_list_stale_read.ksh index be89e3b8c54..a47aaed32db 100755 --- a/tests/zfs-tests/tests/functional/procfs/procfs_list_stale_read.ksh +++ b/tests/zfs-tests/tests/functional/procfs/procfs_list_stale_read.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/procfs/setup.ksh b/tests/zfs-tests/tests/functional/procfs/setup.ksh index f7d07d5d721..b5c4e4a0333 100755 --- a/tests/zfs-tests/tests/functional/procfs/setup.ksh +++ b/tests/zfs-tests/tests/functional/procfs/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/cleanup.ksh b/tests/zfs-tests/tests/functional/projectquota/cleanup.ksh index fd04aaabc56..8391ea3a813 100755 --- a/tests/zfs-tests/tests/functional/projectquota/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectid_001_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectid_001_pos.ksh index ac5524b49d0..1e7a8a7d8cb 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectid_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectid_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectid_002_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectid_002_pos.ksh index ef87a1cb774..853d07513dc 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectid_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectid_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectid_003_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectid_003_pos.ksh index a66d61b686b..d407fd7cf32 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectid_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectid_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectquota.cfg b/tests/zfs-tests/tests/functional/projectquota/projectquota.cfg index b8a37dbd05b..6a7d5f902ed 100644 --- a/tests/zfs-tests/tests/functional/projectquota/projectquota.cfg +++ b/tests/zfs-tests/tests/functional/projectquota/projectquota.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectquota_001_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectquota_001_pos.ksh index f365bb9df61..b97ede2fc0c 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectquota_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectquota_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectquota_002_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectquota_002_pos.ksh index 7a92649ab4a..f5446145c7a 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectquota_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectquota_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectquota_003_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectquota_003_pos.ksh index 5468759f7e1..82b38560030 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectquota_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectquota_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectquota_004_neg.ksh b/tests/zfs-tests/tests/functional/projectquota/projectquota_004_neg.ksh index a7a39f8fe7f..19f6987b3b4 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectquota_004_neg.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectquota_004_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectquota_005_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectquota_005_pos.ksh index ecd2bb27856..0a5d67adbbd 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectquota_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectquota_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectquota_006_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectquota_006_pos.ksh index 984f4340d92..3c5a87c80b0 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectquota_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectquota_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectquota_007_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectquota_007_pos.ksh index a06551b56c9..a12893e25d3 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectquota_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectquota_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectquota_008_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectquota_008_pos.ksh index 20b64995f64..3369b11ab7c 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectquota_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectquota_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectquota_009_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectquota_009_pos.ksh index 52d896577a9..be2cc615e39 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectquota_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectquota_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectquota_common.kshlib b/tests/zfs-tests/tests/functional/projectquota/projectquota_common.kshlib index eea5b510050..9a77dfddb85 100644 --- a/tests/zfs-tests/tests/functional/projectquota/projectquota_common.kshlib +++ b/tests/zfs-tests/tests/functional/projectquota/projectquota_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectspace_001_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectspace_001_pos.ksh index 97cb13b2343..5e6a0b80ba0 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectspace_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectspace_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectspace_002_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectspace_002_pos.ksh index 6ea68ff3218..95029c47887 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectspace_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectspace_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectspace_003_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectspace_003_pos.ksh index 07b899c2ff1..b960f253926 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectspace_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectspace_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projectspace_004_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projectspace_004_pos.ksh index c928080a36c..c5a97c16036 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projectspace_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projectspace_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projecttree_001_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projecttree_001_pos.ksh index 2e048868fec..f462390ab1a 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projecttree_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projecttree_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projecttree_002_pos.ksh b/tests/zfs-tests/tests/functional/projectquota/projecttree_002_pos.ksh index 2494b8f7ef4..8f71ed50f4a 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projecttree_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projecttree_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/projecttree_003_neg.ksh b/tests/zfs-tests/tests/functional/projectquota/projecttree_003_neg.ksh index ec122301255..9424a073c11 100755 --- a/tests/zfs-tests/tests/functional/projectquota/projecttree_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/projecttree_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/projectquota/setup.ksh b/tests/zfs-tests/tests/functional/projectquota/setup.ksh index 873d706afc0..70dd4bf9c46 100755 --- a/tests/zfs-tests/tests/functional/projectquota/setup.ksh +++ b/tests/zfs-tests/tests/functional/projectquota/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/pyzfs/pyzfs_unittest.ksh.in b/tests/zfs-tests/tests/functional/pyzfs/pyzfs_unittest.ksh.in index 7fa14161a53..1fa297d0298 100755 --- a/tests/zfs-tests/tests/functional/pyzfs/pyzfs_unittest.ksh.in +++ b/tests/zfs-tests/tests/functional/pyzfs/pyzfs_unittest.ksh.in @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/quota/cleanup.ksh b/tests/zfs-tests/tests/functional/quota/cleanup.ksh index 8a6521193e6..4b1abd5c189 100755 --- a/tests/zfs-tests/tests/functional/quota/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/quota/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/quota/quota.cfg b/tests/zfs-tests/tests/functional/quota/quota.cfg index 5cb6ae002db..06c9209b191 100644 --- a/tests/zfs-tests/tests/functional/quota/quota.cfg +++ b/tests/zfs-tests/tests/functional/quota/quota.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/quota/quota.kshlib b/tests/zfs-tests/tests/functional/quota/quota.kshlib index b4cfde020f3..26198cebbd8 100644 --- a/tests/zfs-tests/tests/functional/quota/quota.kshlib +++ b/tests/zfs-tests/tests/functional/quota/quota.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/quota/quota_001_pos.ksh b/tests/zfs-tests/tests/functional/quota/quota_001_pos.ksh index f01008a46bb..527a9ecb92f 100755 --- a/tests/zfs-tests/tests/functional/quota/quota_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/quota/quota_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/quota/quota_002_pos.ksh b/tests/zfs-tests/tests/functional/quota/quota_002_pos.ksh index bea2a5a6869..c95fae9d89e 100755 --- a/tests/zfs-tests/tests/functional/quota/quota_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/quota/quota_002_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/quota/quota_003_pos.ksh b/tests/zfs-tests/tests/functional/quota/quota_003_pos.ksh index 33f6421131f..3e401bed8b0 100755 --- a/tests/zfs-tests/tests/functional/quota/quota_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/quota/quota_003_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/quota/quota_004_pos.ksh b/tests/zfs-tests/tests/functional/quota/quota_004_pos.ksh index 682d09f080a..fd0f13b1317 100755 --- a/tests/zfs-tests/tests/functional/quota/quota_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/quota/quota_004_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/quota/quota_005_pos.ksh b/tests/zfs-tests/tests/functional/quota/quota_005_pos.ksh index 9c4db81ca27..731e892f1f2 100755 --- a/tests/zfs-tests/tests/functional/quota/quota_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/quota/quota_005_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/quota/quota_006_neg.ksh b/tests/zfs-tests/tests/functional/quota/quota_006_neg.ksh index 111d771188e..18aebe27c2d 100755 --- a/tests/zfs-tests/tests/functional/quota/quota_006_neg.ksh +++ b/tests/zfs-tests/tests/functional/quota/quota_006_neg.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/quota/setup.ksh b/tests/zfs-tests/tests/functional/quota/setup.ksh index 8ff0592c763..e6366f40de2 100755 --- a/tests/zfs-tests/tests/functional/quota/setup.ksh +++ b/tests/zfs-tests/tests/functional/quota/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/cleanup.ksh b/tests/zfs-tests/tests/functional/raidz/cleanup.ksh index c5bb8f9b4fa..96a90a45d48 100755 --- a/tests/zfs-tests/tests/functional/raidz/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/raidz/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/raidz_001_neg.ksh b/tests/zfs-tests/tests/functional/raidz/raidz_001_neg.ksh index 9bd616f3a25..ad6faaf7ee5 100755 --- a/tests/zfs-tests/tests/functional/raidz/raidz_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/raidz/raidz_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/raidz_002_pos.ksh b/tests/zfs-tests/tests/functional/raidz/raidz_002_pos.ksh index 4bd11a94036..20a5efe71e3 100755 --- a/tests/zfs-tests/tests/functional/raidz/raidz_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/raidz/raidz_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/raidz_expand_001_pos.ksh b/tests/zfs-tests/tests/functional/raidz/raidz_expand_001_pos.ksh index 125b0e5411a..d0d3c112b0d 100755 --- a/tests/zfs-tests/tests/functional/raidz/raidz_expand_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/raidz/raidz_expand_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/raidz_expand_002_pos.ksh b/tests/zfs-tests/tests/functional/raidz/raidz_expand_002_pos.ksh index 185316a7cb8..b48580c2a2f 100755 --- a/tests/zfs-tests/tests/functional/raidz/raidz_expand_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/raidz/raidz_expand_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/raidz_expand_003_neg.ksh b/tests/zfs-tests/tests/functional/raidz/raidz_expand_003_neg.ksh index a2eb87b1f72..bd2bb47d972 100755 --- a/tests/zfs-tests/tests/functional/raidz/raidz_expand_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/raidz/raidz_expand_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/raidz_expand_003_pos.ksh b/tests/zfs-tests/tests/functional/raidz/raidz_expand_003_pos.ksh index 6f852c516ca..df683561296 100755 --- a/tests/zfs-tests/tests/functional/raidz/raidz_expand_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/raidz/raidz_expand_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/raidz_expand_004_pos.ksh b/tests/zfs-tests/tests/functional/raidz/raidz_expand_004_pos.ksh index 5056e4e4b1f..ffbe827c94a 100755 --- a/tests/zfs-tests/tests/functional/raidz/raidz_expand_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/raidz/raidz_expand_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/raidz_expand_005_pos.ksh b/tests/zfs-tests/tests/functional/raidz/raidz_expand_005_pos.ksh index 49b9f6c1d35..f90f5bbbf11 100755 --- a/tests/zfs-tests/tests/functional/raidz/raidz_expand_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/raidz/raidz_expand_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/raidz_expand_006_neg.ksh b/tests/zfs-tests/tests/functional/raidz/raidz_expand_006_neg.ksh index 35ba8bde239..ad784592553 100755 --- a/tests/zfs-tests/tests/functional/raidz/raidz_expand_006_neg.ksh +++ b/tests/zfs-tests/tests/functional/raidz/raidz_expand_006_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/raidz_expand_007_neg.ksh b/tests/zfs-tests/tests/functional/raidz/raidz_expand_007_neg.ksh index 78294cb9e51..6f35a27c750 100755 --- a/tests/zfs-tests/tests/functional/raidz/raidz_expand_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/raidz/raidz_expand_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/raidz/setup.ksh b/tests/zfs-tests/tests/functional/raidz/setup.ksh index 47821e42915..97921002409 100755 --- a/tests/zfs-tests/tests/functional/raidz/setup.ksh +++ b/tests/zfs-tests/tests/functional/raidz/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redacted_send/cleanup.ksh b/tests/zfs-tests/tests/functional/redacted_send/cleanup.ksh index 2c344f0ed3d..e111eb56a6d 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted.cfg b/tests/zfs-tests/tests/functional/redacted_send/redacted.cfg index 9608b87f107..742228c96de 100644 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted.cfg +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted.kshlib b/tests/zfs-tests/tests/functional/redacted_send/redacted.kshlib index cc1cf041102..40267c8d4ae 100644 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted.kshlib +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted.kshlib @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_compressed.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_compressed.ksh index 0a8bf3903c2..91c82589c0e 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_compressed.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_compressed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_contents.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_contents.ksh index fb12862c953..edcc61013b6 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_contents.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_contents.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_deleted.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_deleted.ksh index ec11610742f..d73394f9372 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_deleted.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_deleted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_disabled_feature.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_disabled_feature.ksh index 3cf73f00167..129ec7f988f 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_disabled_feature.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_disabled_feature.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_embedded.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_embedded.ksh index 35faf038ad8..9f723e3f586 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_embedded.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_embedded.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_holes.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_holes.ksh index d111aa0ef60..75903172465 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_holes.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_holes.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_incrementals.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_incrementals.ksh index 18ea5d68fcf..5b05074fc1c 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_incrementals.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_incrementals.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_largeblocks.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_largeblocks.ksh index ef85bb31dce..bd911a0b16e 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_largeblocks.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_largeblocks.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_many_clones.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_many_clones.ksh index f2150be3bc9..6a9a3a8dbf0 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_many_clones.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_many_clones.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_mixed_recsize.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_mixed_recsize.ksh index e1cd09e17d5..c6d99a02901 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_mixed_recsize.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_mixed_recsize.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_mounts.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_mounts.ksh index c041469163c..c26ba1e4eb1 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_mounts.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_mounts.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_negative.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_negative.ksh index ea5e08c3cb8..6539dc1616c 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_negative.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_negative.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_origin.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_origin.ksh index 74e5914f2d8..6a770fd66e1 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_origin.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_origin.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_panic.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_panic.ksh index 7e4f3f08147..d3015bf2f2e 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_panic.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_panic.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_props.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_props.ksh index 74b71cdf695..0b8ad407470 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_props.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_props.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_resume.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_resume.ksh index 31f7b0ada82..34a6bb02505 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_resume.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_resume.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_size.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_size.ksh index 1634ffe0646..7bc45b718a0 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_size.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_size.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_volume.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_volume.ksh index 2ea10638ce3..b042797be19 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_volume.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_volume.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/redacted_send/setup.ksh b/tests/zfs-tests/tests/functional/redacted_send/setup.ksh index 6e08bec2e82..e4221c06995 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/setup.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/cleanup.ksh b/tests/zfs-tests/tests/functional/redundancy/cleanup.ksh index 1c95d752c5a..955f6192948 100755 --- a/tests/zfs-tests/tests/functional/redundancy/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy.cfg b/tests/zfs-tests/tests/functional/redundancy/redundancy.cfg index 3e7916257ff..7c8e5f82668 100644 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy.cfg +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy.kshlib b/tests/zfs-tests/tests/functional/redundancy/redundancy.kshlib index 297c6a073bb..65435554bdb 100644 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy.kshlib +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid.ksh index df113a98aa3..a1356f61900 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid1.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid1.ksh index a59743592ec..6329cc70e31 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid1.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid1.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid2.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid2.ksh index 48c4a24cb49..19ae9d96166 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid2.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid2.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid3.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid3.ksh index 8e1ad237b5a..27686c51d7c 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid3.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid3.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged1.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged1.ksh index 50d7358411d..cafd6316601 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged1.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged1.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged2.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged2.ksh index ad66f863398..46bf9f95086 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged2.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged2.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare1.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare1.ksh index 8acee156795..b0f312f26e6 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare1.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare1.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare2.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare2.ksh index 08fdd558f92..288f02392b4 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare2.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare2.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare3.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare3.ksh index dd4bca2795b..425c30a4984 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare3.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare3.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_mirror.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_mirror.ksh index 3410ac018b8..65228c71dda 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_mirror.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_mirror.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz.ksh index 7de35c947fe..95e12be1f0f 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz1.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz1.ksh index 5700aa44060..d5da4deed24 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz1.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz1.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz2.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz2.ksh index d73d80114b6..c8d9ac01643 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz2.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz2.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz3.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz3.ksh index 9839d9b6314..59e29189e59 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz3.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_raidz3.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_stripe.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_stripe.ksh index 774226acda9..4a6de7f5fe3 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_stripe.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_stripe.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/redundancy/setup.ksh b/tests/zfs-tests/tests/functional/redundancy/setup.ksh index 0ac48c82a81..34b4f42b1b1 100755 --- a/tests/zfs-tests/tests/functional/redundancy/setup.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refquota/cleanup.ksh b/tests/zfs-tests/tests/functional/refquota/cleanup.ksh index 2f0a02ed8dd..bcf4915fb08 100755 --- a/tests/zfs-tests/tests/functional/refquota/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/refquota/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refquota/refquota_001_pos.ksh b/tests/zfs-tests/tests/functional/refquota/refquota_001_pos.ksh index 6583210ca3e..b4e3523ef29 100755 --- a/tests/zfs-tests/tests/functional/refquota/refquota_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/refquota/refquota_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refquota/refquota_002_pos.ksh b/tests/zfs-tests/tests/functional/refquota/refquota_002_pos.ksh index e2c42529c9d..a6a1492a9d7 100755 --- a/tests/zfs-tests/tests/functional/refquota/refquota_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/refquota/refquota_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refquota/refquota_003_pos.ksh b/tests/zfs-tests/tests/functional/refquota/refquota_003_pos.ksh index 7f7c2ba683f..b9500d028f6 100755 --- a/tests/zfs-tests/tests/functional/refquota/refquota_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/refquota/refquota_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refquota/refquota_004_pos.ksh b/tests/zfs-tests/tests/functional/refquota/refquota_004_pos.ksh index 8051f9af833..3f08bbdda6a 100755 --- a/tests/zfs-tests/tests/functional/refquota/refquota_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/refquota/refquota_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refquota/refquota_005_pos.ksh b/tests/zfs-tests/tests/functional/refquota/refquota_005_pos.ksh index cfccff5f1af..2cc1f57d64f 100755 --- a/tests/zfs-tests/tests/functional/refquota/refquota_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/refquota/refquota_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refquota/refquota_006_neg.ksh b/tests/zfs-tests/tests/functional/refquota/refquota_006_neg.ksh index d0d9d12b081..32e61b45fad 100755 --- a/tests/zfs-tests/tests/functional/refquota/refquota_006_neg.ksh +++ b/tests/zfs-tests/tests/functional/refquota/refquota_006_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh b/tests/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh index 484203549a9..51620e12062 100755 --- a/tests/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refquota/refquota_008_neg.ksh b/tests/zfs-tests/tests/functional/refquota/refquota_008_neg.ksh index 6e4da3621c2..a56691adcb1 100755 --- a/tests/zfs-tests/tests/functional/refquota/refquota_008_neg.ksh +++ b/tests/zfs-tests/tests/functional/refquota/refquota_008_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refquota/setup.ksh b/tests/zfs-tests/tests/functional/refquota/setup.ksh index aae97e80f7b..be7beaeada4 100755 --- a/tests/zfs-tests/tests/functional/refquota/setup.ksh +++ b/tests/zfs-tests/tests/functional/refquota/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refreserv/cleanup.ksh b/tests/zfs-tests/tests/functional/refreserv/cleanup.ksh index 2f0a02ed8dd..bcf4915fb08 100755 --- a/tests/zfs-tests/tests/functional/refreserv/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/refreserv/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refreserv/refreserv.cfg b/tests/zfs-tests/tests/functional/refreserv/refreserv.cfg index 818e7e8283a..5468bbf5992 100644 --- a/tests/zfs-tests/tests/functional/refreserv/refreserv.cfg +++ b/tests/zfs-tests/tests/functional/refreserv/refreserv.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refreserv/refreserv_001_pos.ksh b/tests/zfs-tests/tests/functional/refreserv/refreserv_001_pos.ksh index 82904663b66..4ee9f9eab2f 100755 --- a/tests/zfs-tests/tests/functional/refreserv/refreserv_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/refreserv/refreserv_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refreserv/refreserv_002_pos.ksh b/tests/zfs-tests/tests/functional/refreserv/refreserv_002_pos.ksh index ed45eb782e1..191edde6a6e 100755 --- a/tests/zfs-tests/tests/functional/refreserv/refreserv_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/refreserv/refreserv_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh b/tests/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh index aa910facb98..0c7ba848855 100755 --- a/tests/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refreserv/refreserv_004_pos.ksh b/tests/zfs-tests/tests/functional/refreserv/refreserv_004_pos.ksh index ec67ccf4405..46ad098987b 100755 --- a/tests/zfs-tests/tests/functional/refreserv/refreserv_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/refreserv/refreserv_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refreserv/refreserv_005_pos.ksh b/tests/zfs-tests/tests/functional/refreserv/refreserv_005_pos.ksh index e078e76ad69..1f4a9a627af 100755 --- a/tests/zfs-tests/tests/functional/refreserv/refreserv_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/refreserv/refreserv_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/refreserv/refreserv_multi_raidz.ksh b/tests/zfs-tests/tests/functional/refreserv/refreserv_multi_raidz.ksh index ff79764babd..858e7e043fc 100755 --- a/tests/zfs-tests/tests/functional/refreserv/refreserv_multi_raidz.ksh +++ b/tests/zfs-tests/tests/functional/refreserv/refreserv_multi_raidz.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh b/tests/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh index 0c8de79b3f9..3249bd93d5c 100755 --- a/tests/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh +++ b/tests/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/refreserv/setup.ksh b/tests/zfs-tests/tests/functional/refreserv/setup.ksh index aae97e80f7b..be7beaeada4 100755 --- a/tests/zfs-tests/tests/functional/refreserv/setup.ksh +++ b/tests/zfs-tests/tests/functional/refreserv/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/cleanup.ksh b/tests/zfs-tests/tests/functional/removal/cleanup.ksh index 352a9fe10a2..2529ffef9b9 100755 --- a/tests/zfs-tests/tests/functional/removal/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/removal/cleanup.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal.kshlib b/tests/zfs-tests/tests/functional/removal/removal.kshlib index 664cafd9f39..5651b34fdc3 100644 --- a/tests/zfs-tests/tests/functional/removal/removal.kshlib +++ b/tests/zfs-tests/tests/functional/removal/removal.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_all_vdev.ksh b/tests/zfs-tests/tests/functional/removal/removal_all_vdev.ksh index d3a594689a4..1da3fb0f7ad 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_all_vdev.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_all_vdev.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_cancel.ksh b/tests/zfs-tests/tests/functional/removal/removal_cancel.ksh index e97dc5e77a8..65b6fe597b9 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_cancel.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_cancel.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_check_space.ksh b/tests/zfs-tests/tests/functional/removal/removal_check_space.ksh index da953c0793e..a3b633b28b3 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_check_space.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_check_space.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_condense_export.ksh b/tests/zfs-tests/tests/functional/removal/removal_condense_export.ksh index 8de17ff2e8a..e4774f30857 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_condense_export.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_condense_export.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_multiple_indirection.ksh b/tests/zfs-tests/tests/functional/removal/removal_multiple_indirection.ksh index f6e229c6ae2..712ed4952e3 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_multiple_indirection.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_multiple_indirection.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_nopwrite.ksh b/tests/zfs-tests/tests/functional/removal/removal_nopwrite.ksh index 3533c41cac2..26a9769cbb9 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_nopwrite.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_nopwrite.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_remap_deadlists.ksh b/tests/zfs-tests/tests/functional/removal/removal_remap_deadlists.ksh index 9348022866f..435cfa7b2ab 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_remap_deadlists.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_remap_deadlists.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_reservation.ksh b/tests/zfs-tests/tests/functional/removal/removal_reservation.ksh index daa56c453ba..9295a3cf151 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_reservation.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_reservation.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_resume_export.ksh b/tests/zfs-tests/tests/functional/removal/removal_resume_export.ksh index 142e72754b0..bf9a71eae9f 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_resume_export.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_resume_export.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_sanity.ksh b/tests/zfs-tests/tests/functional/removal/removal_sanity.ksh index e927e3c0e25..1e95fce2920 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_sanity.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_sanity.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_add.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_add.ksh index 18cef3ed421..5c90d19d019 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_add.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_add.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_create_fs.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_create_fs.ksh index 0872fd9faf4..6814c9582f3 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_create_fs.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_create_fs.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_dedup.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_dedup.ksh index ac79b7c1726..ef093604f5e 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_dedup.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_dedup.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_errors.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_errors.ksh index c83189d01bd..026f81eeb64 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_errors.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_errors.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_export.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_export.ksh index 098a52cb9f9..b94841aed15 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_export.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_export.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_faulted.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_faulted.ksh index b3f6a486b3c..feaadebd211 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_faulted.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_faulted.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_ganging.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_ganging.ksh index e3e635998ef..e48eb277f0b 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_ganging.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_ganging.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_hole.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_hole.ksh index 34175fc6439..bb5218eedc1 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_hole.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_hole.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_indirect.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_indirect.ksh index dbbf50dd306..4625af29087 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_indirect.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_indirect.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_remove.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_remove.ksh index df7bc671994..bcfcfd74b78 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_remove.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_remove.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_scrub.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_scrub.ksh index d96c1ce9de1..7494c1e0924 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_scrub.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_scrub.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_send.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_send.ksh index 73557810474..261c6f664db 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_send.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_send.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_send_recv.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_send_recv.ksh index c4b5f7e7686..2c600b77b48 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_send_recv.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_send_recv.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_snapshot.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_snapshot.ksh index a4ec8ddfa6f..0331dc0aa2c 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_snapshot.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_snapshot.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_write.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_write.ksh index 5d37b903e08..e7ca91e108f 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_write.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_write.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/removal_with_zdb.ksh b/tests/zfs-tests/tests/functional/removal/removal_with_zdb.ksh index 5edb9cd931f..849e6b99fc6 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_with_zdb.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_with_zdb.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/remove_attach_mirror.ksh b/tests/zfs-tests/tests/functional/removal/remove_attach_mirror.ksh index ff177c5311d..5a2b6c5b776 100755 --- a/tests/zfs-tests/tests/functional/removal/remove_attach_mirror.ksh +++ b/tests/zfs-tests/tests/functional/removal/remove_attach_mirror.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/remove_expanded.ksh b/tests/zfs-tests/tests/functional/removal/remove_expanded.ksh index b4374c5cec5..226e44566e3 100755 --- a/tests/zfs-tests/tests/functional/removal/remove_expanded.ksh +++ b/tests/zfs-tests/tests/functional/removal/remove_expanded.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/remove_indirect.ksh b/tests/zfs-tests/tests/functional/removal/remove_indirect.ksh index c4ba0d9ac56..4a2d0aa9010 100755 --- a/tests/zfs-tests/tests/functional/removal/remove_indirect.ksh +++ b/tests/zfs-tests/tests/functional/removal/remove_indirect.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/remove_mirror.ksh b/tests/zfs-tests/tests/functional/removal/remove_mirror.ksh index ba288a1f6e8..5d8a2f81a80 100755 --- a/tests/zfs-tests/tests/functional/removal/remove_mirror.ksh +++ b/tests/zfs-tests/tests/functional/removal/remove_mirror.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/remove_mirror_sanity.ksh b/tests/zfs-tests/tests/functional/removal/remove_mirror_sanity.ksh index 21af3965ae7..d8efa82be15 100755 --- a/tests/zfs-tests/tests/functional/removal/remove_mirror_sanity.ksh +++ b/tests/zfs-tests/tests/functional/removal/remove_mirror_sanity.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/removal/remove_raidz.ksh b/tests/zfs-tests/tests/functional/removal/remove_raidz.ksh index e9db5e92b0a..1326a4bfda3 100755 --- a/tests/zfs-tests/tests/functional/removal/remove_raidz.ksh +++ b/tests/zfs-tests/tests/functional/removal/remove_raidz.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rename_dirs/cleanup.ksh b/tests/zfs-tests/tests/functional/rename_dirs/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/rename_dirs/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/rename_dirs/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rename_dirs/rename_dirs_001_pos.ksh b/tests/zfs-tests/tests/functional/rename_dirs/rename_dirs_001_pos.ksh index 10e4be0e258..dedfa038ddb 100755 --- a/tests/zfs-tests/tests/functional/rename_dirs/rename_dirs_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/rename_dirs/rename_dirs_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rename_dirs/setup.ksh b/tests/zfs-tests/tests/functional/rename_dirs/setup.ksh index b756d4e76c8..5c28fed40c7 100755 --- a/tests/zfs-tests/tests/functional/rename_dirs/setup.ksh +++ b/tests/zfs-tests/tests/functional/rename_dirs/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/renameat2/cleanup.ksh b/tests/zfs-tests/tests/functional/renameat2/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/renameat2/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/renameat2/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/renameat2/renameat2_exchange.ksh b/tests/zfs-tests/tests/functional/renameat2/renameat2_exchange.ksh index b9d5d6498bc..7e8a94a7595 100755 --- a/tests/zfs-tests/tests/functional/renameat2/renameat2_exchange.ksh +++ b/tests/zfs-tests/tests/functional/renameat2/renameat2_exchange.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/renameat2/renameat2_noreplace.ksh b/tests/zfs-tests/tests/functional/renameat2/renameat2_noreplace.ksh index c8ce12b1ca8..7ebedfa91a1 100755 --- a/tests/zfs-tests/tests/functional/renameat2/renameat2_noreplace.ksh +++ b/tests/zfs-tests/tests/functional/renameat2/renameat2_noreplace.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/renameat2/renameat2_whiteout.ksh b/tests/zfs-tests/tests/functional/renameat2/renameat2_whiteout.ksh index 7e7a3ba5efe..18b06fbc12b 100755 --- a/tests/zfs-tests/tests/functional/renameat2/renameat2_whiteout.ksh +++ b/tests/zfs-tests/tests/functional/renameat2/renameat2_whiteout.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/renameat2/setup.ksh b/tests/zfs-tests/tests/functional/renameat2/setup.ksh index 9b34b18cd5c..fe9bc366aa6 100755 --- a/tests/zfs-tests/tests/functional/renameat2/setup.ksh +++ b/tests/zfs-tests/tests/functional/renameat2/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/replacement/attach_import.ksh b/tests/zfs-tests/tests/functional/replacement/attach_import.ksh index e2749b164ef..4c2d158b6d5 100755 --- a/tests/zfs-tests/tests/functional/replacement/attach_import.ksh +++ b/tests/zfs-tests/tests/functional/replacement/attach_import.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/replacement/attach_multiple.ksh b/tests/zfs-tests/tests/functional/replacement/attach_multiple.ksh index 5c383534917..6c9707fc1ac 100755 --- a/tests/zfs-tests/tests/functional/replacement/attach_multiple.ksh +++ b/tests/zfs-tests/tests/functional/replacement/attach_multiple.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/replacement/attach_rebuild.ksh b/tests/zfs-tests/tests/functional/replacement/attach_rebuild.ksh index 8b4cb9da2d2..6e414027ef1 100755 --- a/tests/zfs-tests/tests/functional/replacement/attach_rebuild.ksh +++ b/tests/zfs-tests/tests/functional/replacement/attach_rebuild.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/replacement/attach_resilver.ksh b/tests/zfs-tests/tests/functional/replacement/attach_resilver.ksh index 724a7865fe6..9b5bcb9e238 100755 --- a/tests/zfs-tests/tests/functional/replacement/attach_resilver.ksh +++ b/tests/zfs-tests/tests/functional/replacement/attach_resilver.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/replacement/cleanup.ksh b/tests/zfs-tests/tests/functional/replacement/cleanup.ksh index a0555aff06c..aaa353d4cf2 100755 --- a/tests/zfs-tests/tests/functional/replacement/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/replacement/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/replacement/detach.ksh b/tests/zfs-tests/tests/functional/replacement/detach.ksh index c563a015ad9..b0d1d502be5 100755 --- a/tests/zfs-tests/tests/functional/replacement/detach.ksh +++ b/tests/zfs-tests/tests/functional/replacement/detach.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/replacement/rebuild_disabled_feature.ksh b/tests/zfs-tests/tests/functional/replacement/rebuild_disabled_feature.ksh index 5e86a8ccb8a..296f8367122 100755 --- a/tests/zfs-tests/tests/functional/replacement/rebuild_disabled_feature.ksh +++ b/tests/zfs-tests/tests/functional/replacement/rebuild_disabled_feature.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/replacement/rebuild_multiple.ksh b/tests/zfs-tests/tests/functional/replacement/rebuild_multiple.ksh index 2cb971a1caf..6bb1498d4e9 100755 --- a/tests/zfs-tests/tests/functional/replacement/rebuild_multiple.ksh +++ b/tests/zfs-tests/tests/functional/replacement/rebuild_multiple.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/replacement/rebuild_raidz.ksh b/tests/zfs-tests/tests/functional/replacement/rebuild_raidz.ksh index 26dc6f87b26..c8bde73af22 100755 --- a/tests/zfs-tests/tests/functional/replacement/rebuild_raidz.ksh +++ b/tests/zfs-tests/tests/functional/replacement/rebuild_raidz.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/replacement/replace_import.ksh b/tests/zfs-tests/tests/functional/replacement/replace_import.ksh index 37d3c6645c3..cbd04cdbe4f 100755 --- a/tests/zfs-tests/tests/functional/replacement/replace_import.ksh +++ b/tests/zfs-tests/tests/functional/replacement/replace_import.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/replacement/replace_rebuild.ksh b/tests/zfs-tests/tests/functional/replacement/replace_rebuild.ksh index ea1fabdbbeb..905291a8558 100755 --- a/tests/zfs-tests/tests/functional/replacement/replace_rebuild.ksh +++ b/tests/zfs-tests/tests/functional/replacement/replace_rebuild.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/replacement/replace_resilver.ksh b/tests/zfs-tests/tests/functional/replacement/replace_resilver.ksh index bdca3c77258..796ceaabe57 100755 --- a/tests/zfs-tests/tests/functional/replacement/replace_resilver.ksh +++ b/tests/zfs-tests/tests/functional/replacement/replace_resilver.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/replacement/replacement.cfg b/tests/zfs-tests/tests/functional/replacement/replacement.cfg index 9e82a4ccd50..b33945b3a90 100644 --- a/tests/zfs-tests/tests/functional/replacement/replacement.cfg +++ b/tests/zfs-tests/tests/functional/replacement/replacement.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/replacement/resilver_restart_001.ksh b/tests/zfs-tests/tests/functional/replacement/resilver_restart_001.ksh index 101fa410bdb..e9a0680584c 100755 --- a/tests/zfs-tests/tests/functional/replacement/resilver_restart_001.ksh +++ b/tests/zfs-tests/tests/functional/replacement/resilver_restart_001.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/replacement/resilver_restart_002.ksh b/tests/zfs-tests/tests/functional/replacement/resilver_restart_002.ksh index bc5bc017768..147938e452a 100755 --- a/tests/zfs-tests/tests/functional/replacement/resilver_restart_002.ksh +++ b/tests/zfs-tests/tests/functional/replacement/resilver_restart_002.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/replacement/scrub_cancel.ksh b/tests/zfs-tests/tests/functional/replacement/scrub_cancel.ksh index a1b48680c20..0782aac1fe2 100755 --- a/tests/zfs-tests/tests/functional/replacement/scrub_cancel.ksh +++ b/tests/zfs-tests/tests/functional/replacement/scrub_cancel.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START diff --git a/tests/zfs-tests/tests/functional/replacement/setup.ksh b/tests/zfs-tests/tests/functional/replacement/setup.ksh index 0327c20a73c..3c5688cf23a 100755 --- a/tests/zfs-tests/tests/functional/replacement/setup.ksh +++ b/tests/zfs-tests/tests/functional/replacement/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/cleanup.ksh b/tests/zfs-tests/tests/functional/reservation/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/reservation/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/reservation/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation.cfg b/tests/zfs-tests/tests/functional/reservation/reservation.cfg index 18d0ead30d6..4312d3e8005 100644 --- a/tests/zfs-tests/tests/functional/reservation/reservation.cfg +++ b/tests/zfs-tests/tests/functional/reservation/reservation.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation.shlib b/tests/zfs-tests/tests/functional/reservation/reservation.shlib index 911c3a908a1..e68f038fe69 100644 --- a/tests/zfs-tests/tests/functional/reservation/reservation.shlib +++ b/tests/zfs-tests/tests/functional/reservation/reservation.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.ksh index dbe4890be86..e2e867bf0f8 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_002_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_002_pos.ksh index eca3f593658..c2ebaca19da 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_003_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_003_pos.ksh index a6e701dcf38..fadfe15f16d 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_004_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_004_pos.ksh index 2b52cd6a07d..8d3c2dfcd0a 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_005_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_005_pos.ksh index e6cfa88990a..f99c5eb95ee 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_006_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_006_pos.ksh index ef7b554de1e..0cd0ca8f9c9 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_007_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_007_pos.ksh index d3db1c7cfbe..8f17a7d8931 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_008_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_008_pos.ksh index 2c7c0c04014..b107af3ecbd 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_009_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_009_pos.ksh index 7fd19ef50b1..5d36f37e046 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_010_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_010_pos.ksh index c575dc7c315..b00f34aec87 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_011_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_011_pos.ksh index d3fcc24bc49..a2aa66f2b68 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_011_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_012_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_012_pos.ksh index 77bf8beb0b9..d3a2f76c737 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_013_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_013_pos.ksh index 7ef2b61e3c8..2fcc25ce07e 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_013_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_014_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_014_pos.ksh index eeefe182798..86b0ec06e4b 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_014_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_014_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_015_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_015_pos.ksh index 2b9d3f98694..fb1d4b1581f 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_015_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_015_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_016_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_016_pos.ksh index 84a80e34323..d70175a2261 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_016_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_016_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_017_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_017_pos.ksh index 486ad397ca1..02383ed784a 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_017_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_017_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_018_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_018_pos.ksh index 717c8371ff1..36b3c0a6a60 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_018_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_018_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_019_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_019_pos.ksh index 45da06a9f42..30000dcbf64 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_019_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_019_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_020_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_020_pos.ksh index 68d46d0a0ee..38d2ae06a18 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_020_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_020_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_021_neg.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_021_neg.ksh index 07da7e96306..741884d8edc 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_021_neg.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_021_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_022_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_022_pos.ksh index 879dc5da5a8..35daa9f61d0 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_022_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_022_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/reservation/setup.ksh b/tests/zfs-tests/tests/functional/reservation/setup.ksh index 6b93b4a7e31..2d5d8422e35 100755 --- a/tests/zfs-tests/tests/functional/reservation/setup.ksh +++ b/tests/zfs-tests/tests/functional/reservation/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rootpool/cleanup.ksh b/tests/zfs-tests/tests/functional/rootpool/cleanup.ksh index c51a3f27bdd..48359b77f5d 100755 --- a/tests/zfs-tests/tests/functional/rootpool/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/rootpool/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rootpool/rootpool_002_neg.ksh b/tests/zfs-tests/tests/functional/rootpool/rootpool_002_neg.ksh index c6c3bf8a52b..f0021406b2b 100755 --- a/tests/zfs-tests/tests/functional/rootpool/rootpool_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/rootpool/rootpool_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rootpool/rootpool_003_neg.ksh b/tests/zfs-tests/tests/functional/rootpool/rootpool_003_neg.ksh index 6dbbc7da39e..ec8f27f2d48 100755 --- a/tests/zfs-tests/tests/functional/rootpool/rootpool_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/rootpool/rootpool_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rootpool/rootpool_007_pos.ksh b/tests/zfs-tests/tests/functional/rootpool/rootpool_007_pos.ksh index a336e6bbb33..9360157c27a 100755 --- a/tests/zfs-tests/tests/functional/rootpool/rootpool_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/rootpool/rootpool_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rootpool/setup.ksh b/tests/zfs-tests/tests/functional/rootpool/setup.ksh index 049bdf066ae..75146ec0ab6 100755 --- a/tests/zfs-tests/tests/functional/rootpool/setup.ksh +++ b/tests/zfs-tests/tests/functional/rootpool/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/cleanup.ksh b/tests/zfs-tests/tests/functional/rsend/cleanup.ksh index 9a6ad98b3fd..5a5cfb82294 100755 --- a/tests/zfs-tests/tests/functional/rsend/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/rsend/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/recv_dedup.ksh b/tests/zfs-tests/tests/functional/rsend/recv_dedup.ksh index ba23c4f6aa3..87ac50141f0 100755 --- a/tests/zfs-tests/tests/functional/rsend/recv_dedup.ksh +++ b/tests/zfs-tests/tests/functional/rsend/recv_dedup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/recv_dedup_encrypted_zvol.ksh b/tests/zfs-tests/tests/functional/rsend/recv_dedup_encrypted_zvol.ksh index daf559d264d..ca7656ca0cc 100755 --- a/tests/zfs-tests/tests/functional/rsend/recv_dedup_encrypted_zvol.ksh +++ b/tests/zfs-tests/tests/functional/rsend/recv_dedup_encrypted_zvol.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend.cfg b/tests/zfs-tests/tests/functional/rsend/rsend.cfg index 9e3422ecad6..03b48f9302e 100644 --- a/tests/zfs-tests/tests/functional/rsend/rsend.cfg +++ b/tests/zfs-tests/tests/functional/rsend/rsend.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend.kshlib b/tests/zfs-tests/tests/functional/rsend/rsend.kshlib index b4fcdd7bbd2..b696d60741c 100644 --- a/tests/zfs-tests/tests/functional/rsend/rsend.kshlib +++ b/tests/zfs-tests/tests/functional/rsend/rsend.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_001_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_001_pos.ksh index b73c2765643..e912caeb172 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_002_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_002_pos.ksh index 111d00eeb63..3134cdadb0c 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_003_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_003_pos.ksh index fa4479c666d..81c126b7d2c 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_004_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_004_pos.ksh index 522662076d2..1d876b8c255 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_005_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_005_pos.ksh index 2c1ba0c1644..e3dc4cdd106 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_006_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_006_pos.ksh index 5216016e6b7..66394da09e9 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_007_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_007_pos.ksh index 499caff9a71..fef23548982 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_008_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_008_pos.ksh index fab0a7d9ec7..9df06c6c19d 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_009_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_009_pos.ksh index fc5a582f881..46b5080347a 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_010_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_010_pos.ksh index a9a7d53819d..06a90bbd7d3 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_011_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_011_pos.ksh index 113ef4f6dc8..0677aee73ee 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_011_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_012_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_012_pos.ksh index 0fa40f40bed..f969e2dcf47 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_013_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_013_pos.ksh index e06e0f3e5e5..b5821d6eed1 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_013_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_014_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_014_pos.ksh index 47fc2f1bead..01cf1c09f8d 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_014_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_014_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_016_neg.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_016_neg.ksh index 2741cd20ae0..16582fa3de4 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_016_neg.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_016_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_019_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_019_pos.ksh index 673d1d072be..80614e7e3fb 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_019_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_019_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_020_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_020_pos.ksh index b7ecf90916b..4ead3cb9885 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_020_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_020_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_021_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_021_pos.ksh index 50f2b8890a5..c7f8cf75169 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_021_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_021_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_022_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_022_pos.ksh index cb68b1c3b27..9310ff6cfc3 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_022_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_022_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_024_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_024_pos.ksh index c44985ae8c1..f5c95404367 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_024_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_024_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_025_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_025_pos.ksh index 95ec9875737..75675fb2259 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_025_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_025_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_026_neg.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_026_neg.ksh index 504e5fba811..61bf152f3e1 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_026_neg.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_026_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_027_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_027_pos.ksh index d575ac2676b..d5d40202cad 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_027_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_027_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_028_neg.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_028_neg.ksh index a6a1cbfc8ee..1a0b1dfc5a0 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_028_neg.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_028_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_029_neg.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_029_neg.ksh index 28d3826cef6..41f7ea963fb 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_029_neg.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_029_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_030_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_030_pos.ksh index a683f5befa3..d2c39b24358 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_030_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_030_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/rsend_031_pos.ksh b/tests/zfs-tests/tests/functional/rsend/rsend_031_pos.ksh index 119da7150c3..7af557da04c 100755 --- a/tests/zfs-tests/tests/functional/rsend/rsend_031_pos.ksh +++ b/tests/zfs-tests/tests/functional/rsend/rsend_031_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-L_toggle.ksh b/tests/zfs-tests/tests/functional/rsend/send-L_toggle.ksh index 483efcc6054..c701abe7f7c 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-L_toggle.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-L_toggle.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_embedded_blocks.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_embedded_blocks.ksh index 3dce217d895..c5ec994fafc 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_embedded_blocks.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_embedded_blocks.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_incremental.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_incremental.ksh index d673282c935..382bc1ce148 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_incremental.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_incremental.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_longname.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_longname.ksh index 3f7edc6810d..38dc9cb00f9 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_longname.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_longname.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_lz4_disabled.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_lz4_disabled.ksh index bc706bab25b..7a293727ad4 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_lz4_disabled.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_lz4_disabled.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_mixed_compression.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_mixed_compression.ksh index 22e91c011b3..dda41edee04 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_mixed_compression.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_mixed_compression.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_props.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_props.ksh index 82a2eb91e82..c49c31f3574 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_props.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_props.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_recv_dedup.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_recv_dedup.ksh index cef81617b13..25d59c9387c 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_recv_dedup.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_recv_dedup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_recv_lz4_disabled.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_recv_lz4_disabled.ksh index 15873ed12f1..5807af4fd50 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_recv_lz4_disabled.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_recv_lz4_disabled.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_resume.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_resume.ksh index 05ba5ed244d..49363cd7519 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_resume.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_resume.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_stream_size_estimate.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_stream_size_estimate.ksh index 5d308d8f657..36076292a88 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_stream_size_estimate.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_stream_size_estimate.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_verify_contents.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_verify_contents.ksh index 0a5d56bebe3..f97b82d1fa8 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_verify_contents.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_verify_contents.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_verify_ratio.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_verify_ratio.ksh index 845349a9587..83dd53f6c8f 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_verify_ratio.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_verify_ratio.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_volume.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_volume.ksh index 6a29d964500..e617bcec64e 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_volume.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_volume.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_zstream_recompress.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_zstream_recompress.ksh index dd2a7d02a26..81c7e24a220 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_zstream_recompress.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_zstream_recompress.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-c_zstreamdump.ksh b/tests/zfs-tests/tests/functional/rsend/send-c_zstreamdump.ksh index 82d15c68ec4..5ff2cbf0c6a 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-c_zstreamdump.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-c_zstreamdump.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-cpL_varied_recsize.ksh b/tests/zfs-tests/tests/functional/rsend/send-cpL_varied_recsize.ksh index cf390c26f96..0ec8ba065bc 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-cpL_varied_recsize.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-cpL_varied_recsize.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send-wR_encrypted_zvol.ksh b/tests/zfs-tests/tests/functional/rsend/send-wR_encrypted_zvol.ksh index 7db9892da58..07155c1912b 100755 --- a/tests/zfs-tests/tests/functional/rsend/send-wR_encrypted_zvol.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send-wR_encrypted_zvol.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/send_doall.ksh b/tests/zfs-tests/tests/functional/rsend/send_doall.ksh index 55b8c002e61..7c623848322 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_doall.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_doall.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh b/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh index 0212bd144fb..bcd8078841b 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/send_encrypted_freeobjects.ksh b/tests/zfs-tests/tests/functional/rsend/send_encrypted_freeobjects.ksh index 92451bd1ab6..a1fdfadee2e 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_encrypted_freeobjects.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_encrypted_freeobjects.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send_encrypted_hierarchy.ksh b/tests/zfs-tests/tests/functional/rsend/send_encrypted_hierarchy.ksh index 6dd4ae46f94..c042ebe28d0 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_encrypted_hierarchy.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_encrypted_hierarchy.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/send_encrypted_incremental.ksh b/tests/zfs-tests/tests/functional/rsend/send_encrypted_incremental.ksh index 491ad55db41..7537e0a87df 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_encrypted_incremental.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_encrypted_incremental.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/send_encrypted_props.ksh b/tests/zfs-tests/tests/functional/rsend/send_encrypted_props.ksh index 3b20f0a99a4..1e7ca56a143 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_encrypted_props.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_encrypted_props.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/send_encrypted_truncated_files.ksh b/tests/zfs-tests/tests/functional/rsend/send_encrypted_truncated_files.ksh index a6223f05a65..3c15e408793 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_encrypted_truncated_files.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_encrypted_truncated_files.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/send_freeobjects.ksh b/tests/zfs-tests/tests/functional/rsend/send_freeobjects.ksh index 925f667ee9a..2c261f28837 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_freeobjects.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_freeobjects.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send_holds.ksh b/tests/zfs-tests/tests/functional/rsend/send_holds.ksh index 5dcf0e2a0a7..75271da933c 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_holds.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_holds.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/send_hole_birth.ksh b/tests/zfs-tests/tests/functional/rsend/send_hole_birth.ksh index 72b83505d5e..fc966be77e2 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_hole_birth.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_hole_birth.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/send_invalid.ksh b/tests/zfs-tests/tests/functional/rsend/send_invalid.ksh index ab3b1d73f85..bf9d0b3e776 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_invalid.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_invalid.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send_mixed_raw.ksh b/tests/zfs-tests/tests/functional/rsend/send_mixed_raw.ksh index 59b08ccf723..415e71d11fd 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_mixed_raw.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_mixed_raw.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/send_partial_dataset.ksh b/tests/zfs-tests/tests/functional/rsend/send_partial_dataset.ksh index c36b0c7c3ec..34b2c0a9b49 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_partial_dataset.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_partial_dataset.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send_raw_ashift.ksh b/tests/zfs-tests/tests/functional/rsend/send_raw_ashift.ksh index f238c361134..16e18c8def1 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_raw_ashift.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_raw_ashift.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send_raw_large_blocks.ksh b/tests/zfs-tests/tests/functional/rsend/send_raw_large_blocks.ksh index 48a76fca63e..cc1373429c6 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_raw_large_blocks.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_raw_large_blocks.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/rsend/send_raw_spill_block.ksh b/tests/zfs-tests/tests/functional/rsend/send_raw_spill_block.ksh index 8d7451ae62e..c70a79ab14d 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_raw_spill_block.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_raw_spill_block.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send_realloc_dnode_size.ksh b/tests/zfs-tests/tests/functional/rsend/send_realloc_dnode_size.ksh index bd30488eaab..07dfc1731e3 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_realloc_dnode_size.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_realloc_dnode_size.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send_realloc_encrypted_files.ksh b/tests/zfs-tests/tests/functional/rsend/send_realloc_encrypted_files.ksh index 361f6b375ea..ff046713289 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_realloc_encrypted_files.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_realloc_encrypted_files.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send_realloc_files.ksh b/tests/zfs-tests/tests/functional/rsend/send_realloc_files.ksh index 187a899a23c..51fd9929fea 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_realloc_files.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_realloc_files.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/send_spill_block.ksh b/tests/zfs-tests/tests/functional/rsend/send_spill_block.ksh index 73f164852f9..e684ba8171b 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_spill_block.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_spill_block.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/rsend/setup.ksh b/tests/zfs-tests/tests/functional/rsend/setup.ksh index 5632df3da7f..578b101f93f 100755 --- a/tests/zfs-tests/tests/functional/rsend/setup.ksh +++ b/tests/zfs-tests/tests/functional/rsend/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/scrub_mirror/cleanup.ksh b/tests/zfs-tests/tests/functional/scrub_mirror/cleanup.ksh index 4854a318dc0..eddb66cfb7e 100755 --- a/tests/zfs-tests/tests/functional/scrub_mirror/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/scrub_mirror/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/scrub_mirror/default.cfg b/tests/zfs-tests/tests/functional/scrub_mirror/default.cfg index 9c027fd2013..46ae60bc120 100644 --- a/tests/zfs-tests/tests/functional/scrub_mirror/default.cfg +++ b/tests/zfs-tests/tests/functional/scrub_mirror/default.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_001_pos.ksh b/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_001_pos.ksh index a65375022c7..e1c41ae266d 100755 --- a/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_002_pos.ksh b/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_002_pos.ksh index a2e32e7ca03..213a162b7fa 100755 --- a/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_003_pos.ksh b/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_003_pos.ksh index b68e354a3fd..83a12bfce44 100755 --- a/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_004_pos.ksh b/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_004_pos.ksh index c21c226b9c0..128243d0133 100755 --- a/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_common.kshlib b/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_common.kshlib index 72a9dbd4f1a..641d9afd4b8 100644 --- a/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_common.kshlib +++ b/tests/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/scrub_mirror/setup.ksh b/tests/zfs-tests/tests/functional/scrub_mirror/setup.ksh index 0bed5df6fd7..bdb4e5a8ab6 100755 --- a/tests/zfs-tests/tests/functional/scrub_mirror/setup.ksh +++ b/tests/zfs-tests/tests/functional/scrub_mirror/setup.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/simd/simd_supported.ksh b/tests/zfs-tests/tests/functional/simd/simd_supported.ksh index 79bacc2b8d1..65f05211cb9 100755 --- a/tests/zfs-tests/tests/functional/simd/simd_supported.ksh +++ b/tests/zfs-tests/tests/functional/simd/simd_supported.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/cleanup.ksh b/tests/zfs-tests/tests/functional/slog/cleanup.ksh index 53b5f4c4ab8..977f98c5dee 100755 --- a/tests/zfs-tests/tests/functional/slog/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/slog/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/setup.ksh b/tests/zfs-tests/tests/functional/slog/setup.ksh index 02f05cc568e..908034591db 100755 --- a/tests/zfs-tests/tests/functional/slog/setup.ksh +++ b/tests/zfs-tests/tests/functional/slog/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog.cfg b/tests/zfs-tests/tests/functional/slog/slog.cfg index ef32d2fb57f..320a3e711fc 100644 --- a/tests/zfs-tests/tests/functional/slog/slog.cfg +++ b/tests/zfs-tests/tests/functional/slog/slog.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog.kshlib b/tests/zfs-tests/tests/functional/slog/slog.kshlib index 98863d6c988..8b2be2c1427 100644 --- a/tests/zfs-tests/tests/functional/slog/slog.kshlib +++ b/tests/zfs-tests/tests/functional/slog/slog.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_001_pos.ksh b/tests/zfs-tests/tests/functional/slog/slog_001_pos.ksh index 112d0192f13..b815b1ef3f7 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_002_pos.ksh b/tests/zfs-tests/tests/functional/slog/slog_002_pos.ksh index 17fb1f6a484..ca21fb4ba5a 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_003_pos.ksh b/tests/zfs-tests/tests/functional/slog/slog_003_pos.ksh index 678802e99ad..61343dfb158 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_004_pos.ksh b/tests/zfs-tests/tests/functional/slog/slog_004_pos.ksh index 7c29e2c05ce..f0855c19173 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_005_pos.ksh b/tests/zfs-tests/tests/functional/slog/slog_005_pos.ksh index 2dad806033f..5f78a1c6d33 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_006_pos.ksh b/tests/zfs-tests/tests/functional/slog/slog_006_pos.ksh index 3804c3896da..1d905c922e0 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_007_pos.ksh b/tests/zfs-tests/tests/functional/slog/slog_007_pos.ksh index ff54cd78178..85820bf7749 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_008_neg.ksh b/tests/zfs-tests/tests/functional/slog/slog_008_neg.ksh index 8f95c6fe3ca..a10b712feeb 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_008_neg.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_008_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_009_neg.ksh b/tests/zfs-tests/tests/functional/slog/slog_009_neg.ksh index 395706b5851..36d23bd1cd2 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_010_neg.ksh b/tests/zfs-tests/tests/functional/slog/slog_010_neg.ksh index 800e6cc054c..cced0dfb557 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_010_neg.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_010_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_011_neg.ksh b/tests/zfs-tests/tests/functional/slog/slog_011_neg.ksh index 9953fa55d2d..9a4a89631f6 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_011_neg.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_011_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_012_neg.ksh b/tests/zfs-tests/tests/functional/slog/slog_012_neg.ksh index f1434e10c35..0e474dcd804 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_012_neg.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_012_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_013_pos.ksh b/tests/zfs-tests/tests/functional/slog/slog_013_pos.ksh index b412b310f5b..3be6c28e00b 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_013_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_014_pos.ksh b/tests/zfs-tests/tests/functional/slog/slog_014_pos.ksh index 8f1502c7156..c6febc73ecc 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_014_pos.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_014_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_015_neg.ksh b/tests/zfs-tests/tests/functional/slog/slog_015_neg.ksh index 464be019dac..8245c841c93 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_015_neg.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_015_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/slog/slog_016_pos.ksh b/tests/zfs-tests/tests/functional/slog/slog_016_pos.ksh index b69c0c58e38..54bbe4a8360 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_016_pos.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_016_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_replay_fs_001.ksh b/tests/zfs-tests/tests/functional/slog/slog_replay_fs_001.ksh index 6f4871975b6..c0187dceb2b 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_replay_fs_001.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_replay_fs_001.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_replay_fs_002.ksh b/tests/zfs-tests/tests/functional/slog/slog_replay_fs_002.ksh index a62d229d505..bfd74421683 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_replay_fs_002.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_replay_fs_002.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/slog/slog_replay_volume.ksh b/tests/zfs-tests/tests/functional/slog/slog_replay_volume.ksh index 4728f8389ad..979e722dd85 100755 --- a/tests/zfs-tests/tests/functional/slog/slog_replay_volume.ksh +++ b/tests/zfs-tests/tests/functional/slog/slog_replay_volume.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/cleanup.ksh b/tests/zfs-tests/tests/functional/snapshot/cleanup.ksh index 4ff6739098a..a89e6a15f5e 100755 --- a/tests/zfs-tests/tests/functional/snapshot/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh index 697f8f83aa0..0f30156f571 100755 --- a/tests/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/rollback_001_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/rollback_001_pos.ksh index 79b00bd3c1b..0d3b87309d1 100755 --- a/tests/zfs-tests/tests/functional/snapshot/rollback_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/rollback_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/rollback_002_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/rollback_002_pos.ksh index 842d469695e..353cd046a17 100755 --- a/tests/zfs-tests/tests/functional/snapshot/rollback_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/rollback_002_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/rollback_003_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/rollback_003_pos.ksh index 3cbc6694ee0..328cdae328e 100755 --- a/tests/zfs-tests/tests/functional/snapshot/rollback_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/rollback_003_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/setup.ksh b/tests/zfs-tests/tests/functional/snapshot/setup.ksh index 17d09fa9c19..d977211824e 100755 --- a/tests/zfs-tests/tests/functional/snapshot/setup.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot.cfg b/tests/zfs-tests/tests/functional/snapshot/snapshot.cfg index 69b4f3a06fd..1dc112a9a51 100644 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot.cfg +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_001_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_001_pos.ksh index 0724216ee56..0fdc301bc41 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh index 4c78e3ab2ee..ffc4e96f5a0 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_003_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_003_pos.ksh index 96f7dac0bee..065fcd83836 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_003_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_004_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_004_pos.ksh index 3725de0c1ec..d1634f602b2 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_004_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_005_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_005_pos.ksh index 127b7314389..858931ed0c3 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_005_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh index 392869bf83a..20d53eb5012 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_007_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_007_pos.ksh index 3f7029f581e..bcbf4f5091f 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_007_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_008_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_008_pos.ksh index 299424fc957..2892f83ac67 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_008_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_009_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_009_pos.ksh index ccc0857b077..c9d50663820 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_009_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_010_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_010_pos.ksh index 4aca2854a7d..26ff5bd9535 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_010_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_011_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_011_pos.ksh index 2d5f63b6237..9fff2bc9c86 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_011_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_012_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_012_pos.ksh index d2671787975..d19a4de8515 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_012_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_013_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_013_pos.ksh index a071759beca..9286f9a51d9 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_013_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_014_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_014_pos.ksh index 9c7e64ab6cf..d4e5e7ee500 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_014_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_014_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_015_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_015_pos.ksh index 4fdbfce5506..554aad27361 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_015_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_015_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_016_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_016_pos.ksh index 6058ec1cfe7..fab663cec6a 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_016_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_016_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_017_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_017_pos.ksh index dc234636ec6..63a6eddee8d 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_017_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_017_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_018_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_018_pos.ksh index e9a2fbe5c59..9591b62fdae 100755 --- a/tests/zfs-tests/tests/functional/snapshot/snapshot_018_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_018_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapused/cleanup.ksh b/tests/zfs-tests/tests/functional/snapused/cleanup.ksh index 557bfeb213d..a3b1fe52671 100755 --- a/tests/zfs-tests/tests/functional/snapused/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/snapused/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapused/setup.ksh b/tests/zfs-tests/tests/functional/snapused/setup.ksh index c1e02d843a3..fe665108b8c 100755 --- a/tests/zfs-tests/tests/functional/snapused/setup.ksh +++ b/tests/zfs-tests/tests/functional/snapused/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapused/snapused.kshlib b/tests/zfs-tests/tests/functional/snapused/snapused.kshlib index 043f54d54fd..d0a178a2733 100644 --- a/tests/zfs-tests/tests/functional/snapused/snapused.kshlib +++ b/tests/zfs-tests/tests/functional/snapused/snapused.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapused/snapused_001_pos.ksh b/tests/zfs-tests/tests/functional/snapused/snapused_001_pos.ksh index 6d33f32d687..67f498ebe33 100755 --- a/tests/zfs-tests/tests/functional/snapused/snapused_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapused/snapused_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapused/snapused_002_pos.ksh b/tests/zfs-tests/tests/functional/snapused/snapused_002_pos.ksh index c78e7cde39b..ced4d32edc0 100755 --- a/tests/zfs-tests/tests/functional/snapused/snapused_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapused/snapused_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapused/snapused_003_pos.ksh b/tests/zfs-tests/tests/functional/snapused/snapused_003_pos.ksh index 940dc0e7bfc..83cc592b465 100755 --- a/tests/zfs-tests/tests/functional/snapused/snapused_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapused/snapused_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapused/snapused_004_pos.ksh b/tests/zfs-tests/tests/functional/snapused/snapused_004_pos.ksh index d5f97168bd3..d814eadcda3 100755 --- a/tests/zfs-tests/tests/functional/snapused/snapused_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapused/snapused_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/snapused/snapused_005_pos.ksh b/tests/zfs-tests/tests/functional/snapused/snapused_005_pos.ksh index fbf7165e773..8078c0325d5 100755 --- a/tests/zfs-tests/tests/functional/snapused/snapused_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/snapused/snapused_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/sparse/cleanup.ksh b/tests/zfs-tests/tests/functional/sparse/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/sparse/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/sparse/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/sparse/setup.ksh b/tests/zfs-tests/tests/functional/sparse/setup.ksh index d617f361b24..a40bc37b0c1 100755 --- a/tests/zfs-tests/tests/functional/sparse/setup.ksh +++ b/tests/zfs-tests/tests/functional/sparse/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/sparse/sparse.cfg b/tests/zfs-tests/tests/functional/sparse/sparse.cfg index 970dd25177e..0e4e922aded 100644 --- a/tests/zfs-tests/tests/functional/sparse/sparse.cfg +++ b/tests/zfs-tests/tests/functional/sparse/sparse.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/sparse/sparse_001_pos.ksh b/tests/zfs-tests/tests/functional/sparse/sparse_001_pos.ksh index 3e25af39c08..2071146cbba 100755 --- a/tests/zfs-tests/tests/functional/sparse/sparse_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/sparse/sparse_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/stat/cleanup.ksh b/tests/zfs-tests/tests/functional/stat/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/stat/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/stat/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/stat/setup.ksh b/tests/zfs-tests/tests/functional/stat/setup.ksh index bc74ee62e07..0d40500641c 100755 --- a/tests/zfs-tests/tests/functional/stat/setup.ksh +++ b/tests/zfs-tests/tests/functional/stat/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/stat/stat_001_pos.ksh b/tests/zfs-tests/tests/functional/stat/stat_001_pos.ksh index e167526f4c3..12a7ff779d7 100755 --- a/tests/zfs-tests/tests/functional/stat/stat_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/stat/stat_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/stat/statx_dioalign.ksh b/tests/zfs-tests/tests/functional/stat/statx_dioalign.ksh index 9b86d05c6a4..fb75e7a8b7a 100755 --- a/tests/zfs-tests/tests/functional/stat/statx_dioalign.ksh +++ b/tests/zfs-tests/tests/functional/stat/statx_dioalign.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/suid/cleanup.ksh b/tests/zfs-tests/tests/functional/suid/cleanup.ksh index b1aa351587f..e03f547208d 100755 --- a/tests/zfs-tests/tests/functional/suid/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/suid/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/suid/setup.ksh b/tests/zfs-tests/tests/functional/suid/setup.ksh index 96e891a5ba1..74002415359 100755 --- a/tests/zfs-tests/tests/functional/suid/setup.ksh +++ b/tests/zfs-tests/tests/functional/suid/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/suid/suid_write_to_none.ksh b/tests/zfs-tests/tests/functional/suid/suid_write_to_none.ksh index 984dda6a020..5605e5109a1 100755 --- a/tests/zfs-tests/tests/functional/suid/suid_write_to_none.ksh +++ b/tests/zfs-tests/tests/functional/suid/suid_write_to_none.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/suid/suid_write_to_sgid.ksh b/tests/zfs-tests/tests/functional/suid/suid_write_to_sgid.ksh index 41367e0b136..7f620a51dcf 100755 --- a/tests/zfs-tests/tests/functional/suid/suid_write_to_sgid.ksh +++ b/tests/zfs-tests/tests/functional/suid/suid_write_to_sgid.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/suid/suid_write_to_suid.ksh b/tests/zfs-tests/tests/functional/suid/suid_write_to_suid.ksh index 77d092227ab..ae97d94dcbd 100755 --- a/tests/zfs-tests/tests/functional/suid/suid_write_to_suid.ksh +++ b/tests/zfs-tests/tests/functional/suid/suid_write_to_suid.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/suid/suid_write_to_suid_sgid.ksh b/tests/zfs-tests/tests/functional/suid/suid_write_to_suid_sgid.ksh index 51f6775c003..5ddd4b3515d 100755 --- a/tests/zfs-tests/tests/functional/suid/suid_write_to_suid_sgid.ksh +++ b/tests/zfs-tests/tests/functional/suid/suid_write_to_suid_sgid.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/suid/suid_write_zil_replay.ksh b/tests/zfs-tests/tests/functional/suid/suid_write_zil_replay.ksh index 1d7407000eb..6ced388ddff 100755 --- a/tests/zfs-tests/tests/functional/suid/suid_write_zil_replay.ksh +++ b/tests/zfs-tests/tests/functional/suid/suid_write_zil_replay.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/tmpfile/cleanup.ksh b/tests/zfs-tests/tests/functional/tmpfile/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/tmpfile/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/tmpfile/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/tmpfile/setup.ksh b/tests/zfs-tests/tests/functional/tmpfile/setup.ksh index 2b38556c9a7..66a4bb99186 100755 --- a/tests/zfs-tests/tests/functional/tmpfile/setup.ksh +++ b/tests/zfs-tests/tests/functional/tmpfile/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/tmpfile/tmpfile_stat_mode.c b/tests/zfs-tests/tests/functional/tmpfile/tmpfile_stat_mode.c index 8f936d36de1..16936d05537 100644 --- a/tests/zfs-tests/tests/functional/tmpfile/tmpfile_stat_mode.c +++ b/tests/zfs-tests/tests/functional/tmpfile/tmpfile_stat_mode.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/tests/functional/trim/autotrim_config.ksh b/tests/zfs-tests/tests/functional/trim/autotrim_config.ksh index 4dba4616e94..8d4340e47bf 100755 --- a/tests/zfs-tests/tests/functional/trim/autotrim_config.ksh +++ b/tests/zfs-tests/tests/functional/trim/autotrim_config.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/trim/autotrim_integrity.ksh b/tests/zfs-tests/tests/functional/trim/autotrim_integrity.ksh index e139809105d..1995dbe6fa5 100755 --- a/tests/zfs-tests/tests/functional/trim/autotrim_integrity.ksh +++ b/tests/zfs-tests/tests/functional/trim/autotrim_integrity.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/trim/autotrim_trim_integrity.ksh b/tests/zfs-tests/tests/functional/trim/autotrim_trim_integrity.ksh index 53de485b1a8..440f2bd1302 100755 --- a/tests/zfs-tests/tests/functional/trim/autotrim_trim_integrity.ksh +++ b/tests/zfs-tests/tests/functional/trim/autotrim_trim_integrity.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/trim/cleanup.ksh b/tests/zfs-tests/tests/functional/trim/cleanup.ksh index 29d14044a35..faeefb8e5ac 100755 --- a/tests/zfs-tests/tests/functional/trim/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/trim/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/trim/setup.ksh b/tests/zfs-tests/tests/functional/trim/setup.ksh index 09489600b3d..7be2a316a87 100755 --- a/tests/zfs-tests/tests/functional/trim/setup.ksh +++ b/tests/zfs-tests/tests/functional/trim/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/trim/trim.cfg b/tests/zfs-tests/tests/functional/trim/trim.cfg index 02dc77ab57e..49a6fa00ba1 100644 --- a/tests/zfs-tests/tests/functional/trim/trim.cfg +++ b/tests/zfs-tests/tests/functional/trim/trim.cfg @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/trim/trim.kshlib b/tests/zfs-tests/tests/functional/trim/trim.kshlib index f36f3870fc4..75d2ee57077 100644 --- a/tests/zfs-tests/tests/functional/trim/trim.kshlib +++ b/tests/zfs-tests/tests/functional/trim/trim.kshlib @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/trim/trim_config.ksh b/tests/zfs-tests/tests/functional/trim/trim_config.ksh index c08b5edb569..ff569177357 100755 --- a/tests/zfs-tests/tests/functional/trim/trim_config.ksh +++ b/tests/zfs-tests/tests/functional/trim/trim_config.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/trim/trim_integrity.ksh b/tests/zfs-tests/tests/functional/trim/trim_integrity.ksh index c67697521ce..f298f66a44d 100755 --- a/tests/zfs-tests/tests/functional/trim/trim_integrity.ksh +++ b/tests/zfs-tests/tests/functional/trim/trim_integrity.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/trim/trim_l2arc.ksh b/tests/zfs-tests/tests/functional/trim/trim_l2arc.ksh index fc7824ec6ce..9b0a4865591 100755 --- a/tests/zfs-tests/tests/functional/trim/trim_l2arc.ksh +++ b/tests/zfs-tests/tests/functional/trim/trim_l2arc.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/truncate/cleanup.ksh b/tests/zfs-tests/tests/functional/truncate/cleanup.ksh index 68b56287ed2..bf105121225 100755 --- a/tests/zfs-tests/tests/functional/truncate/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/truncate/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/truncate/setup.ksh b/tests/zfs-tests/tests/functional/truncate/setup.ksh index 570c94570ef..45c081fba36 100755 --- a/tests/zfs-tests/tests/functional/truncate/setup.ksh +++ b/tests/zfs-tests/tests/functional/truncate/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/truncate/truncate.cfg b/tests/zfs-tests/tests/functional/truncate/truncate.cfg index aca91cda9c6..f0c84dc1536 100644 --- a/tests/zfs-tests/tests/functional/truncate/truncate.cfg +++ b/tests/zfs-tests/tests/functional/truncate/truncate.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/truncate/truncate_001_pos.ksh b/tests/zfs-tests/tests/functional/truncate/truncate_001_pos.ksh index 19bf0343e32..16445e8cafa 100755 --- a/tests/zfs-tests/tests/functional/truncate/truncate_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/truncate/truncate_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/truncate/truncate_002_pos.ksh b/tests/zfs-tests/tests/functional/truncate/truncate_002_pos.ksh index 17cde7b698b..59a73ae365e 100755 --- a/tests/zfs-tests/tests/functional/truncate/truncate_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/truncate/truncate_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/truncate/truncate_timestamps.ksh b/tests/zfs-tests/tests/functional/truncate/truncate_timestamps.ksh index 3793178701d..01cc6e040a3 100755 --- a/tests/zfs-tests/tests/functional/truncate/truncate_timestamps.ksh +++ b/tests/zfs-tests/tests/functional/truncate/truncate_timestamps.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/upgrade/cleanup.ksh b/tests/zfs-tests/tests/functional/upgrade/cleanup.ksh index 5cb5fae1f1a..034ecadc94a 100755 --- a/tests/zfs-tests/tests/functional/upgrade/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/upgrade/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/upgrade/setup.ksh b/tests/zfs-tests/tests/functional/upgrade/setup.ksh index 09fb2fbfe9a..26153aafbc0 100755 --- a/tests/zfs-tests/tests/functional/upgrade/setup.ksh +++ b/tests/zfs-tests/tests/functional/upgrade/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/upgrade/upgrade_common.kshlib b/tests/zfs-tests/tests/functional/upgrade/upgrade_common.kshlib index 3e188642862..f96bc8c9dd5 100644 --- a/tests/zfs-tests/tests/functional/upgrade/upgrade_common.kshlib +++ b/tests/zfs-tests/tests/functional/upgrade/upgrade_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/upgrade/upgrade_projectquota_001_pos.ksh b/tests/zfs-tests/tests/functional/upgrade/upgrade_projectquota_001_pos.ksh index 2c365e37af2..c2397c30cf3 100755 --- a/tests/zfs-tests/tests/functional/upgrade/upgrade_projectquota_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/upgrade/upgrade_projectquota_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/upgrade/upgrade_projectquota_002_pos.ksh b/tests/zfs-tests/tests/functional/upgrade/upgrade_projectquota_002_pos.ksh index fe837435190..979f061c142 100755 --- a/tests/zfs-tests/tests/functional/upgrade/upgrade_projectquota_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/upgrade/upgrade_projectquota_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/upgrade/upgrade_readonly_pool.ksh b/tests/zfs-tests/tests/functional/upgrade/upgrade_readonly_pool.ksh index 750620e6d45..d6bd69b7e13 100755 --- a/tests/zfs-tests/tests/functional/upgrade/upgrade_readonly_pool.ksh +++ b/tests/zfs-tests/tests/functional/upgrade/upgrade_readonly_pool.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/upgrade/upgrade_userobj_001_pos.ksh b/tests/zfs-tests/tests/functional/upgrade/upgrade_userobj_001_pos.ksh index d4ad8df8524..dd50dc4b5c1 100755 --- a/tests/zfs-tests/tests/functional/upgrade/upgrade_userobj_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/upgrade/upgrade_userobj_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/user_namespace/cleanup.ksh b/tests/zfs-tests/tests/functional/user_namespace/cleanup.ksh index 4895aa23ee4..5e73dd34936 100755 --- a/tests/zfs-tests/tests/functional/user_namespace/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/user_namespace/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/user_namespace/setup.ksh b/tests/zfs-tests/tests/functional/user_namespace/setup.ksh index bf6bc8399fd..a9d00b3d10f 100755 --- a/tests/zfs-tests/tests/functional/user_namespace/setup.ksh +++ b/tests/zfs-tests/tests/functional/user_namespace/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/user_namespace/user_namespace.cfg b/tests/zfs-tests/tests/functional/user_namespace/user_namespace.cfg index ca94fc4a7ea..316d07438a7 100644 --- a/tests/zfs-tests/tests/functional/user_namespace/user_namespace.cfg +++ b/tests/zfs-tests/tests/functional/user_namespace/user_namespace.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/user_namespace/user_namespace_001.ksh b/tests/zfs-tests/tests/functional/user_namespace/user_namespace_001.ksh index d79828a36e9..95411eae4dd 100755 --- a/tests/zfs-tests/tests/functional/user_namespace/user_namespace_001.ksh +++ b/tests/zfs-tests/tests/functional/user_namespace/user_namespace_001.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/user_namespace/user_namespace_002.ksh b/tests/zfs-tests/tests/functional/user_namespace/user_namespace_002.ksh index cfc478cd359..209be9f771a 100755 --- a/tests/zfs-tests/tests/functional/user_namespace/user_namespace_002.ksh +++ b/tests/zfs-tests/tests/functional/user_namespace/user_namespace_002.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/user_namespace/user_namespace_003.ksh b/tests/zfs-tests/tests/functional/user_namespace/user_namespace_003.ksh index 6a746c6d33f..9932baf5363 100755 --- a/tests/zfs-tests/tests/functional/user_namespace/user_namespace_003.ksh +++ b/tests/zfs-tests/tests/functional/user_namespace/user_namespace_003.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/user_namespace/user_namespace_004.ksh b/tests/zfs-tests/tests/functional/user_namespace/user_namespace_004.ksh index 4f6ed775eca..9c5c7960cd7 100755 --- a/tests/zfs-tests/tests/functional/user_namespace/user_namespace_004.ksh +++ b/tests/zfs-tests/tests/functional/user_namespace/user_namespace_004.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/user_namespace/user_namespace_common.kshlib b/tests/zfs-tests/tests/functional/user_namespace/user_namespace_common.kshlib index e9f1d7c5bd5..f0f22ef7507 100644 --- a/tests/zfs-tests/tests/functional/user_namespace/user_namespace_common.kshlib +++ b/tests/zfs-tests/tests/functional/user_namespace/user_namespace_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/cleanup.ksh b/tests/zfs-tests/tests/functional/userquota/cleanup.ksh index 8af203eabde..3203a57c27e 100755 --- a/tests/zfs-tests/tests/functional/userquota/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/userquota/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/groupspace_001_pos.ksh b/tests/zfs-tests/tests/functional/userquota/groupspace_001_pos.ksh index d6e01fa5c6e..4907967ba3b 100755 --- a/tests/zfs-tests/tests/functional/userquota/groupspace_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/groupspace_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/groupspace_002_pos.ksh b/tests/zfs-tests/tests/functional/userquota/groupspace_002_pos.ksh index 1885986aecc..c9931d64662 100755 --- a/tests/zfs-tests/tests/functional/userquota/groupspace_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/groupspace_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/groupspace_003_pos.ksh b/tests/zfs-tests/tests/functional/userquota/groupspace_003_pos.ksh index 111187057b8..6a413835cf8 100755 --- a/tests/zfs-tests/tests/functional/userquota/groupspace_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/groupspace_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/setup.ksh b/tests/zfs-tests/tests/functional/userquota/setup.ksh index 79507504711..52a1793c63b 100755 --- a/tests/zfs-tests/tests/functional/userquota/setup.ksh +++ b/tests/zfs-tests/tests/functional/userquota/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota.cfg b/tests/zfs-tests/tests/functional/userquota/userquota.cfg index 75ecdc309fe..37e658dd969 100644 --- a/tests/zfs-tests/tests/functional/userquota/userquota.cfg +++ b/tests/zfs-tests/tests/functional/userquota/userquota.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_001_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_001_pos.ksh index dcd4d5d76de..9cb6aa1dde9 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_002_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_002_pos.ksh index 9df0dd539a3..d2c9ac6433e 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_003_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_003_pos.ksh index 99b99874edf..35c84b1a273 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_004_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_004_pos.ksh index f7b87de2093..f47592be38f 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_005_neg.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_005_neg.ksh index bcdd12021fa..f330877301a 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_006_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_006_pos.ksh index 422702cccbe..679369bb77c 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_007_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_007_pos.ksh index ccf4035f87f..c34d1309a94 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_008_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_008_pos.ksh index 368399aec50..6415f07c520 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_009_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_009_pos.ksh index 541a6318430..05134fac27b 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_009_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_009_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_010_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_010_pos.ksh index e025802196f..15f3376705d 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_010_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_010_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_011_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_011_pos.ksh index 63b4a491758..7e232053bba 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_011_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_012_neg.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_012_neg.ksh index b6d24f6ed75..4e4e8e3c489 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_012_neg.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_012_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_013_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userquota_013_pos.ksh index 6938fcc5a03..91ea6560c07 100755 --- a/tests/zfs-tests/tests/functional/userquota/userquota_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userquota_013_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userquota_common.kshlib b/tests/zfs-tests/tests/functional/userquota/userquota_common.kshlib index 6599d89973f..87e94ac2028 100644 --- a/tests/zfs-tests/tests/functional/userquota/userquota_common.kshlib +++ b/tests/zfs-tests/tests/functional/userquota/userquota_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userspace_001_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userspace_001_pos.ksh index 4f38744a686..c96f8626d51 100755 --- a/tests/zfs-tests/tests/functional/userquota/userspace_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userspace_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userspace_002_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userspace_002_pos.ksh index e4889e5e4ee..92c8d976d80 100755 --- a/tests/zfs-tests/tests/functional/userquota/userspace_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userspace_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userspace_003_pos.ksh b/tests/zfs-tests/tests/functional/userquota/userspace_003_pos.ksh index 1d36d515b56..3c53674b997 100755 --- a/tests/zfs-tests/tests/functional/userquota/userspace_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userspace_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/userquota/userspace_encrypted.ksh b/tests/zfs-tests/tests/functional/userquota/userspace_encrypted.ksh index e5590223789..5df5e1d65c0 100755 --- a/tests/zfs-tests/tests/functional/userquota/userspace_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userspace_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/userquota/userspace_encrypted_13709.ksh b/tests/zfs-tests/tests/functional/userquota/userspace_encrypted_13709.ksh index 9c1d847756d..0856406e821 100755 --- a/tests/zfs-tests/tests/functional/userquota/userspace_encrypted_13709.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userspace_encrypted_13709.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/userquota/userspace_send_encrypted.ksh b/tests/zfs-tests/tests/functional/userquota/userspace_send_encrypted.ksh index a9ff0517477..d772471a79f 100755 --- a/tests/zfs-tests/tests/functional/userquota/userspace_send_encrypted.ksh +++ b/tests/zfs-tests/tests/functional/userquota/userspace_send_encrypted.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/vdev_disk/page_alignment.c b/tests/zfs-tests/tests/functional/vdev_disk/page_alignment.c index 7b926da6c01..2d8dad8ef98 100644 --- a/tests/zfs-tests/tests/functional/vdev_disk/page_alignment.c +++ b/tests/zfs-tests/tests/functional/vdev_disk/page_alignment.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/cleanup.ksh b/tests/zfs-tests/tests/functional/vdev_zaps/cleanup.ksh index 6c911198c40..33a924a4a10 100755 --- a/tests/zfs-tests/tests/functional/vdev_zaps/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/vdev_zaps/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/setup.ksh b/tests/zfs-tests/tests/functional/vdev_zaps/setup.ksh index b52cf92cf37..7a1fe77d79c 100755 --- a/tests/zfs-tests/tests/functional/vdev_zaps/setup.ksh +++ b/tests/zfs-tests/tests/functional/vdev_zaps/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps.kshlib b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps.kshlib index c68a5b2c4c8..fcb7713ca66 100644 --- a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps.kshlib +++ b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_001_pos.ksh b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_001_pos.ksh index bdc8dcd468a..89aa88da0ed 100755 --- a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_002_pos.ksh b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_002_pos.ksh index 35c4f64fa46..83b70047eb8 100755 --- a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_003_pos.ksh b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_003_pos.ksh index bb6875c339c..2a8b02d570a 100755 --- a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_003_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_004_pos.ksh b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_004_pos.ksh index e82e398c6d2..3643e3c3f2d 100755 --- a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh index 4b9b45e149d..d99207942e7 100755 --- a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_006_pos.ksh b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_006_pos.ksh index 2ac493b8b0d..078d1e1c137 100755 --- a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_007_pos.ksh b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_007_pos.ksh index c7a4a62de43..4c70149fa39 100755 --- a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_007_pos.ksh +++ b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_007_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/functional/write_dirs/cleanup.ksh b/tests/zfs-tests/tests/functional/write_dirs/cleanup.ksh index 760356108f5..1990d8555df 100755 --- a/tests/zfs-tests/tests/functional/write_dirs/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/write_dirs/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/write_dirs/setup.ksh b/tests/zfs-tests/tests/functional/write_dirs/setup.ksh index a74087f9f50..57b2522ac82 100755 --- a/tests/zfs-tests/tests/functional/write_dirs/setup.ksh +++ b/tests/zfs-tests/tests/functional/write_dirs/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/write_dirs/write_dirs_001_pos.ksh b/tests/zfs-tests/tests/functional/write_dirs/write_dirs_001_pos.ksh index 3b680128859..2552280fb6f 100755 --- a/tests/zfs-tests/tests/functional/write_dirs/write_dirs_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/write_dirs/write_dirs_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh b/tests/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh index fc7dac0a608..9f107c19eef 100755 --- a/tests/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/cleanup.ksh b/tests/zfs-tests/tests/functional/xattr/cleanup.ksh index 83837aebe47..c144de2889f 100755 --- a/tests/zfs-tests/tests/functional/xattr/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/xattr/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/setup.ksh b/tests/zfs-tests/tests/functional/xattr/setup.ksh index e7c1f64c5f3..aa128762b85 100755 --- a/tests/zfs-tests/tests/functional/xattr/setup.ksh +++ b/tests/zfs-tests/tests/functional/xattr/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr.cfg b/tests/zfs-tests/tests/functional/xattr/xattr.cfg index 9b4c0ef9ca0..94f151a007f 100644 --- a/tests/zfs-tests/tests/functional/xattr/xattr.cfg +++ b/tests/zfs-tests/tests/functional/xattr/xattr.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_001_pos.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_001_pos.ksh index 447f230ba18..575817e5a24 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh index 50062ed35e9..1664c5d5b6f 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh index 6c8b895f841..8d4ba54846b 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_004_pos.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_004_pos.ksh index cd784084397..bf56f0d62c7 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_005_pos.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_005_pos.ksh index 80470e8735b..27dccc01c2a 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_006_pos.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_006_pos.ksh index 138302d970c..8dc3033c03f 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_007_neg.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_007_neg.ksh index 3a689731265..0a247d62777 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_007_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_008_pos.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_008_pos.ksh index bf05c681f4e..4ddd569e52f 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_008_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_009_neg.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_009_neg.ksh index ae8cb599d9d..0101eb314d4 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_009_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_010_neg.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_010_neg.ksh index f0bb9f6dd29..76d00159356 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_010_neg.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_010_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_011_pos.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_011_pos.ksh index 0cb2f8ac511..5ee9848f357 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_011_pos.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_011_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_012_pos.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_012_pos.ksh index 14f109b32bd..5940640ac82 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_012_pos.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_012_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_013_pos.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_013_pos.ksh index 5420d194310..4af9edd01dc 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_013_pos.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_013_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_common.kshlib b/tests/zfs-tests/tests/functional/xattr/xattr_common.kshlib index b50f21c1382..f84a97bc684 100644 --- a/tests/zfs-tests/tests/functional/xattr/xattr_common.kshlib +++ b/tests/zfs-tests/tests/functional/xattr/xattr_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_compat.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_compat.ksh index c153fb3813d..961a8c857d2 100755 --- a/tests/zfs-tests/tests/functional/xattr/xattr_compat.ksh +++ b/tests/zfs-tests/tests/functional/xattr/xattr_compat.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zap_shrink/cleanup.ksh b/tests/zfs-tests/tests/functional/zap_shrink/cleanup.ksh index 42fe70042d6..e3ffdadf5a4 100755 --- a/tests/zfs-tests/tests/functional/zap_shrink/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/zap_shrink/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zap_shrink/setup.ksh b/tests/zfs-tests/tests/functional/zap_shrink/setup.ksh index b756d4e76c8..5c28fed40c7 100755 --- a/tests/zfs-tests/tests/functional/zap_shrink/setup.ksh +++ b/tests/zfs-tests/tests/functional/zap_shrink/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zap_shrink/zap_shrink_001_pos.ksh b/tests/zfs-tests/tests/functional/zap_shrink/zap_shrink_001_pos.ksh index 4dbf579b8ac..84b7446d62d 100755 --- a/tests/zfs-tests/tests/functional/zap_shrink/zap_shrink_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/zap_shrink/zap_shrink_001_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zpool_influxdb/cleanup.ksh b/tests/zfs-tests/tests/functional/zpool_influxdb/cleanup.ksh index a8cd2e4b611..5988a6c7897 100755 --- a/tests/zfs-tests/tests/functional/zpool_influxdb/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/zpool_influxdb/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zpool_influxdb/setup.ksh b/tests/zfs-tests/tests/functional/zpool_influxdb/setup.ksh index 43f2c8c20b2..f27199d0ccd 100755 --- a/tests/zfs-tests/tests/functional/zpool_influxdb/setup.ksh +++ b/tests/zfs-tests/tests/functional/zpool_influxdb/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zpool_influxdb/zpool_influxdb.ksh b/tests/zfs-tests/tests/functional/zpool_influxdb/zpool_influxdb.ksh index 61a85c50280..859cb71c920 100755 --- a/tests/zfs-tests/tests/functional/zpool_influxdb/zpool_influxdb.ksh +++ b/tests/zfs-tests/tests/functional/zpool_influxdb/zpool_influxdb.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol.cfg b/tests/zfs-tests/tests/functional/zvol/zvol.cfg index 65ad02ddb76..c19dc5d09f8 100644 --- a/tests/zfs-tests/tests/functional/zvol/zvol.cfg +++ b/tests/zfs-tests/tests/functional/zvol/zvol.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/cleanup.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/cleanup.ksh index 6488ad63e6f..96f4b0ed81b 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/setup.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/setup.ksh index 49603d15be9..7134c769ded 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/setup.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC.cfg b/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC.cfg index bbafacff72a..083bc5a7b8d 100644 --- a/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC.cfg +++ b/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC_001_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC_001_pos.ksh index 47a5eb9277f..3e4dc0e9320 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_cli/cleanup.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_cli/cleanup.ksh index 29af4a43ff7..dce45fac1d5 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_cli/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_cli/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_cli/setup.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_cli/setup.ksh index 14da78868cc..682a0f711a2 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_cli/setup.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_cli/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli.cfg b/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli.cfg index bbafacff72a..083bc5a7b8d 100644 --- a/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli.cfg +++ b/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_001_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_001_pos.ksh index 1bc76517eae..2a9bf4ddf11 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_002_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_002_pos.ksh index 22152e2ae1d..69b4dc7cef6 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_003_neg.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_003_neg.ksh index fa588c6b5f8..e1a0c377508 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_common.shlib b/tests/zfs-tests/tests/functional/zvol/zvol_common.shlib index 29ac84d6d15..c3069d681d6 100644 --- a/tests/zfs-tests/tests/functional/zvol/zvol_common.shlib +++ b/tests/zfs-tests/tests/functional/zvol/zvol_common.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/cleanup.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/cleanup.ksh index c6296275503..25fa79001da 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/setup.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/setup.ksh index e08f058fb2d..2362cbb552c 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/setup.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_001_neg.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_001_neg.ksh index 6a9d2d68566..859d954061c 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_001_neg.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_001_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh index 5b89eb7806b..4a7946a140d 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_003_neg.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_003_neg.ksh index c7db9ed14a5..b9b9bac693b 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_003_neg.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_003_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_004_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_004_pos.ksh index c335b869f9b..f0767767a4a 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_005_neg.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_005_neg.ksh index 456008ded02..1e67d0de287 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_005_neg.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_005_neg.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_006_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_006_pos.ksh index 62f4adf6423..4958a315e10 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib index 93355d0b3de..e305ce49101 100644 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_fua.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_fua.ksh index 8b10813c9f1..571a698eb63 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_fua.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_fua.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_hierarchy.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_hierarchy.ksh index 1431f0b1f1f..6d66154c956 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_hierarchy.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_hierarchy.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_rename_inuse.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_rename_inuse.ksh index e9b7bbc4c4a..a9ab51c1923 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_rename_inuse.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_rename_inuse.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_snapdev.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_snapdev.ksh index af780b628ce..3d8868db68a 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_snapdev.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_snapdev.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_trim.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_trim.ksh index 329757cce77..bb697b76a9f 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_trim.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_trim.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_volmode.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_volmode.ksh index 05287674da6..505ef701c11 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_volmode.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_volmode.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_zil.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_zil.ksh index 16b22150b3e..07c1ad34523 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_zil.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_zil.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_stress/cleanup.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_stress/cleanup.ksh index a0555aff06c..aaa353d4cf2 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_stress/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_stress/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_stress/setup.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_stress/setup.ksh index 2abf3411fd0..656e2dd64a7 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_stress/setup.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_stress/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_stress/zvol_stress.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_stress/zvol_stress.ksh index 8d580911dea..a3f4ae1a35d 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_stress/zvol_stress.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_stress/zvol_stress.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/cleanup.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/cleanup.ksh index 0befaf15ef8..d8beef718a3 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/setup.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/setup.ksh index b837211aaeb..64f146c6e84 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/setup.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap.cfg b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap.cfg index b25ce80c20d..47d2f343ad8 100644 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap.cfg +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_001_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_001_pos.ksh index 44af6b5fada..14216c52cfb 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_001_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_002_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_002_pos.ksh index af9060c29f5..a4818814c4d 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_002_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh index 8a58a1f4be6..3d52bef1ddc 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh @@ -1,4 +1,5 @@ #! /bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_004_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_004_pos.ksh index a4f24bf5b80..5d6a52d6990 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_004_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_004_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_005_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_005_pos.ksh index 021c0e3c276..7564edd8946 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_005_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_006_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_006_pos.ksh index 4a519e6b754..05982eb748c 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_006_pos.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/perf/fio/mkfiles.fio b/tests/zfs-tests/tests/perf/fio/mkfiles.fio index 36ec22d4929..e2bbb24a737 100644 --- a/tests/zfs-tests/tests/perf/fio/mkfiles.fio +++ b/tests/zfs-tests/tests/perf/fio/mkfiles.fio @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/perf/fio/random_reads.fio b/tests/zfs-tests/tests/perf/fio/random_reads.fio index e6e7034e0ac..8be520db3c1 100644 --- a/tests/zfs-tests/tests/perf/fio/random_reads.fio +++ b/tests/zfs-tests/tests/perf/fio/random_reads.fio @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/perf/fio/random_readwrite.fio b/tests/zfs-tests/tests/perf/fio/random_readwrite.fio index f8eb6dbdfe4..7a8501aa9dc 100644 --- a/tests/zfs-tests/tests/perf/fio/random_readwrite.fio +++ b/tests/zfs-tests/tests/perf/fio/random_readwrite.fio @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/perf/fio/random_readwrite_fixed.fio b/tests/zfs-tests/tests/perf/fio/random_readwrite_fixed.fio index e83b48076d0..413c966bb7e 100644 --- a/tests/zfs-tests/tests/perf/fio/random_readwrite_fixed.fio +++ b/tests/zfs-tests/tests/perf/fio/random_readwrite_fixed.fio @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/perf/fio/random_writes.fio b/tests/zfs-tests/tests/perf/fio/random_writes.fio index 3b84b199438..663586d5f2b 100644 --- a/tests/zfs-tests/tests/perf/fio/random_writes.fio +++ b/tests/zfs-tests/tests/perf/fio/random_writes.fio @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/perf/fio/sequential_reads.fio b/tests/zfs-tests/tests/perf/fio/sequential_reads.fio index b4b45e08413..1b0aa77a538 100644 --- a/tests/zfs-tests/tests/perf/fio/sequential_reads.fio +++ b/tests/zfs-tests/tests/perf/fio/sequential_reads.fio @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/perf/fio/sequential_readwrite.fio b/tests/zfs-tests/tests/perf/fio/sequential_readwrite.fio index 2037ba2f67c..2f3c8fba18b 100644 --- a/tests/zfs-tests/tests/perf/fio/sequential_readwrite.fio +++ b/tests/zfs-tests/tests/perf/fio/sequential_readwrite.fio @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/perf/fio/sequential_writes.fio b/tests/zfs-tests/tests/perf/fio/sequential_writes.fio index 4582c818815..c05325c806f 100644 --- a/tests/zfs-tests/tests/perf/fio/sequential_writes.fio +++ b/tests/zfs-tests/tests/perf/fio/sequential_writes.fio @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/perf/nfs-sample.cfg b/tests/zfs-tests/tests/perf/nfs-sample.cfg index f7ac2dae350..e1b7f7f6967 100644 --- a/tests/zfs-tests/tests/perf/nfs-sample.cfg +++ b/tests/zfs-tests/tests/perf/nfs-sample.cfg @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/perf/perf.shlib b/tests/zfs-tests/tests/perf/perf.shlib index 5555e910d72..4c6eecd10b8 100644 --- a/tests/zfs-tests/tests/perf/perf.shlib +++ b/tests/zfs-tests/tests/perf/perf.shlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/perf/regression/random_reads.ksh b/tests/zfs-tests/tests/perf/regression/random_reads.ksh index 0c73df67935..4241cd3617a 100755 --- a/tests/zfs-tests/tests/perf/regression/random_reads.ksh +++ b/tests/zfs-tests/tests/perf/regression/random_reads.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/perf/regression/random_readwrite.ksh b/tests/zfs-tests/tests/perf/regression/random_readwrite.ksh index e0626c0b42f..370a9e068f1 100755 --- a/tests/zfs-tests/tests/perf/regression/random_readwrite.ksh +++ b/tests/zfs-tests/tests/perf/regression/random_readwrite.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/perf/regression/random_readwrite_fixed.ksh b/tests/zfs-tests/tests/perf/regression/random_readwrite_fixed.ksh index afaffb9e648..fda19dd0c5f 100755 --- a/tests/zfs-tests/tests/perf/regression/random_readwrite_fixed.ksh +++ b/tests/zfs-tests/tests/perf/regression/random_readwrite_fixed.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/perf/regression/random_writes.ksh b/tests/zfs-tests/tests/perf/regression/random_writes.ksh index 06061a9b746..a3d4de3ab06 100755 --- a/tests/zfs-tests/tests/perf/regression/random_writes.ksh +++ b/tests/zfs-tests/tests/perf/regression/random_writes.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/perf/regression/random_writes_zil.ksh b/tests/zfs-tests/tests/perf/regression/random_writes_zil.ksh index 7e5a741137d..cad99318db2 100755 --- a/tests/zfs-tests/tests/perf/regression/random_writes_zil.ksh +++ b/tests/zfs-tests/tests/perf/regression/random_writes_zil.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/perf/regression/sequential_reads.ksh b/tests/zfs-tests/tests/perf/regression/sequential_reads.ksh index cc6d1724523..33cbea6b16a 100755 --- a/tests/zfs-tests/tests/perf/regression/sequential_reads.ksh +++ b/tests/zfs-tests/tests/perf/regression/sequential_reads.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/perf/regression/sequential_reads_arc_cached.ksh b/tests/zfs-tests/tests/perf/regression/sequential_reads_arc_cached.ksh index ee14f2ce780..5176452d160 100755 --- a/tests/zfs-tests/tests/perf/regression/sequential_reads_arc_cached.ksh +++ b/tests/zfs-tests/tests/perf/regression/sequential_reads_arc_cached.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/perf/regression/sequential_reads_arc_cached_clone.ksh b/tests/zfs-tests/tests/perf/regression/sequential_reads_arc_cached_clone.ksh index 2cc81d5cd34..4d5972cd0c6 100755 --- a/tests/zfs-tests/tests/perf/regression/sequential_reads_arc_cached_clone.ksh +++ b/tests/zfs-tests/tests/perf/regression/sequential_reads_arc_cached_clone.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/perf/regression/sequential_reads_dbuf_cached.ksh b/tests/zfs-tests/tests/perf/regression/sequential_reads_dbuf_cached.ksh index 9a244324a75..d888f00b6a5 100755 --- a/tests/zfs-tests/tests/perf/regression/sequential_reads_dbuf_cached.ksh +++ b/tests/zfs-tests/tests/perf/regression/sequential_reads_dbuf_cached.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/perf/regression/sequential_writes.ksh b/tests/zfs-tests/tests/perf/regression/sequential_writes.ksh index a51655cc371..030267eae51 100755 --- a/tests/zfs-tests/tests/perf/regression/sequential_writes.ksh +++ b/tests/zfs-tests/tests/perf/regression/sequential_writes.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/perf/regression/setup.ksh b/tests/zfs-tests/tests/perf/regression/setup.ksh index 68be00d4a63..e5d8f572652 100755 --- a/tests/zfs-tests/tests/perf/regression/setup.ksh +++ b/tests/zfs-tests/tests/perf/regression/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/tests/zfs-tests/tests/perf/scripts/prefetch_io.sh b/tests/zfs-tests/tests/perf/scripts/prefetch_io.sh index bc2bb11aefa..f300fa2d9da 100755 --- a/tests/zfs-tests/tests/perf/scripts/prefetch_io.sh +++ b/tests/zfs-tests/tests/perf/scripts/prefetch_io.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the diff --git a/udev/zvol_id.c b/udev/zvol_id.c index 0d1da995674..7b7883a0c74 100644 --- a/udev/zvol_id.c +++ b/udev/zvol_id.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: CDDL-1.0 /* * CDDL HEADER START * From 137045be9827b1c50c311fd3476d798c4fccc203 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sat, 4 Jan 2025 12:14:31 +1100 Subject: [PATCH 12/51] SPDX: license tags: BSD-2-Clause Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- cmd/arc_summary | 1 + etc/init.d/zfs-import.in | 1 + etc/init.d/zfs-load-key.in | 1 + etc/init.d/zfs-mount.in | 1 + etc/init.d/zfs-share.in | 1 + etc/init.d/zfs-zed.in | 1 + etc/zfs/zfs-functions.in | 1 + include/os/freebsd/linux/compiler.h | 1 + include/os/freebsd/linux/types.h | 1 + include/os/freebsd/spl/sys/atomic.h | 1 + include/os/freebsd/spl/sys/condvar.h | 1 + include/os/freebsd/spl/sys/ctype.h | 1 + include/os/freebsd/spl/sys/debug.h | 1 + include/os/freebsd/spl/sys/dirent.h | 1 + include/os/freebsd/spl/sys/disp.h | 1 + include/os/freebsd/spl/sys/fcntl.h | 1 + include/os/freebsd/spl/sys/file.h | 1 + include/os/freebsd/spl/sys/freebsd_rwlock.h | 1 + include/os/freebsd/spl/sys/kmem.h | 1 + include/os/freebsd/spl/sys/kmem_cache.h | 1 + include/os/freebsd/spl/sys/lock.h | 1 + include/os/freebsd/spl/sys/misc.h | 1 + include/os/freebsd/spl/sys/mod_os.h | 1 + include/os/freebsd/spl/sys/mount.h | 1 + include/os/freebsd/spl/sys/mutex.h | 1 + include/os/freebsd/spl/sys/param.h | 1 + include/os/freebsd/spl/sys/policy.h | 1 + include/os/freebsd/spl/sys/proc.h | 1 + include/os/freebsd/spl/sys/random.h | 1 + include/os/freebsd/spl/sys/rwlock.h | 1 + include/os/freebsd/spl/sys/sdt.h | 1 + include/os/freebsd/spl/sys/sid.h | 1 + include/os/freebsd/spl/sys/sig.h | 1 + include/os/freebsd/spl/sys/simd.h | 1 + include/os/freebsd/spl/sys/simd_aarch64.h | 1 + include/os/freebsd/spl/sys/simd_arm.h | 1 + include/os/freebsd/spl/sys/simd_powerpc.h | 1 + include/os/freebsd/spl/sys/simd_x86.h | 1 + include/os/freebsd/spl/sys/string.h | 1 + include/os/freebsd/spl/sys/systeminfo.h | 1 + include/os/freebsd/spl/sys/systm.h | 1 + include/os/freebsd/spl/sys/thread.h | 1 + include/os/freebsd/spl/sys/time.h | 1 + include/os/freebsd/spl/sys/timer.h | 1 + include/os/freebsd/spl/sys/types.h | 1 + include/os/freebsd/spl/sys/types32.h | 1 + include/os/freebsd/spl/sys/uio.h | 1 + include/os/freebsd/spl/sys/vfs.h | 1 + include/os/freebsd/spl/sys/vm.h | 1 + include/os/freebsd/spl/sys/vmsystm.h | 1 + include/os/freebsd/spl/sys/vnode.h | 1 + include/os/freebsd/spl/sys/zone.h | 1 + include/os/freebsd/zfs/sys/freebsd_crypto.h | 1 + include/os/freebsd/zfs/sys/zfs_context_os.h | 1 + include/os/freebsd/zfs/sys/zfs_vnops_os.h | 1 + include/os/linux/spl/sys/debug.h | 1 + lib/libshare/os/freebsd/nfs.c | 1 + lib/libspl/include/os/freebsd/fcntl.h | 1 + lib/libspl/include/os/freebsd/sys/fcntl.h | 1 + lib/libspl/include/os/freebsd/sys/vfs.h | 1 + lib/libspl/include/os/freebsd/sys/zfs_context_os.h | 1 + lib/libspl/os/freebsd/mnttab.c | 1 + lib/libspl/os/freebsd/zone.c | 1 + lib/libzfs/os/freebsd/libzfs_zmount.c | 1 + lib/libzpool/zfs_racct.c | 1 + module/lua/setjmp/setjmp_aarch64.S | 1 + module/lua/setjmp/setjmp_arm.S | 1 + module/lua/setjmp/setjmp_loongarch64.S | 1 + module/lua/setjmp/setjmp_rv64g.S | 1 + module/os/freebsd/spl/spl_acl.c | 1 + module/os/freebsd/spl/spl_atomic.c | 1 + module/os/freebsd/spl/spl_dtrace.c | 1 + module/os/freebsd/spl/spl_kmem.c | 1 + module/os/freebsd/spl/spl_kstat.c | 1 + module/os/freebsd/spl/spl_misc.c | 1 + module/os/freebsd/spl/spl_policy.c | 1 + module/os/freebsd/spl/spl_procfs_list.c | 1 + module/os/freebsd/spl/spl_sunddi.c | 1 + module/os/freebsd/spl/spl_sysevent.c | 1 + module/os/freebsd/spl/spl_taskq.c | 1 + module/os/freebsd/spl/spl_vfs.c | 1 + module/os/freebsd/spl/spl_vm.c | 1 + module/os/freebsd/spl/spl_zlib.c | 1 + module/os/freebsd/spl/spl_zone.c | 1 + module/os/freebsd/zfs/crypto_os.c | 1 + module/os/freebsd/zfs/dmu_os.c | 1 + module/os/freebsd/zfs/kmod_core.c | 1 + module/os/freebsd/zfs/sysctl_os.c | 1 + module/os/freebsd/zfs/zfs_file_os.c | 1 + module/os/freebsd/zfs/zfs_ioctl_compat.c | 1 + module/os/freebsd/zfs/zfs_ioctl_os.c | 1 + module/os/freebsd/zfs/zfs_racct.c | 1 + module/os/linux/spl/spl-zone.c | 1 + module/os/linux/zfs/zfs_racct.c | 1 + module/zfs/lz4.c | 1 + module/zfs/lz4_zfs.c | 1 + 96 files changed, 96 insertions(+) diff --git a/cmd/arc_summary b/cmd/arc_summary index 72381d266e6..c1319573220 100755 --- a/cmd/arc_summary +++ b/cmd/arc_summary @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: BSD-2-Clause # # Copyright (c) 2008 Ben Rockwood , # Copyright (c) 2010 Martin Matuska , diff --git a/etc/init.d/zfs-import.in b/etc/init.d/zfs-import.in index ff169eb96d8..3e2f15ce970 100755 --- a/etc/init.d/zfs-import.in +++ b/etc/init.d/zfs-import.in @@ -1,4 +1,5 @@ #!@DEFAULT_INIT_SHELL@ +# SPDX-License-Identifier: BSD-2-Clause # shellcheck disable=SC2154 # # zfs-import This script will import ZFS pools diff --git a/etc/init.d/zfs-load-key.in b/etc/init.d/zfs-load-key.in index 27dfeeb0bcc..1edff9c6b3e 100755 --- a/etc/init.d/zfs-load-key.in +++ b/etc/init.d/zfs-load-key.in @@ -1,4 +1,5 @@ #!@DEFAULT_INIT_SHELL@ +# SPDX-License-Identifier: BSD-2-Clause # shellcheck disable=SC2154 # # zfs-load-key This script will load/unload the zfs filesystems keys. diff --git a/etc/init.d/zfs-mount.in b/etc/init.d/zfs-mount.in index 6a3ca5f8690..3b5004e0d20 100755 --- a/etc/init.d/zfs-mount.in +++ b/etc/init.d/zfs-mount.in @@ -1,4 +1,5 @@ #!@DEFAULT_INIT_SHELL@ +# SPDX-License-Identifier: BSD-2-Clause # shellcheck disable=SC2154 # # zfs-mount This script will mount/umount the zfs filesystems. diff --git a/etc/init.d/zfs-share.in b/etc/init.d/zfs-share.in index 06c59c620b7..c52b4900e35 100755 --- a/etc/init.d/zfs-share.in +++ b/etc/init.d/zfs-share.in @@ -1,4 +1,5 @@ #!@DEFAULT_INIT_SHELL@ +# SPDX-License-Identifier: BSD-2-Clause # shellcheck disable=SC2154 # # zfs-share This script will network share zfs filesystems and volumes. diff --git a/etc/init.d/zfs-zed.in b/etc/init.d/zfs-zed.in index 3d40600cea5..0dae98f74e0 100755 --- a/etc/init.d/zfs-zed.in +++ b/etc/init.d/zfs-zed.in @@ -1,4 +1,5 @@ #!@DEFAULT_INIT_SHELL@ +# SPDX-License-Identifier: BSD-2-Clause # shellcheck disable=SC2154 # # zfs-zed diff --git a/etc/zfs/zfs-functions.in b/etc/zfs/zfs-functions.in index 2ff1a186188..9ae8b40d41f 100644 --- a/etc/zfs/zfs-functions.in +++ b/etc/zfs/zfs-functions.in @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: BSD-2-Clause # This is a script with common functions etc used by zfs-import, zfs-load-key, # zfs-mount, zfs-share and zfs-zed. # diff --git a/include/os/freebsd/linux/compiler.h b/include/os/freebsd/linux/compiler.h index 24f09c72215..7af4f7112b0 100644 --- a/include/os/freebsd/linux/compiler.h +++ b/include/os/freebsd/linux/compiler.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2024 Warner Losh. * diff --git a/include/os/freebsd/linux/types.h b/include/os/freebsd/linux/types.h index d290317cc0d..0eae1747f59 100644 --- a/include/os/freebsd/linux/types.h +++ b/include/os/freebsd/linux/types.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2010 Isilon Systems, Inc. * Copyright (c) 2010 iXsystems, Inc. diff --git a/include/os/freebsd/spl/sys/atomic.h b/include/os/freebsd/spl/sys/atomic.h index 40a67704fde..a5b5c2ed675 100644 --- a/include/os/freebsd/spl/sys/atomic.h +++ b/include/os/freebsd/spl/sys/atomic.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/condvar.h b/include/os/freebsd/spl/sys/condvar.h index 9b1893bcb84..f22043e325d 100644 --- a/include/os/freebsd/spl/sys/condvar.h +++ b/include/os/freebsd/spl/sys/condvar.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * Copyright (c) 2013 iXsystems, Inc. diff --git a/include/os/freebsd/spl/sys/ctype.h b/include/os/freebsd/spl/sys/ctype.h index b9ca0f8ef2c..f13f6969075 100644 --- a/include/os/freebsd/spl/sys/ctype.h +++ b/include/os/freebsd/spl/sys/ctype.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/debug.h b/include/os/freebsd/spl/sys/debug.h index fd22e6b001d..c1a7cfdeca5 100644 --- a/include/os/freebsd/spl/sys/debug.h +++ b/include/os/freebsd/spl/sys/debug.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/dirent.h b/include/os/freebsd/spl/sys/dirent.h index 2403766a427..84568317327 100644 --- a/include/os/freebsd/spl/sys/dirent.h +++ b/include/os/freebsd/spl/sys/dirent.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/disp.h b/include/os/freebsd/spl/sys/disp.h index d46a7d2c014..a63541f5783 100644 --- a/include/os/freebsd/spl/sys/disp.h +++ b/include/os/freebsd/spl/sys/disp.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2013 Andriy Gapon * All rights reserved. diff --git a/include/os/freebsd/spl/sys/fcntl.h b/include/os/freebsd/spl/sys/fcntl.h index 4301d6e151d..8e3d8d87050 100644 --- a/include/os/freebsd/spl/sys/fcntl.h +++ b/include/os/freebsd/spl/sys/fcntl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/include/os/freebsd/spl/sys/file.h b/include/os/freebsd/spl/sys/file.h index 51e59b1133c..084261b46bc 100644 --- a/include/os/freebsd/spl/sys/file.h +++ b/include/os/freebsd/spl/sys/file.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/freebsd_rwlock.h b/include/os/freebsd/spl/sys/freebsd_rwlock.h index b760f8cf23d..8458ac905d3 100644 --- a/include/os/freebsd/spl/sys/freebsd_rwlock.h +++ b/include/os/freebsd/spl/sys/freebsd_rwlock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2013 EMC Corp. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/kmem.h b/include/os/freebsd/spl/sys/kmem.h index ae786f0e20c..a9619d7d021 100644 --- a/include/os/freebsd/spl/sys/kmem.h +++ b/include/os/freebsd/spl/sys/kmem.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/kmem_cache.h b/include/os/freebsd/spl/sys/kmem_cache.h index 9eec3b4585c..d55d5161941 100644 --- a/include/os/freebsd/spl/sys/kmem_cache.h +++ b/include/os/freebsd/spl/sys/kmem_cache.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/lock.h b/include/os/freebsd/spl/sys/lock.h index 7d5dc26abc7..306938c0c3a 100644 --- a/include/os/freebsd/spl/sys/lock.h +++ b/include/os/freebsd/spl/sys/lock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/misc.h b/include/os/freebsd/spl/sys/misc.h index 894ccd8bf9b..091ebe77281 100644 --- a/include/os/freebsd/spl/sys/misc.h +++ b/include/os/freebsd/spl/sys/misc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/mod_os.h b/include/os/freebsd/spl/sys/mod_os.h index 1479242de53..4214189c32d 100644 --- a/include/os/freebsd/spl/sys/mod_os.h +++ b/include/os/freebsd/spl/sys/mod_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/mount.h b/include/os/freebsd/spl/sys/mount.h index 42614e4739f..55c95c18545 100644 --- a/include/os/freebsd/spl/sys/mount.h +++ b/include/os/freebsd/spl/sys/mount.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/mutex.h b/include/os/freebsd/spl/sys/mutex.h index bbff9fe8038..546a4681a29 100644 --- a/include/os/freebsd/spl/sys/mutex.h +++ b/include/os/freebsd/spl/sys/mutex.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/param.h b/include/os/freebsd/spl/sys/param.h index 96440dce03b..a1b5504f746 100644 --- a/include/os/freebsd/spl/sys/param.h +++ b/include/os/freebsd/spl/sys/param.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (C) 2007 John Birrell * All rights reserved. diff --git a/include/os/freebsd/spl/sys/policy.h b/include/os/freebsd/spl/sys/policy.h index 32c10bdca90..639ade831c2 100644 --- a/include/os/freebsd/spl/sys/policy.h +++ b/include/os/freebsd/spl/sys/policy.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/proc.h b/include/os/freebsd/spl/sys/proc.h index 96ba10e5679..a03b815a22a 100644 --- a/include/os/freebsd/spl/sys/proc.h +++ b/include/os/freebsd/spl/sys/proc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/random.h b/include/os/freebsd/spl/sys/random.h index 146fa9e5d13..4674bde7e03 100644 --- a/include/os/freebsd/spl/sys/random.h +++ b/include/os/freebsd/spl/sys/random.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/rwlock.h b/include/os/freebsd/spl/sys/rwlock.h index 5146870790c..11393dbdca0 100644 --- a/include/os/freebsd/spl/sys/rwlock.h +++ b/include/os/freebsd/spl/sys/rwlock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/sdt.h b/include/os/freebsd/spl/sys/sdt.h index aa3688718ae..ef1dad6c14c 100644 --- a/include/os/freebsd/spl/sys/sdt.h +++ b/include/os/freebsd/spl/sys/sdt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/sid.h b/include/os/freebsd/spl/sys/sid.h index f249d05d55a..12afed312b5 100644 --- a/include/os/freebsd/spl/sys/sid.h +++ b/include/os/freebsd/spl/sys/sid.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/sig.h b/include/os/freebsd/spl/sys/sig.h index 17fc65cbe3e..1eb4ffb9e88 100644 --- a/include/os/freebsd/spl/sys/sig.h +++ b/include/os/freebsd/spl/sys/sig.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2008 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/simd.h b/include/os/freebsd/spl/sys/simd.h index d16e1db5e82..051fd8a27d2 100644 --- a/include/os/freebsd/spl/sys/simd.h +++ b/include/os/freebsd/spl/sys/simd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/simd_aarch64.h b/include/os/freebsd/spl/sys/simd_aarch64.h index 234f401db79..9df0f681743 100644 --- a/include/os/freebsd/spl/sys/simd_aarch64.h +++ b/include/os/freebsd/spl/sys/simd_aarch64.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (C) 2022 Tino Reichardt * All rights reserved. diff --git a/include/os/freebsd/spl/sys/simd_arm.h b/include/os/freebsd/spl/sys/simd_arm.h index 178fbc3b3c6..19baefd4872 100644 --- a/include/os/freebsd/spl/sys/simd_arm.h +++ b/include/os/freebsd/spl/sys/simd_arm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (C) 2022 Tino Reichardt * All rights reserved. diff --git a/include/os/freebsd/spl/sys/simd_powerpc.h b/include/os/freebsd/spl/sys/simd_powerpc.h index cf3c712c6af..7e7abd992ee 100644 --- a/include/os/freebsd/spl/sys/simd_powerpc.h +++ b/include/os/freebsd/spl/sys/simd_powerpc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (C) 2022 Tino Reichardt * All rights reserved. diff --git a/include/os/freebsd/spl/sys/simd_x86.h b/include/os/freebsd/spl/sys/simd_x86.h index 8e93b558dfe..c562fb0171d 100644 --- a/include/os/freebsd/spl/sys/simd_x86.h +++ b/include/os/freebsd/spl/sys/simd_x86.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/string.h b/include/os/freebsd/spl/sys/string.h index 859b40285a9..836eea191c1 100644 --- a/include/os/freebsd/spl/sys/string.h +++ b/include/os/freebsd/spl/sys/string.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/systeminfo.h b/include/os/freebsd/spl/sys/systeminfo.h index 4028cd7cc6f..690461cb2d2 100644 --- a/include/os/freebsd/spl/sys/systeminfo.h +++ b/include/os/freebsd/spl/sys/systeminfo.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/systm.h b/include/os/freebsd/spl/sys/systm.h index 98ee9557527..ec58ee0a907 100644 --- a/include/os/freebsd/spl/sys/systm.h +++ b/include/os/freebsd/spl/sys/systm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/thread.h b/include/os/freebsd/spl/sys/thread.h index 4fb1a542f55..4e2dedd8bf5 100644 --- a/include/os/freebsd/spl/sys/thread.h +++ b/include/os/freebsd/spl/sys/thread.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/time.h b/include/os/freebsd/spl/sys/time.h index 47d64c34756..2f5fe4619ef 100644 --- a/include/os/freebsd/spl/sys/time.h +++ b/include/os/freebsd/spl/sys/time.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/timer.h b/include/os/freebsd/spl/sys/timer.h index 7ff77e9b1b7..3c5a5ee1bd7 100644 --- a/include/os/freebsd/spl/sys/timer.h +++ b/include/os/freebsd/spl/sys/timer.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/types.h b/include/os/freebsd/spl/sys/types.h index ebc93f4f448..5d0a48199f1 100644 --- a/include/os/freebsd/spl/sys/types.h +++ b/include/os/freebsd/spl/sys/types.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/types32.h b/include/os/freebsd/spl/sys/types32.h index 907b667e5d8..5b713192346 100644 --- a/include/os/freebsd/spl/sys/types32.h +++ b/include/os/freebsd/spl/sys/types32.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/uio.h b/include/os/freebsd/spl/sys/uio.h index 2bd5bdb80d9..528de695525 100644 --- a/include/os/freebsd/spl/sys/uio.h +++ b/include/os/freebsd/spl/sys/uio.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2010 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/vfs.h b/include/os/freebsd/spl/sys/vfs.h index f2196da56bc..ce2617160a6 100644 --- a/include/os/freebsd/spl/sys/vfs.h +++ b/include/os/freebsd/spl/sys/vfs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/vm.h b/include/os/freebsd/spl/sys/vm.h index 07ee6bc191a..454078f0fe7 100644 --- a/include/os/freebsd/spl/sys/vm.h +++ b/include/os/freebsd/spl/sys/vm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2013 EMC Corp. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/vmsystm.h b/include/os/freebsd/spl/sys/vmsystm.h index 0db34bbe438..634ee36950a 100644 --- a/include/os/freebsd/spl/sys/vmsystm.h +++ b/include/os/freebsd/spl/sys/vmsystm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/vnode.h b/include/os/freebsd/spl/sys/vnode.h index b9d3e81d081..ae9c766e320 100644 --- a/include/os/freebsd/spl/sys/vnode.h +++ b/include/os/freebsd/spl/sys/vnode.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/zone.h b/include/os/freebsd/spl/sys/zone.h index dd088de836d..cfe63946706 100644 --- a/include/os/freebsd/spl/sys/zone.h +++ b/include/os/freebsd/spl/sys/zone.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/zfs/sys/freebsd_crypto.h b/include/os/freebsd/zfs/sys/freebsd_crypto.h index a61a6cd88c1..e7bc339eba5 100644 --- a/include/os/freebsd/zfs/sys/freebsd_crypto.h +++ b/include/os/freebsd/zfs/sys/freebsd_crypto.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2018 Sean Eric Fagan * Portions Copyright (c) 2005-2011 Pawel Jakub Dawidek diff --git a/include/os/freebsd/zfs/sys/zfs_context_os.h b/include/os/freebsd/zfs/sys/zfs_context_os.h index 457fa3af814..ce7cfd47946 100644 --- a/include/os/freebsd/zfs/sys/zfs_context_os.h +++ b/include/os/freebsd/zfs/sys/zfs_context_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/zfs/sys/zfs_vnops_os.h b/include/os/freebsd/zfs/sys/zfs_vnops_os.h index eddcab575b9..e27c6527e2b 100644 --- a/include/os/freebsd/zfs/sys/zfs_vnops_os.h +++ b/include/os/freebsd/zfs/sys/zfs_vnops_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/linux/spl/sys/debug.h b/include/os/linux/spl/sys/debug.h index 3459d6979fe..700cc85b60b 100644 --- a/include/os/linux/spl/sys/debug.h +++ b/include/os/linux/spl/sys/debug.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/lib/libshare/os/freebsd/nfs.c b/lib/libshare/os/freebsd/nfs.c index 8a7ee6b35fe..969194f2881 100644 --- a/lib/libshare/os/freebsd/nfs.c +++ b/lib/libshare/os/freebsd/nfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/lib/libspl/include/os/freebsd/fcntl.h b/lib/libspl/include/os/freebsd/fcntl.h index 26d571ad892..1222b3d7a6b 100644 --- a/lib/libspl/include/os/freebsd/fcntl.h +++ b/lib/libspl/include/os/freebsd/fcntl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/lib/libspl/include/os/freebsd/sys/fcntl.h b/lib/libspl/include/os/freebsd/sys/fcntl.h index c8a37a19385..64dd4d7ebe4 100644 --- a/lib/libspl/include/os/freebsd/sys/fcntl.h +++ b/lib/libspl/include/os/freebsd/sys/fcntl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/lib/libspl/include/os/freebsd/sys/vfs.h b/lib/libspl/include/os/freebsd/sys/vfs.h index 55eb3c23b22..228ec590524 100644 --- a/lib/libspl/include/os/freebsd/sys/vfs.h +++ b/lib/libspl/include/os/freebsd/sys/vfs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/lib/libspl/include/os/freebsd/sys/zfs_context_os.h b/lib/libspl/include/os/freebsd/sys/zfs_context_os.h index 9b9d69bddcf..1dd036d02ac 100644 --- a/lib/libspl/include/os/freebsd/sys/zfs_context_os.h +++ b/lib/libspl/include/os/freebsd/sys/zfs_context_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/lib/libspl/os/freebsd/mnttab.c b/lib/libspl/os/freebsd/mnttab.c index 26a4cd992cf..5287da13296 100644 --- a/lib/libspl/os/freebsd/mnttab.c +++ b/lib/libspl/os/freebsd/mnttab.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2006 Pawel Jakub Dawidek * All rights reserved. diff --git a/lib/libspl/os/freebsd/zone.c b/lib/libspl/os/freebsd/zone.c index c07cb0532e1..d6f698207cd 100644 --- a/lib/libspl/os/freebsd/zone.c +++ b/lib/libspl/os/freebsd/zone.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/lib/libzfs/os/freebsd/libzfs_zmount.c b/lib/libzfs/os/freebsd/libzfs_zmount.c index 3c50daf471b..bc7d68b17eb 100644 --- a/lib/libzfs/os/freebsd/libzfs_zmount.c +++ b/lib/libzfs/os/freebsd/libzfs_zmount.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2006 Pawel Jakub Dawidek * All rights reserved. diff --git a/lib/libzpool/zfs_racct.c b/lib/libzpool/zfs_racct.c index b1aff465c2e..0f80907a5fa 100644 --- a/lib/libzpool/zfs_racct.c +++ b/lib/libzpool/zfs_racct.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/module/lua/setjmp/setjmp_aarch64.S b/module/lua/setjmp/setjmp_aarch64.S index 040ef1821ab..3da99b52068 100644 --- a/module/lua/setjmp/setjmp_aarch64.S +++ b/module/lua/setjmp/setjmp_aarch64.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /*- * Copyright (c) 2014 Andrew Turner * Copyright (c) 2014-2015 The FreeBSD Foundation diff --git a/module/lua/setjmp/setjmp_arm.S b/module/lua/setjmp/setjmp_arm.S index 0b18a96282c..fc3c33e6e34 100644 --- a/module/lua/setjmp/setjmp_arm.S +++ b/module/lua/setjmp/setjmp_arm.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /*- * Copyright 2004-2014 Olivier Houchard * Copyright 2012-2014 Ian Lepore diff --git a/module/lua/setjmp/setjmp_loongarch64.S b/module/lua/setjmp/setjmp_loongarch64.S index 216b829ff23..a8048dfd194 100644 --- a/module/lua/setjmp/setjmp_loongarch64.S +++ b/module/lua/setjmp/setjmp_loongarch64.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /*- * Copyright 2022 Han Gao * All rights reserved. diff --git a/module/lua/setjmp/setjmp_rv64g.S b/module/lua/setjmp/setjmp_rv64g.S index 7f6c50d25a4..afd35f04b56 100644 --- a/module/lua/setjmp/setjmp_rv64g.S +++ b/module/lua/setjmp/setjmp_rv64g.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /*- * Copyright (c) 2015-2016 Ruslan Bukin * All rights reserved. diff --git a/module/os/freebsd/spl/spl_acl.c b/module/os/freebsd/spl/spl_acl.c index c820d7a6d22..68159d62610 100644 --- a/module/os/freebsd/spl/spl_acl.c +++ b/module/os/freebsd/spl/spl_acl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2008, 2009 Edward Tomasz Napierała * diff --git a/module/os/freebsd/spl/spl_atomic.c b/module/os/freebsd/spl/spl_atomic.c index cdfd37f3e05..00ab6e16bdd 100644 --- a/module/os/freebsd/spl/spl_atomic.c +++ b/module/os/freebsd/spl/spl_atomic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_dtrace.c b/module/os/freebsd/spl/spl_dtrace.c index 0a2fcf110d7..b1f68c78ba6 100644 --- a/module/os/freebsd/spl/spl_dtrace.c +++ b/module/os/freebsd/spl/spl_dtrace.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright 2014 The FreeBSD Project. * All rights reserved. diff --git a/module/os/freebsd/spl/spl_kmem.c b/module/os/freebsd/spl/spl_kmem.c index ceaa2b40bea..6d198fad520 100644 --- a/module/os/freebsd/spl/spl_kmem.c +++ b/module/os/freebsd/spl/spl_kmem.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2006-2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_kstat.c b/module/os/freebsd/spl/spl_kstat.c index f657ef2a3ac..1fb294b3709 100644 --- a/module/os/freebsd/spl/spl_kstat.c +++ b/module/os/freebsd/spl/spl_kstat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_misc.c b/module/os/freebsd/spl/spl_misc.c index 2d0821417ad..f9125a067cd 100644 --- a/module/os/freebsd/spl/spl_misc.c +++ b/module/os/freebsd/spl/spl_misc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_policy.c b/module/os/freebsd/spl/spl_policy.c index 42a693b073d..aad3ef2fad5 100644 --- a/module/os/freebsd/spl/spl_policy.c +++ b/module/os/freebsd/spl/spl_policy.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_procfs_list.c b/module/os/freebsd/spl/spl_procfs_list.c index 77d33ee2e1f..65ce9af1e44 100644 --- a/module/os/freebsd/spl/spl_procfs_list.c +++ b/module/os/freebsd/spl/spl_procfs_list.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/spl/spl_sunddi.c b/module/os/freebsd/spl/spl_sunddi.c index 4c97c9f12ca..32667772c55 100644 --- a/module/os/freebsd/spl/spl_sunddi.c +++ b/module/os/freebsd/spl/spl_sunddi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2010 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_sysevent.c b/module/os/freebsd/spl/spl_sysevent.c index dc5ed81057b..9da633c2b1b 100644 --- a/module/os/freebsd/spl/spl_sysevent.c +++ b/module/os/freebsd/spl/spl_sysevent.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2010 Pawel Jakub Dawidek * Copyright (c) 2020 iXsystems, Inc. diff --git a/module/os/freebsd/spl/spl_taskq.c b/module/os/freebsd/spl/spl_taskq.c index af32c0ee2e5..78d9c825720 100644 --- a/module/os/freebsd/spl/spl_taskq.c +++ b/module/os/freebsd/spl/spl_taskq.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2009 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_vfs.c b/module/os/freebsd/spl/spl_vfs.c index 6af3da138f8..ef0224a2742 100644 --- a/module/os/freebsd/spl/spl_vfs.c +++ b/module/os/freebsd/spl/spl_vfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2006-2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_vm.c b/module/os/freebsd/spl/spl_vm.c index e6f019cb9a4..733c2bd07eb 100644 --- a/module/os/freebsd/spl/spl_vm.c +++ b/module/os/freebsd/spl/spl_vm.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2013 EMC Corp. * All rights reserved. diff --git a/module/os/freebsd/spl/spl_zlib.c b/module/os/freebsd/spl/spl_zlib.c index 4a2bb3884ca..89f3e4b5b9b 100644 --- a/module/os/freebsd/spl/spl_zlib.c +++ b/module/os/freebsd/spl/spl_zlib.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/spl/spl_zone.c b/module/os/freebsd/spl/spl_zone.c index e3896517bd6..06f58850783 100644 --- a/module/os/freebsd/spl/spl_zone.c +++ b/module/os/freebsd/spl/spl_zone.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/zfs/crypto_os.c b/module/os/freebsd/zfs/crypto_os.c index 4d8493743ef..a4bf3fb6490 100644 --- a/module/os/freebsd/zfs/crypto_os.c +++ b/module/os/freebsd/zfs/crypto_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2005-2010 Pawel Jakub Dawidek * Copyright (c) 2018 Sean Eric Fagan diff --git a/module/os/freebsd/zfs/dmu_os.c b/module/os/freebsd/zfs/dmu_os.c index 370ce2d806e..d7c9be70ad4 100644 --- a/module/os/freebsd/zfs/dmu_os.c +++ b/module/os/freebsd/zfs/dmu_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/kmod_core.c b/module/os/freebsd/zfs/kmod_core.c index f883599f2da..c114db14a91 100644 --- a/module/os/freebsd/zfs/kmod_core.c +++ b/module/os/freebsd/zfs/kmod_core.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/sysctl_os.c b/module/os/freebsd/zfs/sysctl_os.c index bddb25a0720..ace2360c032 100644 --- a/module/os/freebsd/zfs/sysctl_os.c +++ b/module/os/freebsd/zfs/sysctl_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/zfs_file_os.c b/module/os/freebsd/zfs/zfs_file_os.c index f6ee391dedd..21e5f7938f9 100644 --- a/module/os/freebsd/zfs/zfs_file_os.c +++ b/module/os/freebsd/zfs/zfs_file_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/zfs_ioctl_compat.c b/module/os/freebsd/zfs/zfs_ioctl_compat.c index 4a7beb650a8..72d6e16bea4 100644 --- a/module/os/freebsd/zfs/zfs_ioctl_compat.c +++ b/module/os/freebsd/zfs/zfs_ioctl_compat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/zfs_ioctl_os.c b/module/os/freebsd/zfs/zfs_ioctl_os.c index 928cf25e940..dcdefae5663 100644 --- a/module/os/freebsd/zfs/zfs_ioctl_os.c +++ b/module/os/freebsd/zfs/zfs_ioctl_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/zfs_racct.c b/module/os/freebsd/zfs/zfs_racct.c index 2989a9af923..bdbbdacd984 100644 --- a/module/os/freebsd/zfs/zfs_racct.c +++ b/module/os/freebsd/zfs/zfs_racct.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/module/os/linux/spl/spl-zone.c b/module/os/linux/spl/spl-zone.c index 58b5e0dc44b..45c2999a4bb 100644 --- a/module/os/linux/spl/spl-zone.c +++ b/module/os/linux/spl/spl-zone.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 Klara Systems, Inc. * All rights reserved. diff --git a/module/os/linux/zfs/zfs_racct.c b/module/os/linux/zfs/zfs_racct.c index ce197caa45f..4dbd6a28b59 100644 --- a/module/os/linux/zfs/zfs_racct.c +++ b/module/os/linux/zfs/zfs_racct.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/module/zfs/lz4.c b/module/zfs/lz4.c index 75a31bf17ea..26dd09acd4d 100644 --- a/module/zfs/lz4.c +++ b/module/zfs/lz4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* LZ4 - Fast LZ compression algorithm Copyright (C) 2011-present, Yann Collet. diff --git a/module/zfs/lz4_zfs.c b/module/zfs/lz4_zfs.c index 0033b5e50d1..0c03a6855c7 100644 --- a/module/zfs/lz4_zfs.c +++ b/module/zfs/lz4_zfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * LZ4 - Fast LZ compression algorithm * Header File From 4eafa9e5e8d32fc0de18bff666db970f9d2ac12e Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sat, 4 Jan 2025 17:30:49 +1100 Subject: [PATCH 13/51] SPDX: license tags: BSD-3-Clause Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- contrib/pam_zfs_key/pam_zfs_key.c | 1 + include/sys/zstd/zstd.h | 1 + lib/libzutil/os/linux/zutil_setproctitle.c | 1 + module/lua/setjmp/setjmp_mips.S | 1 + module/lua/setjmp/setjmp_sparc64.S | 1 + module/zstd/include/aarch64_compat.h | 1 + module/zstd/include/limits.h | 1 + module/zstd/include/stddef.h | 1 + module/zstd/include/stdint.h | 1 + module/zstd/include/stdio.h | 1 + module/zstd/include/stdlib.h | 1 + module/zstd/include/string.h | 1 + module/zstd/include/zstd_compat_wrapper.h | 1 + module/zstd/zfs_zstd.c | 1 + module/zstd/zstd-in.c | 1 + 15 files changed, 15 insertions(+) diff --git a/contrib/pam_zfs_key/pam_zfs_key.c b/contrib/pam_zfs_key/pam_zfs_key.c index c617a6e6b37..a0bc172c6f4 100644 --- a/contrib/pam_zfs_key/pam_zfs_key.c +++ b/contrib/pam_zfs_key/pam_zfs_key.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/include/sys/zstd/zstd.h b/include/sys/zstd/zstd.h index 6d212b082f9..8c3c6e67e9c 100644 --- a/include/sys/zstd/zstd.h +++ b/include/sys/zstd/zstd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html) * diff --git a/lib/libzutil/os/linux/zutil_setproctitle.c b/lib/libzutil/os/linux/zutil_setproctitle.c index e63acceb4f8..fc727e29ce2 100644 --- a/lib/libzutil/os/linux/zutil_setproctitle.c +++ b/lib/libzutil/os/linux/zutil_setproctitle.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * Copyright © 2013 Guillem Jover * diff --git a/module/lua/setjmp/setjmp_mips.S b/module/lua/setjmp/setjmp_mips.S index 0084fbfa4be..9f52b83b85c 100644 --- a/module/lua/setjmp/setjmp_mips.S +++ b/module/lua/setjmp/setjmp_mips.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 * The President and Fellows of Harvard College. diff --git a/module/lua/setjmp/setjmp_sparc64.S b/module/lua/setjmp/setjmp_sparc64.S index e1099643de9..08abf4b2831 100644 --- a/module/lua/setjmp/setjmp_sparc64.S +++ b/module/lua/setjmp/setjmp_sparc64.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. diff --git a/module/zstd/include/aarch64_compat.h b/module/zstd/include/aarch64_compat.h index 088517d3d23..9500a832b81 100644 --- a/module/zstd/include/aarch64_compat.h +++ b/module/zstd/include/aarch64_compat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html) * diff --git a/module/zstd/include/limits.h b/module/zstd/include/limits.h index 3bf5b67765a..45b57f6e9f2 100644 --- a/module/zstd/include/limits.h +++ b/module/zstd/include/limits.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html) * diff --git a/module/zstd/include/stddef.h b/module/zstd/include/stddef.h index 3f46fb8b033..24c250fa5d2 100644 --- a/module/zstd/include/stddef.h +++ b/module/zstd/include/stddef.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html) * diff --git a/module/zstd/include/stdint.h b/module/zstd/include/stdint.h index 2d98a556c23..31e11f57868 100644 --- a/module/zstd/include/stdint.h +++ b/module/zstd/include/stdint.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html) * diff --git a/module/zstd/include/stdio.h b/module/zstd/include/stdio.h index 5a7c6ec6991..50b698fa207 100644 --- a/module/zstd/include/stdio.h +++ b/module/zstd/include/stdio.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html) * diff --git a/module/zstd/include/stdlib.h b/module/zstd/include/stdlib.h index c341a0c8488..cc66184fa2a 100644 --- a/module/zstd/include/stdlib.h +++ b/module/zstd/include/stdlib.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html) * diff --git a/module/zstd/include/string.h b/module/zstd/include/string.h index 7474e7f1af0..b058bafc1ad 100644 --- a/module/zstd/include/string.h +++ b/module/zstd/include/string.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html) * diff --git a/module/zstd/include/zstd_compat_wrapper.h b/module/zstd/include/zstd_compat_wrapper.h index 4e6561f31a6..51e67ab6b8a 100644 --- a/module/zstd/include/zstd_compat_wrapper.h +++ b/module/zstd/include/zstd_compat_wrapper.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html) * diff --git a/module/zstd/zfs_zstd.c b/module/zstd/zfs_zstd.c index e113962f65b..b42066fdb7c 100644 --- a/module/zstd/zfs_zstd.c +++ b/module/zstd/zfs_zstd.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html) * diff --git a/module/zstd/zstd-in.c b/module/zstd/zstd-in.c index 121f375e551..fb56b19fefd 100644 --- a/module/zstd/zstd-in.c +++ b/module/zstd/zstd-in.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * BSD 3-Clause Clear License * From 7d8dd8d9a5f8e8a76b6ddeea70593a2578f3c7b5 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sat, 4 Jan 2025 17:18:18 +1100 Subject: [PATCH 14/51] SPDX: license tags: MIT Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- etc/systemd/system-generators/zfs-mount-generator.c | 1 + include/cityhash.h | 2 ++ include/sys/lua/lauxlib.h | 1 + include/sys/lua/lua.h | 1 + include/sys/lua/luaconf.h | 1 + include/sys/lua/lualib.h | 1 + man/man8/zfs-mount-generator.8.in | 1 + module/lua/lapi.c | 1 + module/lua/lapi.h | 1 + module/lua/lauxlib.c | 1 + module/lua/lbaselib.c | 1 + module/lua/lcode.c | 1 + module/lua/lcode.h | 1 + module/lua/lcompat.c | 1 + module/lua/lcorolib.c | 1 + module/lua/lctype.c | 1 + module/lua/lctype.h | 1 + module/lua/ldebug.c | 1 + module/lua/ldebug.h | 1 + module/lua/ldo.c | 1 + module/lua/ldo.h | 1 + module/lua/lfunc.c | 1 + module/lua/lfunc.h | 1 + module/lua/lgc.c | 1 + module/lua/lgc.h | 1 + module/lua/llex.c | 1 + module/lua/llex.h | 1 + module/lua/llimits.h | 1 + module/lua/lmem.c | 1 + module/lua/lmem.h | 1 + module/lua/lobject.c | 1 + module/lua/lobject.h | 1 + module/lua/lopcodes.c | 1 + module/lua/lopcodes.h | 1 + module/lua/lparser.c | 1 + module/lua/lparser.h | 1 + module/lua/lstate.c | 1 + module/lua/lstate.h | 1 + module/lua/lstring.c | 1 + module/lua/lstring.h | 1 + module/lua/lstrlib.c | 1 + module/lua/ltable.c | 1 + module/lua/ltable.h | 1 + module/lua/ltablib.c | 1 + module/lua/ltm.c | 1 + module/lua/ltm.h | 1 + module/lua/lvm.c | 1 + module/lua/lvm.h | 1 + module/lua/lzio.c | 1 + module/lua/lzio.h | 1 + module/lua/setjmp/setjmp_s390x.S | 1 + module/zcommon/cityhash.c | 2 ++ scripts/kmodtool | 1 + .../tests/functional/channel_program/lua_core/tst.lib_base.lua | 1 + .../functional/channel_program/lua_core/tst.lib_coroutine.lua | 1 + .../functional/channel_program/lua_core/tst.lib_strings.lua | 1 + .../tests/functional/channel_program/lua_core/tst.lib_table.lua | 1 + 57 files changed, 59 insertions(+) diff --git a/etc/systemd/system-generators/zfs-mount-generator.c b/etc/systemd/system-generators/zfs-mount-generator.c index ab5dc4d78d6..7ad9ff61d8e 100644 --- a/etc/systemd/system-generators/zfs-mount-generator.c +++ b/etc/systemd/system-generators/zfs-mount-generator.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright (c) 2017 Antonio Russo * Copyright (c) 2020 InsanePrawn diff --git a/include/cityhash.h b/include/cityhash.h index 346fb673a07..61c9f8bf877 100644 --- a/include/cityhash.h +++ b/include/cityhash.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT +// // Copyright (c) 2011 Google, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/include/sys/lua/lauxlib.h b/include/sys/lua/lauxlib.h index 1d17837568a..33269319ec8 100644 --- a/include/sys/lua/lauxlib.h +++ b/include/sys/lua/lauxlib.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lauxlib.h,v 1.120.1.1 2013/04/12 18:48:47 roberto Exp $ ** Auxiliary functions for building Lua libraries diff --git a/include/sys/lua/lua.h b/include/sys/lua/lua.h index 9220218af03..e5862f88c29 100644 --- a/include/sys/lua/lua.h +++ b/include/sys/lua/lua.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lua.h,v 1.285.1.4 2015/02/21 14:04:50 roberto Exp $ ** Lua - A Scripting Language diff --git a/include/sys/lua/luaconf.h b/include/sys/lua/luaconf.h index 6dfcd03ba9c..96af8686403 100644 --- a/include/sys/lua/luaconf.h +++ b/include/sys/lua/luaconf.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: luaconf.h,v 1.176.1.2 2013/11/21 17:26:16 roberto Exp $ ** Configuration file for Lua diff --git a/include/sys/lua/lualib.h b/include/sys/lua/lualib.h index f23feaa5c44..37e0c3c484a 100644 --- a/include/sys/lua/lualib.h +++ b/include/sys/lua/lualib.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lualib.h,v 1.43.1.1 2013/04/12 18:48:47 roberto Exp $ ** Lua standard libraries diff --git a/man/man8/zfs-mount-generator.8.in b/man/man8/zfs-mount-generator.8.in index be60ea68f96..ea470247daa 100644 --- a/man/man8/zfs-mount-generator.8.in +++ b/man/man8/zfs-mount-generator.8.in @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: MIT .\" .\" Copyright 2018 Antonio Russo .\" Copyright 2019 Kjeld Schouten-Lebbing diff --git a/module/lua/lapi.c b/module/lua/lapi.c index 703cf4cc2a3..129ae52ba6c 100644 --- a/module/lua/lapi.c +++ b/module/lua/lapi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lapi.c,v 2.171.1.1 2013/04/12 18:48:47 roberto Exp $ ** Lua API diff --git a/module/lua/lapi.h b/module/lua/lapi.h index c7d34ad8486..938cae6bb57 100644 --- a/module/lua/lapi.h +++ b/module/lua/lapi.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lapi.h,v 2.7.1.1 2013/04/12 18:48:47 roberto Exp $ ** Auxiliary functions from Lua API diff --git a/module/lua/lauxlib.c b/module/lua/lauxlib.c index 6c5a69a31f9..de470179e5e 100644 --- a/module/lua/lauxlib.c +++ b/module/lua/lauxlib.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lauxlib.c,v 1.248.1.1 2013/04/12 18:48:47 roberto Exp $ ** Auxiliary functions for building Lua libraries diff --git a/module/lua/lbaselib.c b/module/lua/lbaselib.c index b3caea0f33c..896e2515731 100644 --- a/module/lua/lbaselib.c +++ b/module/lua/lbaselib.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lbaselib.c,v 1.276.1.1 2013/04/12 18:48:47 roberto Exp $ ** Basic library diff --git a/module/lua/lcode.c b/module/lua/lcode.c index 467af3020a4..7328a76f9d0 100644 --- a/module/lua/lcode.c +++ b/module/lua/lcode.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lcode.c,v 2.62.1.1 2013/04/12 18:48:47 roberto Exp $ ** Code generator for Lua diff --git a/module/lua/lcode.h b/module/lua/lcode.h index 6a1424cf5a7..8daf31df31b 100644 --- a/module/lua/lcode.h +++ b/module/lua/lcode.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lcode.h,v 1.58.1.1 2013/04/12 18:48:47 roberto Exp $ ** Code generator for Lua diff --git a/module/lua/lcompat.c b/module/lua/lcompat.c index c0a27182c7d..0227a9311fa 100644 --- a/module/lua/lcompat.c +++ b/module/lua/lcompat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright (c) 2016 by Delphix. All rights reserved. */ diff --git a/module/lua/lcorolib.c b/module/lua/lcorolib.c index a4d60ffd454..b79aa663b6d 100644 --- a/module/lua/lcorolib.c +++ b/module/lua/lcorolib.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lcorolib.c,v 1.5.1.1 2013/04/12 18:48:47 roberto Exp $ ** Coroutine Library diff --git a/module/lua/lctype.c b/module/lua/lctype.c index 2c6e13469d4..a8b3c2d1618 100644 --- a/module/lua/lctype.c +++ b/module/lua/lctype.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lctype.c,v 1.11.1.1 2013/04/12 18:48:47 roberto Exp $ ** 'ctype' functions for Lua diff --git a/module/lua/lctype.h b/module/lua/lctype.h index bd9f4c8685c..bbf0d71e6fc 100644 --- a/module/lua/lctype.h +++ b/module/lua/lctype.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lctype.h,v 1.12.1.1 2013/04/12 18:48:47 roberto Exp $ ** 'ctype' functions for Lua diff --git a/module/lua/ldebug.c b/module/lua/ldebug.c index 23e321bb124..4b63b97a252 100644 --- a/module/lua/ldebug.c +++ b/module/lua/ldebug.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: ldebug.c,v 2.90.1.4 2015/02/19 17:05:13 roberto Exp $ ** Debug Interface diff --git a/module/lua/ldebug.h b/module/lua/ldebug.h index 6445c763ea5..f7ce9beab7b 100644 --- a/module/lua/ldebug.h +++ b/module/lua/ldebug.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: ldebug.h,v 2.7.1.1 2013/04/12 18:48:47 roberto Exp $ ** Auxiliary functions from Debug Interface module diff --git a/module/lua/ldo.c b/module/lua/ldo.c index 38bd4e08a73..940ee0baaf6 100644 --- a/module/lua/ldo.c +++ b/module/lua/ldo.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: ldo.c,v 2.108.1.3 2013/11/08 18:22:50 roberto Exp $ ** Stack and Call structure of Lua diff --git a/module/lua/ldo.h b/module/lua/ldo.h index a6ca5e12e73..89bd8880ff1 100644 --- a/module/lua/ldo.h +++ b/module/lua/ldo.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: ldo.h,v 2.20.1.1 2013/04/12 18:48:47 roberto Exp $ ** Stack and Call structure of Lua diff --git a/module/lua/lfunc.c b/module/lua/lfunc.c index 55b19c01449..89a4c398dcf 100644 --- a/module/lua/lfunc.c +++ b/module/lua/lfunc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lfunc.c,v 2.30.1.1 2013/04/12 18:48:47 roberto Exp $ ** Auxiliary functions to manipulate prototypes and closures diff --git a/module/lua/lfunc.h b/module/lua/lfunc.h index 1dc6995ca9d..6c05210f1a2 100644 --- a/module/lua/lfunc.h +++ b/module/lua/lfunc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lfunc.h,v 2.8.1.1 2013/04/12 18:48:47 roberto Exp $ ** Auxiliary functions to manipulate prototypes and closures diff --git a/module/lua/lgc.c b/module/lua/lgc.c index ccb8c019b94..14cca1736d6 100644 --- a/module/lua/lgc.c +++ b/module/lua/lgc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lgc.c,v 2.140.1.3 2014/09/01 16:55:08 roberto Exp $ ** Garbage Collector diff --git a/module/lua/lgc.h b/module/lua/lgc.h index 02f17fe1239..4aee263f167 100644 --- a/module/lua/lgc.h +++ b/module/lua/lgc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lgc.h,v 2.58.1.1 2013/04/12 18:48:47 roberto Exp $ ** Garbage Collector diff --git a/module/lua/llex.c b/module/lua/llex.c index bcdda4ccf03..1d610abf066 100644 --- a/module/lua/llex.c +++ b/module/lua/llex.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: llex.c,v 2.63.1.3 2015/02/09 17:56:34 roberto Exp $ ** Lexical Analyzer diff --git a/module/lua/llex.h b/module/lua/llex.h index 43313451539..77a0fa2b453 100644 --- a/module/lua/llex.h +++ b/module/lua/llex.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: llex.h,v 1.72.1.1 2013/04/12 18:48:47 roberto Exp $ ** Lexical Analyzer diff --git a/module/lua/llimits.h b/module/lua/llimits.h index 56631352905..892763eb42d 100644 --- a/module/lua/llimits.h +++ b/module/lua/llimits.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: llimits.h,v 1.103.1.1 2013/04/12 18:48:47 roberto Exp $ ** Limits, basic types, and some other `installation-dependent' definitions diff --git a/module/lua/lmem.c b/module/lua/lmem.c index 1344099b449..a6df0f97103 100644 --- a/module/lua/lmem.c +++ b/module/lua/lmem.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lmem.c,v 1.84.1.1 2013/04/12 18:48:47 roberto Exp $ ** Interface to Memory Manager diff --git a/module/lua/lmem.h b/module/lua/lmem.h index 249a76f3297..e3af7044d0f 100644 --- a/module/lua/lmem.h +++ b/module/lua/lmem.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lmem.h,v 1.40.1.1 2013/04/12 18:48:47 roberto Exp $ ** Interface to Memory Manager diff --git a/module/lua/lobject.c b/module/lua/lobject.c index ea1f9a8e3b9..18ecd4ffaee 100644 --- a/module/lua/lobject.c +++ b/module/lua/lobject.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lobject.c,v 2.58.1.1 2013/04/12 18:48:47 roberto Exp $ ** Some generic functions over Lua objects diff --git a/module/lua/lobject.h b/module/lua/lobject.h index 06fdcdcbcb8..0a60e8b8a84 100644 --- a/module/lua/lobject.h +++ b/module/lua/lobject.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lobject.h,v 2.71.1.2 2014/05/07 14:14:58 roberto Exp $ ** Type definitions for Lua objects diff --git a/module/lua/lopcodes.c b/module/lua/lopcodes.c index 16d1cfe8523..12376351bd0 100644 --- a/module/lua/lopcodes.c +++ b/module/lua/lopcodes.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lopcodes.c,v 1.49.1.1 2013/04/12 18:48:47 roberto Exp $ ** Opcodes for Lua virtual machine diff --git a/module/lua/lopcodes.h b/module/lua/lopcodes.h index 8e2f80a1314..925c765abbe 100644 --- a/module/lua/lopcodes.h +++ b/module/lua/lopcodes.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lopcodes.h,v 1.142.1.2 2014/10/20 18:32:09 roberto Exp $ ** Opcodes for Lua virtual machine diff --git a/module/lua/lparser.c b/module/lua/lparser.c index f3a1f772486..eba6068a360 100644 --- a/module/lua/lparser.c +++ b/module/lua/lparser.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lparser.c,v 2.130.1.1 2013/04/12 18:48:47 roberto Exp $ ** Lua Parser diff --git a/module/lua/lparser.h b/module/lua/lparser.h index 0346e3c41a8..f636dc6a425 100644 --- a/module/lua/lparser.h +++ b/module/lua/lparser.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lparser.h,v 1.70.1.1 2013/04/12 18:48:47 roberto Exp $ ** Lua Parser diff --git a/module/lua/lstate.c b/module/lua/lstate.c index 5a46993938e..8fa7ac8f379 100644 --- a/module/lua/lstate.c +++ b/module/lua/lstate.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lstate.c,v 2.99.1.2 2013/11/08 17:45:31 roberto Exp $ ** Global State diff --git a/module/lua/lstate.h b/module/lua/lstate.h index c5fa59335a9..ce3dd75698c 100644 --- a/module/lua/lstate.h +++ b/module/lua/lstate.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lstate.h,v 2.82.1.1 2013/04/12 18:48:47 roberto Exp $ ** Global State diff --git a/module/lua/lstring.c b/module/lua/lstring.c index 149a4ffc502..49229f9149f 100644 --- a/module/lua/lstring.c +++ b/module/lua/lstring.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lstring.c,v 2.26.1.1 2013/04/12 18:48:47 roberto Exp $ ** String table (keeps all strings handled by Lua) diff --git a/module/lua/lstring.h b/module/lua/lstring.h index 257b384172e..f6ece23256f 100644 --- a/module/lua/lstring.h +++ b/module/lua/lstring.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lstring.h,v 1.49.1.1 2013/04/12 18:48:47 roberto Exp $ ** String table (keep all strings handled by Lua) diff --git a/module/lua/lstrlib.c b/module/lua/lstrlib.c index 902cc773e8a..03a96a902c5 100644 --- a/module/lua/lstrlib.c +++ b/module/lua/lstrlib.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lstrlib.c,v 1.178.1.1 2013/04/12 18:48:47 roberto Exp $ ** Standard library for string operations and pattern-matching diff --git a/module/lua/ltable.c b/module/lua/ltable.c index 1227d99c7b4..477603901d1 100644 --- a/module/lua/ltable.c +++ b/module/lua/ltable.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: ltable.c,v 2.72.1.1 2013/04/12 18:48:47 roberto Exp $ ** Lua tables (hash) diff --git a/module/lua/ltable.h b/module/lua/ltable.h index 3c66a2390d2..ef786f62389 100644 --- a/module/lua/ltable.h +++ b/module/lua/ltable.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: ltable.h,v 2.16.1.2 2013/08/30 15:49:41 roberto Exp $ ** Lua tables (hash) diff --git a/module/lua/ltablib.c b/module/lua/ltablib.c index a697d219406..d745ebe0ec0 100644 --- a/module/lua/ltablib.c +++ b/module/lua/ltablib.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: ltablib.c,v 1.65.1.2 2014/05/07 16:32:55 roberto Exp $ ** Library for Table Manipulation diff --git a/module/lua/ltm.c b/module/lua/ltm.c index f86d97069d4..febfad23ebc 100644 --- a/module/lua/ltm.c +++ b/module/lua/ltm.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: ltm.c,v 2.14.1.1 2013/04/12 18:48:47 roberto Exp $ ** Tag methods diff --git a/module/lua/ltm.h b/module/lua/ltm.h index 7f89c841f9c..5fdd70ba2ea 100644 --- a/module/lua/ltm.h +++ b/module/lua/ltm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: ltm.h,v 2.11.1.1 2013/04/12 18:48:47 roberto Exp $ ** Tag methods diff --git a/module/lua/lvm.c b/module/lua/lvm.c index 53b9884f0a7..85ab3e23aa1 100644 --- a/module/lua/lvm.c +++ b/module/lua/lvm.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lvm.c,v 2.155.1.1 2013/04/12 18:48:47 roberto Exp $ ** Lua virtual machine diff --git a/module/lua/lvm.h b/module/lua/lvm.h index 5380270da63..bb389fd48e9 100644 --- a/module/lua/lvm.h +++ b/module/lua/lvm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lvm.h,v 2.18.1.1 2013/04/12 18:48:47 roberto Exp $ ** Lua virtual machine diff --git a/module/lua/lzio.c b/module/lua/lzio.c index 7bd6badaa6e..ebcb0a17b59 100644 --- a/module/lua/lzio.c +++ b/module/lua/lzio.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lzio.c,v 1.35.1.1 2013/04/12 18:48:47 roberto Exp $ ** Buffered streams diff --git a/module/lua/lzio.h b/module/lua/lzio.h index 670e463c4f4..8a1d2b4f320 100644 --- a/module/lua/lzio.h +++ b/module/lua/lzio.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* ** $Id: lzio.h,v 1.26.1.1 2013/04/12 18:48:47 roberto Exp $ ** Buffered streams diff --git a/module/lua/setjmp/setjmp_s390x.S b/module/lua/setjmp/setjmp_s390x.S index 336c66c08b5..8fd70140bf9 100644 --- a/module/lua/setjmp/setjmp_s390x.S +++ b/module/lua/setjmp/setjmp_s390x.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright (c) 2005-2014 Rich Felker, et al. * diff --git a/module/zcommon/cityhash.c b/module/zcommon/cityhash.c index c758ec47d1f..e983181755f 100644 --- a/module/zcommon/cityhash.c +++ b/module/zcommon/cityhash.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT +// // Copyright (c) 2011 Google, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/scripts/kmodtool b/scripts/kmodtool index 0d6af2c7f1d..e24f206e698 100755 --- a/scripts/kmodtool +++ b/scripts/kmodtool @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MIT # shellcheck disable=SC2086,SC2295 # kmodtool - Helper script for building kernel module RPMs diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_base.lua b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_base.lua index c39144959a3..ecf863913bf 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_base.lua +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_base.lua @@ -1,3 +1,4 @@ +--SPDX-License-Identifier: MIT --[[ --***************************************************************************** --* Copyright (C) 1994-2016 Lua.org, PUC-Rio. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_coroutine.lua b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_coroutine.lua index e0e9e2a64fb..4ad91831579 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_coroutine.lua +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_coroutine.lua @@ -1,3 +1,4 @@ +--SPDX-License-Identifier: MIT --[[ --***************************************************************************** --* Copyright (C) 1994-2016 Lua.org, PUC-Rio. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_strings.lua b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_strings.lua index 1725fd12379..61382b87f8e 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_strings.lua +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_strings.lua @@ -1,3 +1,4 @@ +--SPDX-License-Identifier: MIT --[[ --***************************************************************************** --* Copyright (C) 1994-2016 Lua.org, PUC-Rio. diff --git a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_table.lua b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_table.lua index 500117b19d9..d3bd8ec0a57 100644 --- a/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_table.lua +++ b/tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_table.lua @@ -1,3 +1,4 @@ +--SPDX-License-Identifier: MIT --[[ --***************************************************************************** --* Copyright (C) 1994-2016 Lua.org, PUC-Rio. From c404ffb44666b56772653eba5737b04572dbd969 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sat, 4 Jan 2025 19:40:45 +1100 Subject: [PATCH 15/51] SPDX: license tags: Apache-2.0 Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- contrib/pyzfs/libzfs_core/__init__.py | 1 + contrib/pyzfs/libzfs_core/_constants.py | 1 + contrib/pyzfs/libzfs_core/_error_translation.py | 1 + contrib/pyzfs/libzfs_core/_libzfs_core.py | 1 + contrib/pyzfs/libzfs_core/_nvlist.py | 1 + contrib/pyzfs/libzfs_core/bindings/__init__.py | 1 + contrib/pyzfs/libzfs_core/bindings/libnvpair.py | 1 + contrib/pyzfs/libzfs_core/bindings/libzfs_core.py | 1 + contrib/pyzfs/libzfs_core/ctypes.py | 1 + contrib/pyzfs/libzfs_core/exceptions.py | 1 + contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1 + contrib/pyzfs/libzfs_core/test/test_nvlist.py | 1 + module/icp/asm-aarch64/sha2/sha256-armv8.S | 1 + module/icp/asm-aarch64/sha2/sha512-armv8.S | 1 + module/icp/asm-arm/sha2/sha256-armv7.S | 1 + module/icp/asm-arm/sha2/sha512-armv7.S | 1 + module/icp/asm-ppc64/sha2/sha256-p8.S | 1 + module/icp/asm-ppc64/sha2/sha256-ppc.S | 1 + module/icp/asm-ppc64/sha2/sha512-p8.S | 1 + module/icp/asm-ppc64/sha2/sha512-ppc.S | 1 + module/icp/asm-x86_64/modes/aesni-gcm-x86_64.S | 1 + module/icp/asm-x86_64/modes/ghash-x86_64.S | 1 + module/icp/asm-x86_64/sha2/sha256-x86_64.S | 1 + module/icp/asm-x86_64/sha2/sha512-x86_64.S | 1 + 24 files changed, 24 insertions(+) diff --git a/contrib/pyzfs/libzfs_core/__init__.py b/contrib/pyzfs/libzfs_core/__init__.py index a80f94b524e..13b50ca4329 100644 --- a/contrib/pyzfs/libzfs_core/__init__.py +++ b/contrib/pyzfs/libzfs_core/__init__.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/contrib/pyzfs/libzfs_core/_constants.py b/contrib/pyzfs/libzfs_core/_constants.py index 9c40ece1a7d..95c9a673828 100644 --- a/contrib/pyzfs/libzfs_core/_constants.py +++ b/contrib/pyzfs/libzfs_core/_constants.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/contrib/pyzfs/libzfs_core/_error_translation.py b/contrib/pyzfs/libzfs_core/_error_translation.py index 3d1a2d573e3..d5491a3245c 100644 --- a/contrib/pyzfs/libzfs_core/_error_translation.py +++ b/contrib/pyzfs/libzfs_core/_error_translation.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/contrib/pyzfs/libzfs_core/_libzfs_core.py b/contrib/pyzfs/libzfs_core/_libzfs_core.py index fa74ad9a760..0ebf99be67c 100644 --- a/contrib/pyzfs/libzfs_core/_libzfs_core.py +++ b/contrib/pyzfs/libzfs_core/_libzfs_core.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/contrib/pyzfs/libzfs_core/_nvlist.py b/contrib/pyzfs/libzfs_core/_nvlist.py index dc6d820bdea..6bea0cedde4 100644 --- a/contrib/pyzfs/libzfs_core/_nvlist.py +++ b/contrib/pyzfs/libzfs_core/_nvlist.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/contrib/pyzfs/libzfs_core/bindings/__init__.py b/contrib/pyzfs/libzfs_core/bindings/__init__.py index 4bdd9ea3115..507788e103c 100644 --- a/contrib/pyzfs/libzfs_core/bindings/__init__.py +++ b/contrib/pyzfs/libzfs_core/bindings/__init__.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/contrib/pyzfs/libzfs_core/bindings/libnvpair.py b/contrib/pyzfs/libzfs_core/bindings/libnvpair.py index 54a80590723..e2edaf9ad1c 100644 --- a/contrib/pyzfs/libzfs_core/bindings/libnvpair.py +++ b/contrib/pyzfs/libzfs_core/bindings/libnvpair.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/contrib/pyzfs/libzfs_core/bindings/libzfs_core.py b/contrib/pyzfs/libzfs_core/bindings/libzfs_core.py index bcb9ed379e2..ca752f65413 100644 --- a/contrib/pyzfs/libzfs_core/bindings/libzfs_core.py +++ b/contrib/pyzfs/libzfs_core/bindings/libzfs_core.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/contrib/pyzfs/libzfs_core/ctypes.py b/contrib/pyzfs/libzfs_core/ctypes.py index d337f46ed64..bbb3790f32d 100644 --- a/contrib/pyzfs/libzfs_core/ctypes.py +++ b/contrib/pyzfs/libzfs_core/ctypes.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/contrib/pyzfs/libzfs_core/exceptions.py b/contrib/pyzfs/libzfs_core/exceptions.py index ba8f7e49093..b26a37f5de1 100644 --- a/contrib/pyzfs/libzfs_core/exceptions.py +++ b/contrib/pyzfs/libzfs_core/exceptions.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/contrib/pyzfs/libzfs_core/test/test_libzfs_core.py b/contrib/pyzfs/libzfs_core/test/test_libzfs_core.py index c94ae6de6bb..971aa1d0d49 100644 --- a/contrib/pyzfs/libzfs_core/test/test_libzfs_core.py +++ b/contrib/pyzfs/libzfs_core/test/test_libzfs_core.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/contrib/pyzfs/libzfs_core/test/test_nvlist.py b/contrib/pyzfs/libzfs_core/test/test_nvlist.py index c3c61142da5..cdddc23f2be 100644 --- a/contrib/pyzfs/libzfs_core/test/test_nvlist.py +++ b/contrib/pyzfs/libzfs_core/test/test_nvlist.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright 2015 ClusterHQ # diff --git a/module/icp/asm-aarch64/sha2/sha256-armv8.S b/module/icp/asm-aarch64/sha2/sha256-armv8.S index 4dcdd3b65d0..9298f13ba26 100644 --- a/module/icp/asm-aarch64/sha2/sha256-armv8.S +++ b/module/icp/asm-aarch64/sha2/sha256-armv8.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2004-2022 The OpenSSL Project Authors. All Rights Reserved. * diff --git a/module/icp/asm-aarch64/sha2/sha512-armv8.S b/module/icp/asm-aarch64/sha2/sha512-armv8.S index f6c8f774291..fbc075be142 100644 --- a/module/icp/asm-aarch64/sha2/sha512-armv8.S +++ b/module/icp/asm-aarch64/sha2/sha512-armv8.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2004-2022 The OpenSSL Project Authors. All Rights Reserved. * diff --git a/module/icp/asm-arm/sha2/sha256-armv7.S b/module/icp/asm-arm/sha2/sha256-armv7.S index 3ae66626df3..30b1701df05 100644 --- a/module/icp/asm-arm/sha2/sha256-armv7.S +++ b/module/icp/asm-arm/sha2/sha256-armv7.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2004-2022 The OpenSSL Project Authors. All Rights Reserved. * diff --git a/module/icp/asm-arm/sha2/sha512-armv7.S b/module/icp/asm-arm/sha2/sha512-armv7.S index 66d7dd3cf0f..f9fdb6f33a4 100644 --- a/module/icp/asm-arm/sha2/sha512-armv7.S +++ b/module/icp/asm-arm/sha2/sha512-armv7.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2004-2022 The OpenSSL Project Authors. All Rights Reserved. * diff --git a/module/icp/asm-ppc64/sha2/sha256-p8.S b/module/icp/asm-ppc64/sha2/sha256-p8.S index dc3c4cea669..988cf0cbbba 100644 --- a/module/icp/asm-ppc64/sha2/sha256-p8.S +++ b/module/icp/asm-ppc64/sha2/sha256-p8.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2004-2022 The OpenSSL Project Authors. All Rights Reserved. * diff --git a/module/icp/asm-ppc64/sha2/sha256-ppc.S b/module/icp/asm-ppc64/sha2/sha256-ppc.S index d039bc36ee1..60afe40d4f4 100644 --- a/module/icp/asm-ppc64/sha2/sha256-ppc.S +++ b/module/icp/asm-ppc64/sha2/sha256-ppc.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2004-2022 The OpenSSL Project Authors. All Rights Reserved. * diff --git a/module/icp/asm-ppc64/sha2/sha512-p8.S b/module/icp/asm-ppc64/sha2/sha512-p8.S index 2409c53385d..e8d73e6a5e5 100644 --- a/module/icp/asm-ppc64/sha2/sha512-p8.S +++ b/module/icp/asm-ppc64/sha2/sha512-p8.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2004-2022 The OpenSSL Project Authors. All Rights Reserved. * diff --git a/module/icp/asm-ppc64/sha2/sha512-ppc.S b/module/icp/asm-ppc64/sha2/sha512-ppc.S index 57213f68abc..12af06792cc 100644 --- a/module/icp/asm-ppc64/sha2/sha512-ppc.S +++ b/module/icp/asm-ppc64/sha2/sha512-ppc.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2004-2022 The OpenSSL Project Authors. All Rights Reserved. * diff --git a/module/icp/asm-x86_64/modes/aesni-gcm-x86_64.S b/module/icp/asm-x86_64/modes/aesni-gcm-x86_64.S index 909b2147dff..6ff3490d391 100644 --- a/module/icp/asm-x86_64/modes/aesni-gcm-x86_64.S +++ b/module/icp/asm-x86_64/modes/aesni-gcm-x86_64.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 # Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved. # # Licensed under the Apache License 2.0 (the "License"). You may not use diff --git a/module/icp/asm-x86_64/modes/ghash-x86_64.S b/module/icp/asm-x86_64/modes/ghash-x86_64.S index f62e056d4b6..319caa4e190 100644 --- a/module/icp/asm-x86_64/modes/ghash-x86_64.S +++ b/module/icp/asm-x86_64/modes/ghash-x86_64.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 # Copyright 2010-2016 The OpenSSL Project Authors. All Rights Reserved. # # Licensed under the Apache License 2.0 (the "License"). You may not use diff --git a/module/icp/asm-x86_64/sha2/sha256-x86_64.S b/module/icp/asm-x86_64/sha2/sha256-x86_64.S index d3e5e3f0d08..f19f7b47154 100644 --- a/module/icp/asm-x86_64/sha2/sha256-x86_64.S +++ b/module/icp/asm-x86_64/sha2/sha256-x86_64.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2004-2022 The OpenSSL Project Authors. All Rights Reserved. * diff --git a/module/icp/asm-x86_64/sha2/sha512-x86_64.S b/module/icp/asm-x86_64/sha2/sha512-x86_64.S index fbbcca650d1..a5111d50108 100644 --- a/module/icp/asm-x86_64/sha2/sha512-x86_64.S +++ b/module/icp/asm-x86_64/sha2/sha512-x86_64.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2004-2022 The OpenSSL Project Authors. All Rights Reserved. * From f83431b3bd9ce67568ed852ca5223c04fbd0f28d Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sat, 4 Jan 2025 12:37:45 +1100 Subject: [PATCH 16/51] SPDX: license tags: GPL-2.0-or-later Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- include/os/freebsd/spl/sys/kstat.h | 1 + include/os/freebsd/spl/sys/sunddi.h | 1 + include/os/linux/spl/rpc/types.h | 1 + include/os/linux/spl/rpc/xdr.h | 1 + include/os/linux/spl/sys/acl.h | 1 + include/os/linux/spl/sys/atomic.h | 1 + include/os/linux/spl/sys/byteorder.h | 1 + include/os/linux/spl/sys/callb.h | 1 + include/os/linux/spl/sys/callo.h | 1 + include/os/linux/spl/sys/cmn_err.h | 1 + include/os/linux/spl/sys/condvar.h | 1 + include/os/linux/spl/sys/cred.h | 1 + include/os/linux/spl/sys/ctype.h | 1 + include/os/linux/spl/sys/disp.h | 1 + include/os/linux/spl/sys/fcntl.h | 1 + include/os/linux/spl/sys/file.h | 1 + include/os/linux/spl/sys/inttypes.h | 1 + include/os/linux/spl/sys/isa_defs.h | 1 + include/os/linux/spl/sys/kmem.h | 1 + include/os/linux/spl/sys/kmem_cache.h | 1 + include/os/linux/spl/sys/kstat.h | 1 + include/os/linux/spl/sys/list.h | 1 + include/os/linux/spl/sys/mod_os.h | 1 + include/os/linux/spl/sys/mutex.h | 1 + include/os/linux/spl/sys/param.h | 1 + include/os/linux/spl/sys/proc.h | 1 + include/os/linux/spl/sys/processor.h | 1 + include/os/linux/spl/sys/random.h | 1 + include/os/linux/spl/sys/rwlock.h | 1 + include/os/linux/spl/sys/shrinker.h | 1 + include/os/linux/spl/sys/sid.h | 1 + include/os/linux/spl/sys/signal.h | 1 + include/os/linux/spl/sys/simd.h | 1 + include/os/linux/spl/sys/stat.h | 1 + include/os/linux/spl/sys/string.h | 1 + include/os/linux/spl/sys/sunddi.h | 1 + include/os/linux/spl/sys/sysmacros.h | 1 + include/os/linux/spl/sys/systeminfo.h | 1 + include/os/linux/spl/sys/taskq.h | 1 + include/os/linux/spl/sys/thread.h | 1 + include/os/linux/spl/sys/time.h | 1 + include/os/linux/spl/sys/timer.h | 1 + include/os/linux/spl/sys/tsd.h | 1 + include/os/linux/spl/sys/types.h | 1 + include/os/linux/spl/sys/types32.h | 1 + include/os/linux/spl/sys/uio.h | 1 + include/os/linux/spl/sys/user.h | 1 + include/os/linux/spl/sys/vfs.h | 1 + include/os/linux/spl/sys/vmem.h | 1 + include/os/linux/spl/sys/vmsystm.h | 1 + include/os/linux/spl/sys/vnode.h | 1 + include/os/linux/spl/sys/wait.h | 1 + include/os/linux/spl/sys/zmod.h | 1 + include/os/linux/spl/sys/zone.h | 1 + include/sys/mod.h | 1 + module/os/linux/spl/spl-atomic.c | 1 + module/os/linux/spl/spl-condvar.c | 1 + module/os/linux/spl/spl-cred.c | 1 + module/os/linux/spl/spl-err.c | 1 + module/os/linux/spl/spl-generic.c | 1 + module/os/linux/spl/spl-kmem-cache.c | 1 + module/os/linux/spl/spl-kmem.c | 1 + module/os/linux/spl/spl-kstat.c | 1 + module/os/linux/spl/spl-proc.c | 1 + module/os/linux/spl/spl-shrinker.c | 1 + module/os/linux/spl/spl-taskq.c | 1 + module/os/linux/spl/spl-thread.c | 1 + module/os/linux/spl/spl-tsd.c | 1 + module/os/linux/spl/spl-vmem.c | 1 + module/os/linux/spl/spl-xdr.c | 1 + module/os/linux/spl/spl-zlib.c | 1 + 71 files changed, 71 insertions(+) diff --git a/include/os/freebsd/spl/sys/kstat.h b/include/os/freebsd/spl/sys/kstat.h index 7dc2c4753b0..c8e12bc8747 100644 --- a/include/os/freebsd/spl/sys/kstat.h +++ b/include/os/freebsd/spl/sys/kstat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/freebsd/spl/sys/sunddi.h b/include/os/freebsd/spl/sys/sunddi.h index 28d40121d92..55fc35e3ecb 100644 --- a/include/os/freebsd/spl/sys/sunddi.h +++ b/include/os/freebsd/spl/sys/sunddi.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/rpc/types.h b/include/os/linux/spl/rpc/types.h index 5bbb4f2dec4..1e51b123aea 100644 --- a/include/os/linux/spl/rpc/types.h +++ b/include/os/linux/spl/rpc/types.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2008 Sun Microsystems, Inc. * Written by Ricardo Correia diff --git a/include/os/linux/spl/rpc/xdr.h b/include/os/linux/spl/rpc/xdr.h index 5b621fa9c86..3522609fd0e 100644 --- a/include/os/linux/spl/rpc/xdr.h +++ b/include/os/linux/spl/rpc/xdr.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2008 Sun Microsystems, Inc. * Written by Ricardo Correia diff --git a/include/os/linux/spl/sys/acl.h b/include/os/linux/spl/sys/acl.h index 5cd7a56b86e..05edc3768bd 100644 --- a/include/os/linux/spl/sys/acl.h +++ b/include/os/linux/spl/sys/acl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/atomic.h b/include/os/linux/spl/sys/atomic.h index 8f7fa5aeda1..b2a39d7d6cb 100644 --- a/include/os/linux/spl/sys/atomic.h +++ b/include/os/linux/spl/sys/atomic.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/byteorder.h b/include/os/linux/spl/sys/byteorder.h index e9406b4c0b8..ea33287f34c 100644 --- a/include/os/linux/spl/sys/byteorder.h +++ b/include/os/linux/spl/sys/byteorder.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/callb.h b/include/os/linux/spl/sys/callb.h index 19ba41ff9e2..fb190b484df 100644 --- a/include/os/linux/spl/sys/callb.h +++ b/include/os/linux/spl/sys/callb.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/callo.h b/include/os/linux/spl/sys/callo.h index e93a15f7a0d..f10bba0d5fb 100644 --- a/include/os/linux/spl/sys/callo.h +++ b/include/os/linux/spl/sys/callo.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2013 Lawrence Livermore National Security, LLC. * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). diff --git a/include/os/linux/spl/sys/cmn_err.h b/include/os/linux/spl/sys/cmn_err.h index bd407559ccd..4955bbb3e0c 100644 --- a/include/os/linux/spl/sys/cmn_err.h +++ b/include/os/linux/spl/sys/cmn_err.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/condvar.h b/include/os/linux/spl/sys/condvar.h index cb94ae89c86..18b29850472 100644 --- a/include/os/linux/spl/sys/condvar.h +++ b/include/os/linux/spl/sys/condvar.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/cred.h b/include/os/linux/spl/sys/cred.h index 1c5120c2437..cd0fe96c811 100644 --- a/include/os/linux/spl/sys/cred.h +++ b/include/os/linux/spl/sys/cred.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/ctype.h b/include/os/linux/spl/sys/ctype.h index 35132060047..dea4af09cb3 100644 --- a/include/os/linux/spl/sys/ctype.h +++ b/include/os/linux/spl/sys/ctype.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/disp.h b/include/os/linux/spl/sys/disp.h index c8be6ffbf10..e2d4084018f 100644 --- a/include/os/linux/spl/sys/disp.h +++ b/include/os/linux/spl/sys/disp.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/fcntl.h b/include/os/linux/spl/sys/fcntl.h index a87fdcac7fc..24023bc857b 100644 --- a/include/os/linux/spl/sys/fcntl.h +++ b/include/os/linux/spl/sys/fcntl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2010 Lawrence Livermore National Security, LLC. * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). diff --git a/include/os/linux/spl/sys/file.h b/include/os/linux/spl/sys/file.h index 38d19d8c68b..93c9300928e 100644 --- a/include/os/linux/spl/sys/file.h +++ b/include/os/linux/spl/sys/file.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/inttypes.h b/include/os/linux/spl/sys/inttypes.h index c99973abd19..0c81724694e 100644 --- a/include/os/linux/spl/sys/inttypes.h +++ b/include/os/linux/spl/sys/inttypes.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/isa_defs.h b/include/os/linux/spl/sys/isa_defs.h index 7c95c94c1cf..82b45fbaee4 100644 --- a/include/os/linux/spl/sys/isa_defs.h +++ b/include/os/linux/spl/sys/isa_defs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/kmem.h b/include/os/linux/spl/sys/kmem.h index 8a203f7bb8e..995236117dd 100644 --- a/include/os/linux/spl/sys/kmem.h +++ b/include/os/linux/spl/sys/kmem.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/kmem_cache.h b/include/os/linux/spl/sys/kmem_cache.h index 71048db4ec5..ca84a92999b 100644 --- a/include/os/linux/spl/sys/kmem_cache.h +++ b/include/os/linux/spl/sys/kmem_cache.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/kstat.h b/include/os/linux/spl/sys/kstat.h index 305c411ddfa..a9e9f188064 100644 --- a/include/os/linux/spl/sys/kstat.h +++ b/include/os/linux/spl/sys/kstat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/list.h b/include/os/linux/spl/sys/list.h index 046a75e1935..ebde0b076c0 100644 --- a/include/os/linux/spl/sys/list.h +++ b/include/os/linux/spl/sys/list.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/mod_os.h b/include/os/linux/spl/sys/mod_os.h index bb43313d186..eaeb9255039 100644 --- a/include/os/linux/spl/sys/mod_os.h +++ b/include/os/linux/spl/sys/mod_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/mutex.h b/include/os/linux/spl/sys/mutex.h index b4eaa0266d2..f000f53ab9b 100644 --- a/include/os/linux/spl/sys/mutex.h +++ b/include/os/linux/spl/sys/mutex.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/param.h b/include/os/linux/spl/sys/param.h index d8a12d53213..d0628cd3a4d 100644 --- a/include/os/linux/spl/sys/param.h +++ b/include/os/linux/spl/sys/param.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/proc.h b/include/os/linux/spl/sys/proc.h index fe4841407da..b57f57567e3 100644 --- a/include/os/linux/spl/sys/proc.h +++ b/include/os/linux/spl/sys/proc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/processor.h b/include/os/linux/spl/sys/processor.h index 5514f07c0b4..24c510ad38b 100644 --- a/include/os/linux/spl/sys/processor.h +++ b/include/os/linux/spl/sys/processor.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/random.h b/include/os/linux/spl/sys/random.h index 52e97e1ce06..08eb805350e 100644 --- a/include/os/linux/spl/sys/random.h +++ b/include/os/linux/spl/sys/random.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/rwlock.h b/include/os/linux/spl/sys/rwlock.h index c04b6ca484f..563e0a19663 100644 --- a/include/os/linux/spl/sys/rwlock.h +++ b/include/os/linux/spl/sys/rwlock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/shrinker.h b/include/os/linux/spl/sys/shrinker.h index bca4c850694..6f67c52f585 100644 --- a/include/os/linux/spl/sys/shrinker.h +++ b/include/os/linux/spl/sys/shrinker.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/sid.h b/include/os/linux/spl/sys/sid.h index 3cf27111b6d..6258f0fd3f4 100644 --- a/include/os/linux/spl/sys/sid.h +++ b/include/os/linux/spl/sys/sid.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/signal.h b/include/os/linux/spl/sys/signal.h index 473a1be14c3..e4b8e8e18cb 100644 --- a/include/os/linux/spl/sys/signal.h +++ b/include/os/linux/spl/sys/signal.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/simd.h b/include/os/linux/spl/sys/simd.h index 6fb84d3a52c..35061f18946 100644 --- a/include/os/linux/spl/sys/simd.h +++ b/include/os/linux/spl/sys/simd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/stat.h b/include/os/linux/spl/sys/stat.h index 5987849641f..087389b57b3 100644 --- a/include/os/linux/spl/sys/stat.h +++ b/include/os/linux/spl/sys/stat.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/string.h b/include/os/linux/spl/sys/string.h index 20bde1f0898..59a0dc31d0e 100644 --- a/include/os/linux/spl/sys/string.h +++ b/include/os/linux/spl/sys/string.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). diff --git a/include/os/linux/spl/sys/sunddi.h b/include/os/linux/spl/sys/sunddi.h index df6a204d5cf..32dcaa8f1f6 100644 --- a/include/os/linux/spl/sys/sunddi.h +++ b/include/os/linux/spl/sys/sunddi.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/sysmacros.h b/include/os/linux/spl/sys/sysmacros.h index 0e839073630..e932ea72f1b 100644 --- a/include/os/linux/spl/sys/sysmacros.h +++ b/include/os/linux/spl/sys/sysmacros.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/systeminfo.h b/include/os/linux/spl/sys/systeminfo.h index d4037a0900d..8c964fc16ac 100644 --- a/include/os/linux/spl/sys/systeminfo.h +++ b/include/os/linux/spl/sys/systeminfo.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/taskq.h b/include/os/linux/spl/sys/taskq.h index 4cb3a055c3c..c9b2bc994c8 100644 --- a/include/os/linux/spl/sys/taskq.h +++ b/include/os/linux/spl/sys/taskq.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/thread.h b/include/os/linux/spl/sys/thread.h index c7ef7efa0a2..5f643d06245 100644 --- a/include/os/linux/spl/sys/thread.h +++ b/include/os/linux/spl/sys/thread.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/time.h b/include/os/linux/spl/sys/time.h index 036948d87aa..33b273b5399 100644 --- a/include/os/linux/spl/sys/time.h +++ b/include/os/linux/spl/sys/time.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/timer.h b/include/os/linux/spl/sys/timer.h index 61a1fa6aeff..f16f99a8e95 100644 --- a/include/os/linux/spl/sys/timer.h +++ b/include/os/linux/spl/sys/timer.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/tsd.h b/include/os/linux/spl/sys/tsd.h index 8cdb9e4ffe9..8358da68426 100644 --- a/include/os/linux/spl/sys/tsd.h +++ b/include/os/linux/spl/sys/tsd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2010 Lawrence Livermore National Security, LLC. * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). diff --git a/include/os/linux/spl/sys/types.h b/include/os/linux/spl/sys/types.h index d3aefb18449..f0133394ed0 100644 --- a/include/os/linux/spl/sys/types.h +++ b/include/os/linux/spl/sys/types.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/types32.h b/include/os/linux/spl/sys/types32.h index cb62c75e5a7..c8381362317 100644 --- a/include/os/linux/spl/sys/types32.h +++ b/include/os/linux/spl/sys/types32.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/uio.h b/include/os/linux/spl/sys/uio.h index fcb4a464c9e..f66da5d5af5 100644 --- a/include/os/linux/spl/sys/uio.h +++ b/include/os/linux/spl/sys/uio.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/user.h b/include/os/linux/spl/sys/user.h index 13a2edf5f6c..8d048b368b3 100644 --- a/include/os/linux/spl/sys/user.h +++ b/include/os/linux/spl/sys/user.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2015 Cluster Inc. * Produced at ClusterHQ Inc (cf, DISCLAIMER). diff --git a/include/os/linux/spl/sys/vfs.h b/include/os/linux/spl/sys/vfs.h index 488f1827ec3..b8dc1fc0545 100644 --- a/include/os/linux/spl/sys/vfs.h +++ b/include/os/linux/spl/sys/vfs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/vmem.h b/include/os/linux/spl/sys/vmem.h index 92585a17e26..c96a65bad39 100644 --- a/include/os/linux/spl/sys/vmem.h +++ b/include/os/linux/spl/sys/vmem.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/vmsystm.h b/include/os/linux/spl/sys/vmsystm.h index c6d99fb3183..1404a20b52c 100644 --- a/include/os/linux/spl/sys/vmsystm.h +++ b/include/os/linux/spl/sys/vmsystm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/vnode.h b/include/os/linux/spl/sys/vnode.h index 64c27065022..c48c4a9c091 100644 --- a/include/os/linux/spl/sys/vnode.h +++ b/include/os/linux/spl/sys/vnode.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/wait.h b/include/os/linux/spl/sys/wait.h index 78ec62b0815..97a75fdf46a 100644 --- a/include/os/linux/spl/sys/wait.h +++ b/include/os/linux/spl/sys/wait.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2014 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/zmod.h b/include/os/linux/spl/sys/zmod.h index 8d27b62f471..db60e4d4cdd 100644 --- a/include/os/linux/spl/sys/zmod.h +++ b/include/os/linux/spl/sys/zmod.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/os/linux/spl/sys/zone.h b/include/os/linux/spl/sys/zone.h index 5978a6285fa..4e75202fbdd 100644 --- a/include/os/linux/spl/sys/zone.h +++ b/include/os/linux/spl/sys/zone.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/include/sys/mod.h b/include/sys/mod.h index aba21142377..4122889ab75 100644 --- a/include/sys/mod.h +++ b/include/sys/mod.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-atomic.c b/module/os/linux/spl/spl-atomic.c index accf656fbcc..b6d967108fe 100644 --- a/module/os/linux/spl/spl-atomic.c +++ b/module/os/linux/spl/spl-atomic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-condvar.c b/module/os/linux/spl/spl-condvar.c index 1cb0aeebcb6..ce9c9e39e60 100644 --- a/module/os/linux/spl/spl-condvar.c +++ b/module/os/linux/spl/spl-condvar.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-cred.c b/module/os/linux/spl/spl-cred.c index 7254df6bf29..3a9db725ce2 100644 --- a/module/os/linux/spl/spl-cred.c +++ b/module/os/linux/spl/spl-cred.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-err.c b/module/os/linux/spl/spl-err.c index 81e520547dd..7ff6c543162 100644 --- a/module/os/linux/spl/spl-err.c +++ b/module/os/linux/spl/spl-err.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-generic.c b/module/os/linux/spl/spl-generic.c index e13914221a6..115c9460f3e 100644 --- a/module/os/linux/spl/spl-generic.c +++ b/module/os/linux/spl/spl-generic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-kmem-cache.c b/module/os/linux/spl/spl-kmem-cache.c index da5513c5018..fab80289b27 100644 --- a/module/os/linux/spl/spl-kmem-cache.c +++ b/module/os/linux/spl/spl-kmem-cache.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-kmem.c b/module/os/linux/spl/spl-kmem.c index 3e8361184d5..337a4bcf76a 100644 --- a/module/os/linux/spl/spl-kmem.c +++ b/module/os/linux/spl/spl-kmem.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-kstat.c b/module/os/linux/spl/spl-kstat.c index ad553a73a69..04578204a31 100644 --- a/module/os/linux/spl/spl-kstat.c +++ b/module/os/linux/spl/spl-kstat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-proc.c b/module/os/linux/spl/spl-proc.c index 9af19227473..4ed0deedd5b 100644 --- a/module/os/linux/spl/spl-proc.c +++ b/module/os/linux/spl/spl-proc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-shrinker.c b/module/os/linux/spl/spl-shrinker.c index ff1c196d09f..50907991b7c 100644 --- a/module/os/linux/spl/spl-shrinker.c +++ b/module/os/linux/spl/spl-shrinker.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-taskq.c b/module/os/linux/spl/spl-taskq.c index 77dd472ea8b..d5b42fdfaf2 100644 --- a/module/os/linux/spl/spl-taskq.c +++ b/module/os/linux/spl/spl-taskq.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-thread.c b/module/os/linux/spl/spl-thread.c index 7b0ce30c788..1398483a3ac 100644 --- a/module/os/linux/spl/spl-thread.c +++ b/module/os/linux/spl/spl-thread.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-tsd.c b/module/os/linux/spl/spl-tsd.c index 389c9d0d6df..34a61bef7d4 100644 --- a/module/os/linux/spl/spl-tsd.c +++ b/module/os/linux/spl/spl-tsd.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2010 Lawrence Livermore National Security, LLC. * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). diff --git a/module/os/linux/spl/spl-vmem.c b/module/os/linux/spl/spl-vmem.c index 7e240247770..8c4f75c5b42 100644 --- a/module/os/linux/spl/spl-vmem.c +++ b/module/os/linux/spl/spl-vmem.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. diff --git a/module/os/linux/spl/spl-xdr.c b/module/os/linux/spl/spl-xdr.c index e1773da5d17..470cde27fcc 100644 --- a/module/os/linux/spl/spl-xdr.c +++ b/module/os/linux/spl/spl-xdr.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2008-2010 Sun Microsystems, Inc. * Written by Ricardo Correia diff --git a/module/os/linux/spl/spl-zlib.c b/module/os/linux/spl/spl-zlib.c index 68078ac32bc..36022c10e47 100644 --- a/module/os/linux/spl/spl-zlib.c +++ b/module/os/linux/spl/spl-zlib.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. * Copyright (C) 2007 The Regents of the University of California. From f8d29099e7c7367a646d439f7521dfcff1c7f70e Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sat, 4 Jan 2025 19:08:04 +1100 Subject: [PATCH 17/51] SPDX: license tags: LGPL-2.1-or-later Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- config/ax_code_coverage.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/config/ax_code_coverage.m4 b/config/ax_code_coverage.m4 index cd2498358df..eb78a9d7779 100644 --- a/config/ax_code_coverage.m4 +++ b/config/ax_code_coverage.m4 @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # =========================================================================== # https://www.gnu.org/software/autoconf-archive/ax_code_coverage.html # =========================================================================== From ff28d9fc6ff43548e8ff3f0febb70bdc64be5255 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sat, 4 Jan 2025 19:25:02 +1100 Subject: [PATCH 18/51] SPDX: license tags: BSD-3-Clause OR GPL-2.0-only Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- module/zstd/lib/common/bitstream.h | 1 + module/zstd/lib/common/compiler.h | 1 + module/zstd/lib/common/cpu.h | 1 + module/zstd/lib/common/debug.h | 1 + module/zstd/lib/common/entropy_common.c | 1 + module/zstd/lib/common/error_private.c | 1 + module/zstd/lib/common/error_private.h | 1 + module/zstd/lib/common/fse.h | 1 + module/zstd/lib/common/fse_decompress.c | 1 + module/zstd/lib/common/huf.h | 1 + module/zstd/lib/common/mem.h | 1 + module/zstd/lib/common/pool.c | 1 + module/zstd/lib/common/pool.h | 1 + module/zstd/lib/common/xxhash.c | 1 + module/zstd/lib/common/xxhash.h | 1 + module/zstd/lib/common/zstd_common.c | 1 + module/zstd/lib/common/zstd_errors.h | 1 + module/zstd/lib/common/zstd_internal.h | 1 + module/zstd/lib/compress/fse_compress.c | 1 + module/zstd/lib/compress/hist.c | 1 + module/zstd/lib/compress/hist.h | 1 + module/zstd/lib/compress/huf_compress.c | 1 + module/zstd/lib/compress/zstd_compress.c | 1 + module/zstd/lib/compress/zstd_compress_internal.h | 1 + module/zstd/lib/compress/zstd_compress_literals.c | 1 + module/zstd/lib/compress/zstd_compress_literals.h | 1 + module/zstd/lib/compress/zstd_compress_sequences.c | 1 + module/zstd/lib/compress/zstd_compress_sequences.h | 1 + module/zstd/lib/compress/zstd_compress_superblock.c | 1 + module/zstd/lib/compress/zstd_compress_superblock.h | 1 + module/zstd/lib/compress/zstd_cwksp.h | 1 + module/zstd/lib/compress/zstd_double_fast.c | 1 + module/zstd/lib/compress/zstd_double_fast.h | 1 + module/zstd/lib/compress/zstd_fast.c | 1 + module/zstd/lib/compress/zstd_fast.h | 1 + module/zstd/lib/compress/zstd_lazy.c | 1 + module/zstd/lib/compress/zstd_lazy.h | 1 + module/zstd/lib/compress/zstd_ldm.c | 1 + module/zstd/lib/compress/zstd_ldm.h | 1 + module/zstd/lib/compress/zstd_opt.c | 1 + module/zstd/lib/compress/zstd_opt.h | 1 + module/zstd/lib/decompress/huf_decompress.c | 1 + module/zstd/lib/decompress/zstd_ddict.c | 1 + module/zstd/lib/decompress/zstd_ddict.h | 1 + module/zstd/lib/decompress/zstd_decompress.c | 1 + module/zstd/lib/decompress/zstd_decompress_block.c | 1 + module/zstd/lib/decompress/zstd_decompress_block.h | 1 + module/zstd/lib/decompress/zstd_decompress_internal.h | 1 + module/zstd/lib/zstd.h | 1 + 49 files changed, 49 insertions(+) diff --git a/module/zstd/lib/common/bitstream.h b/module/zstd/lib/common/bitstream.h index 37b99c01eed..11b660adb3c 100644 --- a/module/zstd/lib/common/bitstream.h +++ b/module/zstd/lib/common/bitstream.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* ****************************************************************** * bitstream * Part of FSE library diff --git a/module/zstd/lib/common/compiler.h b/module/zstd/lib/common/compiler.h index 95e9483521d..d0f588e2ec3 100644 --- a/module/zstd/lib/common/compiler.h +++ b/module/zstd/lib/common/compiler.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/common/cpu.h b/module/zstd/lib/common/cpu.h index 6e8a974f62d..8e02d30bf9b 100644 --- a/module/zstd/lib/common/cpu.h +++ b/module/zstd/lib/common/cpu.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2018-2020, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/common/debug.h b/module/zstd/lib/common/debug.h index ac6224888d8..1c49d998ca6 100644 --- a/module/zstd/lib/common/debug.h +++ b/module/zstd/lib/common/debug.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* ****************************************************************** * debug * Part of FSE library diff --git a/module/zstd/lib/common/entropy_common.c b/module/zstd/lib/common/entropy_common.c index 9d3e4e8e36a..75877965f2c 100644 --- a/module/zstd/lib/common/entropy_common.c +++ b/module/zstd/lib/common/entropy_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* ****************************************************************** * Common functions of New Generation Entropy library * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. diff --git a/module/zstd/lib/common/error_private.c b/module/zstd/lib/common/error_private.c index cd437529c12..63fa2866cad 100644 --- a/module/zstd/lib/common/error_private.c +++ b/module/zstd/lib/common/error_private.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/common/error_private.h b/module/zstd/lib/common/error_private.h index 982cf8e9fe6..85b5aafc553 100644 --- a/module/zstd/lib/common/error_private.h +++ b/module/zstd/lib/common/error_private.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/common/fse.h b/module/zstd/lib/common/fse.h index ff54e70ea75..c9e0427c279 100644 --- a/module/zstd/lib/common/fse.h +++ b/module/zstd/lib/common/fse.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* ****************************************************************** * FSE : Finite State Entropy codec * Public Prototypes declaration diff --git a/module/zstd/lib/common/fse_decompress.c b/module/zstd/lib/common/fse_decompress.c index 6b3205c63cc..6932bdff5d8 100644 --- a/module/zstd/lib/common/fse_decompress.c +++ b/module/zstd/lib/common/fse_decompress.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* ****************************************************************** * FSE : Finite State Entropy decoder * Copyright (c) 2013-2020, Yann Collet, Facebook, Inc. diff --git a/module/zstd/lib/common/huf.h b/module/zstd/lib/common/huf.h index ef432685dac..d1926e48bb7 100644 --- a/module/zstd/lib/common/huf.h +++ b/module/zstd/lib/common/huf.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* ****************************************************************** * huff0 huffman codec, * part of Finite State Entropy library diff --git a/module/zstd/lib/common/mem.h b/module/zstd/lib/common/mem.h index 7fbb2e98215..8110a287d1d 100644 --- a/module/zstd/lib/common/mem.h +++ b/module/zstd/lib/common/mem.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/common/pool.c b/module/zstd/lib/common/pool.c index aa4b4de0d3f..e804c01ede7 100644 --- a/module/zstd/lib/common/pool.c +++ b/module/zstd/lib/common/pool.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/common/pool.h b/module/zstd/lib/common/pool.h index 259bafc9757..7f6f427f56d 100644 --- a/module/zstd/lib/common/pool.h +++ b/module/zstd/lib/common/pool.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/common/xxhash.c b/module/zstd/lib/common/xxhash.c index 597de18fc89..d3d2e57addc 100644 --- a/module/zstd/lib/common/xxhash.c +++ b/module/zstd/lib/common/xxhash.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * xxHash - Fast Hash algorithm * Copyright (c) 2012-2020, Yann Collet, Facebook, Inc. diff --git a/module/zstd/lib/common/xxhash.h b/module/zstd/lib/common/xxhash.h index 4207eba8328..ba48c8300a7 100644 --- a/module/zstd/lib/common/xxhash.h +++ b/module/zstd/lib/common/xxhash.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * xxHash - Extremely Fast Hash algorithm * Header File diff --git a/module/zstd/lib/common/zstd_common.c b/module/zstd/lib/common/zstd_common.c index 935670b1dce..d27e5461171 100644 --- a/module/zstd/lib/common/zstd_common.c +++ b/module/zstd/lib/common/zstd_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/common/zstd_errors.h b/module/zstd/lib/common/zstd_errors.h index 998398e7e57..4ff16dad1a1 100644 --- a/module/zstd/lib/common/zstd_errors.h +++ b/module/zstd/lib/common/zstd_errors.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/common/zstd_internal.h b/module/zstd/lib/common/zstd_internal.h index 4a86d186a96..6b1fc44cf9f 100644 --- a/module/zstd/lib/common/zstd_internal.h +++ b/module/zstd/lib/common/zstd_internal.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/fse_compress.c b/module/zstd/lib/compress/fse_compress.c index e27414ccbbc..cde33cf69ab 100644 --- a/module/zstd/lib/compress/fse_compress.c +++ b/module/zstd/lib/compress/fse_compress.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* ****************************************************************** * FSE : Finite State Entropy encoder * Copyright (c) 2013-2020, Yann Collet, Facebook, Inc. diff --git a/module/zstd/lib/compress/hist.c b/module/zstd/lib/compress/hist.c index 61e08c7968b..1bda6b7d360 100644 --- a/module/zstd/lib/compress/hist.c +++ b/module/zstd/lib/compress/hist.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* ****************************************************************** * hist : Histogram functions * part of Finite State Entropy project diff --git a/module/zstd/lib/compress/hist.h b/module/zstd/lib/compress/hist.h index 77e3ec4fb19..a63179e945d 100644 --- a/module/zstd/lib/compress/hist.h +++ b/module/zstd/lib/compress/hist.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* ****************************************************************** * hist : Histogram functions * part of Finite State Entropy project diff --git a/module/zstd/lib/compress/huf_compress.c b/module/zstd/lib/compress/huf_compress.c index 546879868a5..bdb9eccc7e2 100644 --- a/module/zstd/lib/compress/huf_compress.c +++ b/module/zstd/lib/compress/huf_compress.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* ****************************************************************** * Huffman encoder, part of New Generation Entropy library * Copyright (c) 2013-2020, Yann Collet, Facebook, Inc. diff --git a/module/zstd/lib/compress/zstd_compress.c b/module/zstd/lib/compress/zstd_compress.c index 3f963b1cfff..62dcac9f301 100644 --- a/module/zstd/lib/compress/zstd_compress.c +++ b/module/zstd/lib/compress/zstd_compress.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_compress_internal.h b/module/zstd/lib/compress/zstd_compress_internal.h index db73f6ce21f..325f1749e3c 100644 --- a/module/zstd/lib/compress/zstd_compress_internal.h +++ b/module/zstd/lib/compress/zstd_compress_internal.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_compress_literals.c b/module/zstd/lib/compress/zstd_compress_literals.c index 17e7168d893..d3741d47f5e 100644 --- a/module/zstd/lib/compress/zstd_compress_literals.c +++ b/module/zstd/lib/compress/zstd_compress_literals.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_compress_literals.h b/module/zstd/lib/compress/zstd_compress_literals.h index 8b087057432..53e49dc8f64 100644 --- a/module/zstd/lib/compress/zstd_compress_literals.h +++ b/module/zstd/lib/compress/zstd_compress_literals.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_compress_sequences.c b/module/zstd/lib/compress/zstd_compress_sequences.c index f9f8097c839..495d8703a35 100644 --- a/module/zstd/lib/compress/zstd_compress_sequences.c +++ b/module/zstd/lib/compress/zstd_compress_sequences.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_compress_sequences.h b/module/zstd/lib/compress/zstd_compress_sequences.h index 68c6f9a5acd..ecd045725ec 100644 --- a/module/zstd/lib/compress/zstd_compress_sequences.h +++ b/module/zstd/lib/compress/zstd_compress_sequences.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_compress_superblock.c b/module/zstd/lib/compress/zstd_compress_superblock.c index 77d05d394c3..a53454f1d00 100644 --- a/module/zstd/lib/compress/zstd_compress_superblock.c +++ b/module/zstd/lib/compress/zstd_compress_superblock.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_compress_superblock.h b/module/zstd/lib/compress/zstd_compress_superblock.h index 07f4cb1dc64..5dfcb79c80b 100644 --- a/module/zstd/lib/compress/zstd_compress_superblock.h +++ b/module/zstd/lib/compress/zstd_compress_superblock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_cwksp.h b/module/zstd/lib/compress/zstd_cwksp.h index a25c9263b7d..4f1dcff5631 100644 --- a/module/zstd/lib/compress/zstd_cwksp.h +++ b/module/zstd/lib/compress/zstd_cwksp.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_double_fast.c b/module/zstd/lib/compress/zstd_double_fast.c index 4a95c01a090..f1c2e95a0f7 100644 --- a/module/zstd/lib/compress/zstd_double_fast.c +++ b/module/zstd/lib/compress/zstd_double_fast.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_double_fast.h b/module/zstd/lib/compress/zstd_double_fast.h index 14d944d69bc..da0dc59a96b 100644 --- a/module/zstd/lib/compress/zstd_double_fast.h +++ b/module/zstd/lib/compress/zstd_double_fast.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_fast.c b/module/zstd/lib/compress/zstd_fast.c index 17894b85472..3dbf323c998 100644 --- a/module/zstd/lib/compress/zstd_fast.c +++ b/module/zstd/lib/compress/zstd_fast.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_fast.h b/module/zstd/lib/compress/zstd_fast.h index cf6aaa8e675..e26f43b5ac5 100644 --- a/module/zstd/lib/compress/zstd_fast.h +++ b/module/zstd/lib/compress/zstd_fast.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_lazy.c b/module/zstd/lib/compress/zstd_lazy.c index 22d80597ec6..50b7c946a96 100644 --- a/module/zstd/lib/compress/zstd_lazy.c +++ b/module/zstd/lib/compress/zstd_lazy.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_lazy.h b/module/zstd/lib/compress/zstd_lazy.h index 581936f03bd..071be3d5f85 100644 --- a/module/zstd/lib/compress/zstd_lazy.h +++ b/module/zstd/lib/compress/zstd_lazy.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_ldm.c b/module/zstd/lib/compress/zstd_ldm.c index 8c479483581..26618d4e9bb 100644 --- a/module/zstd/lib/compress/zstd_ldm.c +++ b/module/zstd/lib/compress/zstd_ldm.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_ldm.h b/module/zstd/lib/compress/zstd_ldm.h index 229ea05a9e1..2a7d15cf7a1 100644 --- a/module/zstd/lib/compress/zstd_ldm.h +++ b/module/zstd/lib/compress/zstd_ldm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_opt.c b/module/zstd/lib/compress/zstd_opt.c index 36fff050cf5..a70162a5418 100644 --- a/module/zstd/lib/compress/zstd_opt.c +++ b/module/zstd/lib/compress/zstd_opt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Przemyslaw Skibinski, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/compress/zstd_opt.h b/module/zstd/lib/compress/zstd_opt.h index 9aba8a9018c..231f4d523d9 100644 --- a/module/zstd/lib/compress/zstd_opt.h +++ b/module/zstd/lib/compress/zstd_opt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/decompress/huf_decompress.c b/module/zstd/lib/decompress/huf_decompress.c index 68293a13096..0a4c94e935f 100644 --- a/module/zstd/lib/decompress/huf_decompress.c +++ b/module/zstd/lib/decompress/huf_decompress.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* ****************************************************************** * huff0 huffman decoder, * part of Finite State Entropy library diff --git a/module/zstd/lib/decompress/zstd_ddict.c b/module/zstd/lib/decompress/zstd_ddict.c index c8cb8ecc952..7a91678b35c 100644 --- a/module/zstd/lib/decompress/zstd_ddict.c +++ b/module/zstd/lib/decompress/zstd_ddict.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/decompress/zstd_ddict.h b/module/zstd/lib/decompress/zstd_ddict.h index af307efd3d7..fa3ec8003bc 100644 --- a/module/zstd/lib/decompress/zstd_ddict.h +++ b/module/zstd/lib/decompress/zstd_ddict.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/decompress/zstd_decompress.c b/module/zstd/lib/decompress/zstd_decompress.c index be5c7cfc334..4656a723485 100644 --- a/module/zstd/lib/decompress/zstd_decompress.c +++ b/module/zstd/lib/decompress/zstd_decompress.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/decompress/zstd_decompress_block.c b/module/zstd/lib/decompress/zstd_decompress_block.c index 6f09e61b70c..88567a8108f 100644 --- a/module/zstd/lib/decompress/zstd_decompress_block.c +++ b/module/zstd/lib/decompress/zstd_decompress_block.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/decompress/zstd_decompress_block.h b/module/zstd/lib/decompress/zstd_decompress_block.h index bf39b7350cf..7d0f26d403e 100644 --- a/module/zstd/lib/decompress/zstd_decompress_block.h +++ b/module/zstd/lib/decompress/zstd_decompress_block.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/decompress/zstd_decompress_internal.h b/module/zstd/lib/decompress/zstd_decompress_internal.h index 9ad96c55488..37389fcbb3a 100644 --- a/module/zstd/lib/decompress/zstd_decompress_internal.h +++ b/module/zstd/lib/decompress/zstd_decompress_internal.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. diff --git a/module/zstd/lib/zstd.h b/module/zstd/lib/zstd.h index 8c6fc6ae90e..be955c259a8 100644 --- a/module/zstd/lib/zstd.h +++ b/module/zstd/lib/zstd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only /* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. From 9fd7401d753e8d8a61b1a4e4df4442bb8b63ce99 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sat, 4 Jan 2025 19:33:11 +1100 Subject: [PATCH 19/51] SPDX: license tags: BSD-2-Clause OR GPL-2.0-only Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- module/zcommon/zfs_fletcher_aarch64_neon.c | 1 + module/zcommon/zfs_fletcher_intel.c | 1 + module/zcommon/zfs_fletcher_sse.c | 1 + module/zcommon/zfs_fletcher_superscalar.c | 1 + module/zcommon/zfs_fletcher_superscalar4.c | 1 + 5 files changed, 5 insertions(+) diff --git a/module/zcommon/zfs_fletcher_aarch64_neon.c b/module/zcommon/zfs_fletcher_aarch64_neon.c index 26f2115c44b..b6ec3da6158 100644 --- a/module/zcommon/zfs_fletcher_aarch64_neon.c +++ b/module/zcommon/zfs_fletcher_aarch64_neon.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0-only /* * Implement fast Fletcher4 with NEON instructions. (aarch64) * diff --git a/module/zcommon/zfs_fletcher_intel.c b/module/zcommon/zfs_fletcher_intel.c index 34590a15572..570076ba2b0 100644 --- a/module/zcommon/zfs_fletcher_intel.c +++ b/module/zcommon/zfs_fletcher_intel.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0-only /* * Implement fast Fletcher4 with AVX2 instructions. (x86_64) * diff --git a/module/zcommon/zfs_fletcher_sse.c b/module/zcommon/zfs_fletcher_sse.c index 8ab9b9acb83..96aaf1622d7 100644 --- a/module/zcommon/zfs_fletcher_sse.c +++ b/module/zcommon/zfs_fletcher_sse.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0-only /* * Implement fast Fletcher4 with SSE2,SSSE3 instructions. (x86) * diff --git a/module/zcommon/zfs_fletcher_superscalar.c b/module/zcommon/zfs_fletcher_superscalar.c index 2a80816ff3e..e0faa995e80 100644 --- a/module/zcommon/zfs_fletcher_superscalar.c +++ b/module/zcommon/zfs_fletcher_superscalar.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0-only /* * Implement fast Fletcher4 using superscalar pipelines. * diff --git a/module/zcommon/zfs_fletcher_superscalar4.c b/module/zcommon/zfs_fletcher_superscalar4.c index 0b52bb63d00..1cec1851ef3 100644 --- a/module/zcommon/zfs_fletcher_superscalar4.c +++ b/module/zcommon/zfs_fletcher_superscalar4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0-only /* * Implement fast Fletcher4 using superscalar pipelines. * From 44dc09614e47d0073bad0d769ab0fe9cddf1cf0d Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sun, 5 Jan 2025 12:46:50 +1100 Subject: [PATCH 20/51] SPDX: license tags: Brian-Gladman-3-Clause Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- module/icp/asm-x86_64/aes/aes_amd64.S | 1 + module/icp/asm-x86_64/aes/aeskey.c | 1 + module/icp/asm-x86_64/aes/aesopt.h | 1 + module/icp/asm-x86_64/aes/aestab.h | 1 + 4 files changed, 4 insertions(+) diff --git a/module/icp/asm-x86_64/aes/aes_amd64.S b/module/icp/asm-x86_64/aes/aes_amd64.S index c4870a28ead..8129130cb8a 100644 --- a/module/icp/asm-x86_64/aes/aes_amd64.S +++ b/module/icp/asm-x86_64/aes/aes_amd64.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Brian-Gladman-3-Clause /* * --------------------------------------------------------------------------- * Copyright (c) 1998-2007, Brian Gladman, Worcester, UK. All rights reserved. diff --git a/module/icp/asm-x86_64/aes/aeskey.c b/module/icp/asm-x86_64/aes/aeskey.c index c3d1f299087..b12a5d60d39 100644 --- a/module/icp/asm-x86_64/aes/aeskey.c +++ b/module/icp/asm-x86_64/aes/aeskey.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Brian-Gladman-3-Clause /* * --------------------------------------------------------------------------- * Copyright (c) 1998-2007, Brian Gladman, Worcester, UK. All rights reserved. diff --git a/module/icp/asm-x86_64/aes/aesopt.h b/module/icp/asm-x86_64/aes/aesopt.h index 472111f96e5..5741d559270 100644 --- a/module/icp/asm-x86_64/aes/aesopt.h +++ b/module/icp/asm-x86_64/aes/aesopt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Brian-Gladman-3-Clause /* * --------------------------------------------------------------------------- * Copyright (c) 1998-2007, Brian Gladman, Worcester, UK. All rights reserved. diff --git a/module/icp/asm-x86_64/aes/aestab.h b/module/icp/asm-x86_64/aes/aestab.h index 33cdb6c6f9f..033cac85f4b 100644 --- a/module/icp/asm-x86_64/aes/aestab.h +++ b/module/icp/asm-x86_64/aes/aestab.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Brian-Gladman-3-Clause /* * --------------------------------------------------------------------------- * Copyright (c) 1998-2007, Brian Gladman, Worcester, UK. All rights reserved. From bf754d60108c73fe3461573e6de70614609e681e Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sun, 5 Jan 2025 12:47:22 +1100 Subject: [PATCH 21/51] SPDX: license tags: OpenSSL-standalone Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- module/icp/asm-x86_64/aes/aes_aesni.S | 1 + 1 file changed, 1 insertion(+) diff --git a/module/icp/asm-x86_64/aes/aes_aesni.S b/module/icp/asm-x86_64/aes/aes_aesni.S index 4f3fe3ec65d..b8ab937949e 100644 --- a/module/icp/asm-x86_64/aes/aes_aesni.S +++ b/module/icp/asm-x86_64/aes/aes_aesni.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: OpenSSL-standalone /* * ==================================================================== * Written by Intel Corporation for the OpenSSL project to add support From a8847a7e4fdeba4f0339ae90f4df78a237122cbc Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sun, 5 Jan 2025 12:47:43 +1100 Subject: [PATCH 22/51] SPDX: license tags: LicenseRef-OpenZFS-ThirdParty-PublicDomain SPDX have repeatedly rejected the creation of a tag for a public domain dedication, as not all dedications are clear and unambiguious in their meaning and not all jurisdictions permit relinquishing a copyright anyway. A reasonably common workaround appears to be to create a local (project-specific) identifier to convey whatever meaning the project wishes it to. To cover OpenZFS' use of third-party code with a public domain dedication, we use this custom tag. Further reading: - https://github.com/spdx/old-wiki/blob/main/Pages/Legal%20Team/Decisions/Dealing%20with%20Public%20Domain%20within%20SPDX%20Files.md - https://spdx.github.io/spdx-spec/v2.3/other-licensing-information-detected/ - https://cr.yp.to/spdx.html Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- include/sys/skein.h | 1 + module/icp/algs/skein/skein.c | 1 + module/icp/algs/skein/skein_block.c | 1 + module/icp/algs/skein/skein_impl.h | 1 + module/icp/algs/skein/skein_iv.c | 1 + module/icp/algs/skein/skein_port.h | 1 + module/zfs/vdev_draid_rand.c | 1 + 7 files changed, 7 insertions(+) diff --git a/include/sys/skein.h b/include/sys/skein.h index 3359d48af79..c21dbd95a7b 100644 --- a/include/sys/skein.h +++ b/include/sys/skein.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LicenseRef-OpenZFS-ThirdParty-PublicDomain /* * Interface declarations for Skein hashing. * Source code author: Doug Whiting, 2008. diff --git a/module/icp/algs/skein/skein.c b/module/icp/algs/skein/skein.c index 41ed2dd44e9..1bbf87a1d75 100644 --- a/module/icp/algs/skein/skein.c +++ b/module/icp/algs/skein/skein.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LicenseRef-OpenZFS-ThirdParty-PublicDomain /* * Implementation of the Skein hash function. * Source code author: Doug Whiting, 2008. diff --git a/module/icp/algs/skein/skein_block.c b/module/icp/algs/skein/skein_block.c index 3ad52da5f6a..95355e9d410 100644 --- a/module/icp/algs/skein/skein_block.c +++ b/module/icp/algs/skein/skein_block.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LicenseRef-OpenZFS-ThirdParty-PublicDomain /* * Implementation of the Skein block functions. * Source code author: Doug Whiting, 2008. diff --git a/module/icp/algs/skein/skein_impl.h b/module/icp/algs/skein/skein_impl.h index eff19ce83f8..55463b8cb6a 100644 --- a/module/icp/algs/skein/skein_impl.h +++ b/module/icp/algs/skein/skein_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LicenseRef-OpenZFS-ThirdParty-PublicDomain /* * Internal definitions for Skein hashing. * Source code author: Doug Whiting, 2008. diff --git a/module/icp/algs/skein/skein_iv.c b/module/icp/algs/skein/skein_iv.c index 84cefe4546c..19e10e56c39 100644 --- a/module/icp/algs/skein/skein_iv.c +++ b/module/icp/algs/skein/skein_iv.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LicenseRef-OpenZFS-ThirdParty-PublicDomain /* * Pre-computed Skein IVs * diff --git a/module/icp/algs/skein/skein_port.h b/module/icp/algs/skein/skein_port.h index 96d1266d019..3339aac0742 100644 --- a/module/icp/algs/skein/skein_port.h +++ b/module/icp/algs/skein/skein_port.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LicenseRef-OpenZFS-ThirdParty-PublicDomain /* * Platform-specific definitions for Skein hash function. * diff --git a/module/zfs/vdev_draid_rand.c b/module/zfs/vdev_draid_rand.c index fe1a75c1131..c6a2cc3c856 100644 --- a/module/zfs/vdev_draid_rand.c +++ b/module/zfs/vdev_draid_rand.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LicenseRef-OpenZFS-ThirdParty-PublicDomain /* * Xorshift Pseudo Random Number Generator based on work by David Blackman * and Sebastiano Vigna (vigna@acm.org). From f5312d2996a371011ac4c8f81317ec72ff3d6bb2 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sun, 5 Jan 2025 18:01:03 +1100 Subject: [PATCH 23/51] spdxcheck: program to check SPDX license tags Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- Makefile.am | 4 + scripts/spdxcheck.pl | 432 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 436 insertions(+) create mode 100755 scripts/spdxcheck.pl diff --git a/Makefile.am b/Makefile.am index 11e45dae825..5f09d170e73 100644 --- a/Makefile.am +++ b/Makefile.am @@ -112,6 +112,10 @@ commitcheck: ${top_srcdir}/scripts/commitcheck.sh; \ fi +CHECKS += spdxcheck +spdxcheck: + $(AM_V_at)$(top_srcdir)/scripts/spdxcheck.pl + if HAVE_PARALLEL cstyle_line = -print0 | parallel -X0 ${top_srcdir}/scripts/cstyle.pl -cpP {} else diff --git a/scripts/spdxcheck.pl b/scripts/spdxcheck.pl new file mode 100755 index 00000000000..bddda22334a --- /dev/null +++ b/scripts/spdxcheck.pl @@ -0,0 +1,432 @@ +#!/usr/bin/env perl + +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2025, Rob Norris +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +use 5.010; +use warnings; +use strict; + +# All files known to git are either "tagged" or "untagged". Tagged files are +# expected to have a license tag, while untagged files are expected to _not_ +# have a license tag. There is no "optional" tag; all files are either "tagged" +# or "untagged". +# +# Whether or not a file is tagged or untagged is determined using the patterns +# in $tagged_patterns and $untagged_patterns and the following sequence: +# +# - if the file's full path is explicity listed in $tagged_patterns, then the +# file is tagged. +# +# - if the file's full path is explicitly listed in $untagged_patterns, then +# file is untagged. +# +# - if the filename matches a pattern in $tagged_patterns, and does not match a +# pattern in $untagged_patterns, then the file is tagged +# +# - otherwise, the file is untagged. +# +# The patterns do a simple glob-like match over the entire path relative to the +# root of the git repo (no leading /). '*' matches as anything at that point, +# across path fragments. '?' matches a single character. + +my $tagged_patterns = q( + # Compiled source files + *.c + *.h + *.S + + # Python files, eg test suite drivers, libzfs bindings + *.py + *.py.in + + # Various support scripts + *.sh + *.pl + + # Test suite + *.ksh + *.ksh.in + *.kshlib + *.kshlib.in + *.shlib + + # Test suite data files + *.run + *.cfg + *.cfg.in + *.fio + *.lua + *.zcp + + # Manpages + man/man?/*.? + man/man?/*.?.in + + # Unsuffixed programs (or generated of same) + cmd/arcstat.in + cmd/arc_summary + cmd/dbufstat.in + cmd/zilstat.in + cmd/zpool/zpool.d/* + etc/init.d/zfs-import.in + etc/init.d/zfs-load-key.in + etc/init.d/zfs-mount.in + etc/init.d/zfs-share.in + etc/init.d/zfs-zed.in + etc/zfs/zfs-functions.in + + # Misc items that have clear licensing info but aren't easily matched, + # or are the first of a class that we aren't ready to match yet. + config/ax_code_coverage.m4 + configure.ac + module/lua/README.zfs + scripts/kmodtool + tests/zfs-tests/tests/functional/inheritance/README.config + tests/zfs-tests/tests/functional/inheritance/README.state + cmd/zed/zed.d/statechange-notify.sh +); + +my $untagged_patterns = q( + # Exclude CI tooling as it's not interesting for overall project + # licensing. + .github/* + + # Everything below this has unclear licensing. Work is happening to + # identify and update them. Once one gains a tag it should be removed + # from this list. + + cmd/zed/zed.d/*.sh + cmd/zpool/zpool.d/* + + contrib/coverity/model.c + include/libzdb.h + include/os/freebsd/spl/sys/inttypes.h + include/os/freebsd/spl/sys/mode.h + include/os/freebsd/spl/sys/trace.h + include/os/freebsd/spl/sys/trace_zfs.h + include/os/freebsd/zfs/sys/zpl.h + include/os/linux/kernel/linux/page_compat.h + lib/libspl/include/os/freebsd/sys/sysmacros.h + lib/libspl/include/sys/string.h + lib/libspl/include/sys/trace_spl.h + lib/libspl/include/sys/trace_zfs.h + lib/libzdb/libzdb.c + module/lua/setjmp/setjmp.S + module/lua/setjmp/setjmp_ppc.S + module/zstd/include/sparc_compat.h + module/zstd/zstd_sparc.c + tests/zfs-tests/cmd/cp_files.c + tests/zfs-tests/cmd/zed_fd_spill-zedlet.c + tests/zfs-tests/tests/functional/tmpfile/tmpfile_001_pos.c + tests/zfs-tests/tests/functional/tmpfile/tmpfile_002_pos.c + tests/zfs-tests/tests/functional/tmpfile/tmpfile_003_pos.c + tests/zfs-tests/tests/functional/tmpfile/tmpfile_test.c + + autogen.sh + contrib/bpftrace/zfs-trace.sh + contrib/pyzfs/docs/source/conf.py + contrib/pyzfs/libzfs_core/test/__init__.py + contrib/pyzfs/setup.py.in + contrib/zcp/autosnap.lua + scripts/commitcheck.sh + scripts/man-dates.sh + scripts/mancheck.sh + scripts/paxcheck.sh + scripts/zfs-helpers.sh + scripts/zfs-tests-color.sh + scripts/zfs.sh + scripts/zimport.sh + tests/zfs-tests/callbacks/zfs_failsafe.ksh + tests/zfs-tests/include/commands.cfg + tests/zfs-tests/include/tunables.cfg + tests/zfs-tests/include/zpool_script.shlib + tests/zfs-tests/tests/functional/mv_files/random_creation.ksh +); + +# For files expected to have a license tags, these are the acceptable tags by +# path. A file in one of these paths with a tag not listed here must be in the +# override list below. If the file is not in any of these paths, then +# $default_license_tags is used. +my $default_license_tags = [ + 'CDDL-1.0', '0BSD', 'BSD-2-Clause', 'BSD-3-Clause', 'MIT' +]; + +my @path_license_tags = ( + # Conventional wisdom is that the Linux SPL must be GPL2+ for + # kernel compatibility. + 'module/os/linux/spl' => ['GPL-2.0-or-later'], + 'include/os/linux/spl' => ['GPL-2.0-or-later'], + + # Third-party code should keep it's original license + 'module/zstd/lib' => ['BSD-3-Clause OR GPL-2.0-only'], + 'module/lua' => ['MIT'], + + # lua/setjmp is platform-specific code sourced from various places + 'module/lua/setjmp' => $default_license_tags, + + # Some of the fletcher modules are dual-licensed + 'module/zcommon/zfs_fletcher' => + ['BSD-2-Clause OR GPL-2.0-only', 'CDDL-1.0'], + + 'module/icp' => ['Apache-2.0', 'CDDL-1.0'], + + # Python bindings are always Apache-2.0 + 'contrib/pyzfs' => ['Apache-2.0'], +); + +# This is a list of "special case" license tags that are in use in the tree, +# and the files where they occur. these exist for a variety of reasons, and +# generally should not be used for new code. If you need to bring in code that +# has a different license from the acceptable ones listed above, then you will +# also need to add it here, with rationale provided and approval given in your +# PR. +my %override_file_license_tags = ( + + # SPDX have repeatedly rejected the creation of a tag for a public + # domain dedication, as not all dedications are clear and unambiguious + # in their meaning and not all jurisdictions permit relinquishing a + # copyright anyway. + # + # A reasonably common workaround appears to be to create a local + # (project-specific) identifier to convey whatever meaning the project + # wishes it to. To cover OpenZFS' use of third-party code with a + # public domain dedication, we use this custom tag. + # + # Further reading: + # https://github.com/spdx/old-wiki/blob/main/Pages/Legal%20Team/Decisions/Dealing%20with%20Public%20Domain%20within%20SPDX%20Files.md + # https://spdx.github.io/spdx-spec/v2.3/other-licensing-information-detected/ + # https://cr.yp.to/spdx.html + # + 'LicenseRef-OpenZFS-ThirdParty-PublicDomain' => [qw( + include/sys/skein.h + module/icp/algs/skein/skein_block.c + module/icp/algs/skein/skein.c + module/icp/algs/skein/skein_impl.h + module/icp/algs/skein/skein_iv.c + module/icp/algs/skein/skein_port.h + module/zfs/vdev_draid_rand.c + )], + + # Legacy inclusions + 'Brian-Gladman-3-Clause' => [qw( + module/icp/asm-x86_64/aes/aestab.h + module/icp/asm-x86_64/aes/aesopt.h + module/icp/asm-x86_64/aes/aeskey.c + module/icp/asm-x86_64/aes/aes_amd64.S + )], + 'OpenSSL-standalone' => [qw( + module/icp/asm-x86_64/aes/aes_aesni.S + )], + 'LGPL-2.1-or-later' => [qw( + config/ax_code_coverage.m4 + )], + + # Legacy inclusions of BSD-2-Clause files in Linux SPL. + 'BSD-2-Clause' => [qw( + include/os/linux/spl/sys/debug.h + module/os/linux/spl/spl-zone.c + )], + + # Temporary overrides for things that have the wrong license for + # their path. Work is underway to understand and resolve these. + 'GPL-2.0-or-later' => [qw( + include/os/freebsd/spl/sys/kstat.h + include/os/freebsd/spl/sys/sunddi.h + include/sys/mod.h + )], + 'CDDL-1.0' => [qw( + include/os/linux/spl/sys/errno.h + include/os/linux/spl/sys/ia32/asm_linkage.h + include/os/linux/spl/sys/misc.h + include/os/linux/spl/sys/procfs_list.h + include/os/linux/spl/sys/trace.h + include/os/linux/spl/sys/trace_spl.h + include/os/linux/spl/sys/trace_taskq.h + include/os/linux/spl/sys/wmsum.h + module/os/linux/spl/spl-procfs-list.c + module/os/linux/spl/spl-trace.c + module/lua/README.zfs + )], +); + +########## + +sub setup_patterns { + my ($patterns) = @_; + + my @re; + my @files; + + for my $pat (split "\n", $patterns) { + # remove leading/trailing whitespace and comments + $pat =~ s/(:?^\s*|\s*(:?#.*)?$)//g; + # skip (now-)empty lines + next if $pat eq ''; + + # if the "pattern" has no metachars, then it's a literal file + # path and gets matched a bit more strongly + unless ($pat =~ m/[?*]/) { + push @files, $pat; + next; + } + + # naive pattern to regex conversion + + # escape simple metachars + $pat =~ s/([\.\(\[])/\Q$1\E/g; + + $pat =~ s/\?/./g; # glob ? -> regex . + $pat =~ s/\*/.*/g; # glob * -> regex .* + + push @re, $pat; + } + + my $re = join '|', @re; + return (qr/^(?:$re)$/, { map { $_ => 1 } @files }); +}; + +my ($tagged_re, $tagged_files) = setup_patterns($tagged_patterns); +my ($untagged_re, $untagged_files) = setup_patterns($untagged_patterns); + +sub file_is_tagged { + my ($file) = @_; + + # explicitly tagged + if ($tagged_files->{$file}) { + delete $tagged_files->{$file}; + return 1; + } + + # explicitly untagged + if ($untagged_files->{$file}) { + delete $untagged_files->{$file}; + return 0; + } + + # must match tagged patterns and not match untagged patterns + return ($file =~ $tagged_re) && !($file =~ $untagged_re); +} + +my %override_tags = map { + my $tag = $_; + map { $_ => $tag } @{$override_file_license_tags{$_}}; +} keys %override_file_license_tags; + +########## + +my $rc = 0; + +# Get a list of all files known to git. This is a crude way of avoiding any +# build artifacts that have tags embedded in them. +my @git_files = sort grep { chomp } qx(git ls-tree --name-only -r HEAD); + +# Scan all files and work out if their tags are correct. +for my $file (@git_files) { + # Ignore non-files. git can store other types of objects (submodule + # dirs, symlinks, etc) that aren't interesting for licensing. + next unless -f $file && ! -l $file; + + # Open the file, and extract its license tag. We only check the first + # 4K of each file because many of these files are large, binary, or + # both. For a typical source file that means the tag should be found + # within the first ~50 lines. + open my $fh, '<', $file or die "$0: couldn't open $file: $!\n"; + my $nbytes = read $fh, my $buf, 4096; + die "$0: couldn't read $file: $!\n" if !defined $nbytes; + + my ($tag) = + $buf =~ m/\bSPDX-License-Identifier: ([A-Za-z0-9_\-\. ]+)$/smg; + + close $fh; + + # Decide if the file should have a tag at all + my $tagged = file_is_tagged($file); + + # If no license tag is wanted, there's not much left to do + if (!$tagged) { + if (defined $tag) { + # untagged file has a tag, pattern change required + say "unexpected license tag: $file"; + $rc = 1; + } + next; + } + + # If a tag is required, but doesn't have one, warn and loop. + if (!defined $tag) { + say "missing license tag: $file"; + $rc = 1; + next; + } + + # Determine the set of valid license tags for this file. Start with + # the defaults. + my $tags = $default_license_tags; + + if ($override_tags{$file}) { + # File has an explicit override, use it. + $tags = [delete $override_tags{$file}]; + } else { + # Work through the path tag sets, taking the set with the + # most precise match. If no sets match, we fall through and + # are left with the default set. + my $matchlen = 0; + for (my $n = 0; $n < @path_license_tags; $n += 2) { + my ($path, $t) = @path_license_tags[$n,$n+1]; + if (substr($file, 0, length($path)) eq $path && + length($path) > $matchlen) { + $tags = $t; + $matchlen = length($path); + } + } + } + + # Confirm the file's tag is in the set, and warn if not. + my %tags = map { $_ => 1 } @$tags; + unless ($tags{$tag}) { + say "invalid license tag: $file"; + say " (got $tag; expected: @$tags)"; + $rc = 1; + next; + } +} + +########## + +# List any files explicitly listed as tagged or untagged that we didn't see. +# Likely the file was removed from the repo but not from our lists. + +for my $file (sort keys %$tagged_files) { + say "explicitly tagged file not on disk: $file"; + $rc = 1; +} +for my $file (sort keys %$untagged_files) { + say "explicitly untagged file not on disk: $file"; + $rc = 1; +} +for my $file (sort keys %override_tags) { + say "explicitly overridden file not on disk: $file"; + $rc = 1; +} + +exit $rc; From 21850f519be4ea6333859fe0fd75d0eb57f0533a Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Mon, 17 Mar 2025 12:54:50 -0400 Subject: [PATCH 24/51] ZTS: Remove TXG_TIMEOUT from dedup_quota test (#17150) It seems `fio` in `ddt_dedup_vdev_limit` overwhelms the system with the amount of dirty data caused by DDT updates within one TXG due to tiny 1KB records used, while I see no reason for this test to extend the TXGs beyond default. Signed-off-by: Alexander Motin Sponsored by: iXsystems, Inc. Reviewed-by: Allan Jude Reviewed-by: @ImAwsumm Reviewed-by: Tony Hutter --- tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh b/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh index bf83aba730c..2c56da0d01f 100755 --- a/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh +++ b/tests/zfs-tests/tests/functional/dedup/dedup_quota.ksh @@ -50,8 +50,6 @@ VDEV_GENERAL="$TEST_BASE_DIR/vdevfile.general.$$" VDEV_DEDUP="$TEST_BASE_DIR/vdevfile.dedup.$$" POOL="dedup_pool" -save_tunable TXG_TIMEOUT - # we set the dedup log txg interval to 1, to get a log flush every txg, # effectively disabling the log. without this it's hard to predict when and # where things appear on-disk @@ -66,7 +64,6 @@ function cleanup destroy_pool $POOL fi log_must rm -fd $VDEV_GENERAL $VDEV_DEDUP $MOUNTDIR - log_must restore_tunable TXG_TIMEOUT log_must restore_tunable DEDUP_LOG_TXG_MAX log_must restore_tunable DEDUP_LOG_FLUSH_ENTRIES_MIN } @@ -84,7 +81,6 @@ function do_setup # Use 'xattr=sa' to prevent selinux xattrs influencing our accounting log_must zpool create -o ashift=12 -f -O xattr=sa -m $MOUNTDIR $POOL $VDEV_GENERAL log_must zfs set compression=off dedup=on $POOL - log_must set_tunable32 TXG_TIMEOUT 600 } function dedup_table_size From f69631992d7477dcbfae59a27965615612ac102b Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Wed, 19 Mar 2025 10:04:22 +1100 Subject: [PATCH 25/51] dmu_tx: rename dmu_tx_assign() flags from TXG_* to DMU_TX_* (#17143) This helps to avoids confusion with the similarly-named txg_wait_synced(). Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Signed-off-by: Rob Norris Reviewed-by: Alexander Motin Reviewed-by: Mariusz Zaborski Reviewed-by: Tony Hutter --- cmd/ztest.c | 33 ++++++++------- include/sys/dmu.h | 15 +++---- module/os/freebsd/zfs/zfs_acl.c | 2 +- module/os/freebsd/zfs/zfs_dir.c | 8 ++-- module/os/freebsd/zfs/zfs_vfsops.c | 2 +- module/os/freebsd/zfs/zfs_vnops_os.c | 50 +++++++++++----------- module/os/freebsd/zfs/zfs_znode_os.c | 6 +-- module/os/freebsd/zfs/zvol_os.c | 8 ++-- module/os/linux/zfs/zfs_acl.c | 2 +- module/os/linux/zfs/zfs_dir.c | 6 +-- module/os/linux/zfs/zfs_vfsops.c | 2 +- module/os/linux/zfs/zfs_vnops_os.c | 63 ++++++++++++++++------------ module/os/linux/zfs/zfs_znode_os.c | 6 +-- module/os/linux/zfs/zvol_os.c | 4 +- module/zfs/dmu.c | 6 +-- module/zfs/dmu_objset.c | 2 +- module/zfs/dmu_recv.c | 8 ++-- module/zfs/dmu_redact.c | 2 +- module/zfs/dmu_tx.c | 30 ++++++------- module/zfs/dsl_scan.c | 2 +- module/zfs/dsl_synctask.c | 2 +- module/zfs/spa.c | 6 +-- module/zfs/spa_history.c | 4 +- module/zfs/vdev_indirect.c | 2 +- module/zfs/vdev_initialize.c | 4 +- module/zfs/vdev_raidz.c | 2 +- module/zfs/vdev_rebuild.c | 6 +-- module/zfs/vdev_removal.c | 2 +- module/zfs/vdev_trim.c | 4 +- module/zfs/zfs_quota.c | 2 +- module/zfs/zfs_replay.c | 2 +- module/zfs/zfs_sa.c | 2 +- module/zfs/zfs_vnops.c | 6 +-- module/zfs/zil.c | 12 +++--- module/zfs/zvol.c | 10 ++--- 35 files changed, 168 insertions(+), 155 deletions(-) diff --git a/cmd/ztest.c b/cmd/ztest.c index 0461f78ab76..d3bbef24583 100644 --- a/cmd/ztest.c +++ b/cmd/ztest.c @@ -1812,7 +1812,8 @@ ztest_zd_fini(ztest_ds_t *zd) ztest_rll_destroy(&zd->zd_range_lock[l]); } -#define TXG_MIGHTWAIT (ztest_random(10) == 0 ? TXG_NOWAIT : TXG_WAIT) +#define DMU_TX_MIGHTWAIT \ + (ztest_random(10) == 0 ? DMU_TX_NOWAIT : DMU_TX_WAIT) static uint64_t ztest_tx_assign(dmu_tx_t *tx, uint64_t txg_how, const char *tag) @@ -1826,7 +1827,7 @@ ztest_tx_assign(dmu_tx_t *tx, uint64_t txg_how, const char *tag) error = dmu_tx_assign(tx, txg_how); if (error) { if (error == ERESTART) { - ASSERT3U(txg_how, ==, TXG_NOWAIT); + ASSERT3U(txg_how, ==, DMU_TX_NOWAIT); dmu_tx_wait(tx); } else { ASSERT3U(error, ==, ENOSPC); @@ -2073,7 +2074,7 @@ ztest_replay_create(void *arg1, void *arg2, boolean_t byteswap) dmu_tx_hold_bonus(tx, DMU_NEW_OBJECT); } - txg = ztest_tx_assign(tx, TXG_WAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_WAIT, FTAG); if (txg == 0) return (ENOSPC); @@ -2163,7 +2164,7 @@ ztest_replay_remove(void *arg1, void *arg2, boolean_t byteswap) dmu_tx_hold_zap(tx, lr->lr_doid, B_FALSE, name); dmu_tx_hold_free(tx, object, 0, DMU_OBJECT_END); - txg = ztest_tx_assign(tx, TXG_WAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_WAIT, FTAG); if (txg == 0) { ztest_object_unlock(zd, object); return (ENOSPC); @@ -2245,7 +2246,7 @@ ztest_replay_write(void *arg1, void *arg2, boolean_t byteswap) P2PHASE(offset, length) == 0) abuf = dmu_request_arcbuf(db, length); - txg = ztest_tx_assign(tx, TXG_WAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_WAIT, FTAG); if (txg == 0) { if (abuf != NULL) dmu_return_arcbuf(abuf); @@ -2343,7 +2344,7 @@ ztest_replay_truncate(void *arg1, void *arg2, boolean_t byteswap) dmu_tx_hold_free(tx, lr->lr_foid, lr->lr_offset, lr->lr_length); - txg = ztest_tx_assign(tx, TXG_WAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_WAIT, FTAG); if (txg == 0) { ztest_range_unlock(rl); ztest_object_unlock(zd, lr->lr_foid); @@ -2384,7 +2385,7 @@ ztest_replay_setattr(void *arg1, void *arg2, boolean_t byteswap) tx = dmu_tx_create(os); dmu_tx_hold_bonus(tx, lr->lr_foid); - txg = ztest_tx_assign(tx, TXG_WAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_WAIT, FTAG); if (txg == 0) { dmu_buf_rele(db, FTAG); ztest_object_unlock(zd, lr->lr_foid); @@ -2802,7 +2803,7 @@ ztest_prealloc(ztest_ds_t *zd, uint64_t object, uint64_t offset, uint64_t size) dmu_tx_hold_write(tx, object, offset, size); - txg = ztest_tx_assign(tx, TXG_WAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_WAIT, FTAG); if (txg != 0) { dmu_prealloc(os, object, offset, size, tx); @@ -5170,7 +5171,7 @@ ztest_dmu_read_write(ztest_ds_t *zd, uint64_t id) /* This accounts for setting the checksum/compression. */ dmu_tx_hold_bonus(tx, bigobj); - txg = ztest_tx_assign(tx, TXG_MIGHTWAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_MIGHTWAIT, FTAG); if (txg == 0) { umem_free(packbuf, packsize); umem_free(bigbuf, bigsize); @@ -5471,7 +5472,7 @@ ztest_dmu_read_write_zcopy(ztest_ds_t *zd, uint64_t id) dmu_tx_hold_write(tx, packobj, packoff, packsize); dmu_tx_hold_write(tx, bigobj, bigoff, bigsize); - txg = ztest_tx_assign(tx, TXG_MIGHTWAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_MIGHTWAIT, FTAG); if (txg == 0) { umem_free(packbuf, packsize); umem_free(bigbuf, bigsize); @@ -5691,7 +5692,7 @@ ztest_zap(ztest_ds_t *zd, uint64_t id) */ tx = dmu_tx_create(os); dmu_tx_hold_zap(tx, object, B_TRUE, NULL); - txg = ztest_tx_assign(tx, TXG_MIGHTWAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_MIGHTWAIT, FTAG); if (txg == 0) goto out; for (i = 0; i < 2; i++) { @@ -5759,7 +5760,7 @@ ztest_zap(ztest_ds_t *zd, uint64_t id) */ tx = dmu_tx_create(os); dmu_tx_hold_zap(tx, object, B_TRUE, NULL); - txg = ztest_tx_assign(tx, TXG_MIGHTWAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_MIGHTWAIT, FTAG); if (txg == 0) goto out; @@ -5793,7 +5794,7 @@ ztest_zap(ztest_ds_t *zd, uint64_t id) tx = dmu_tx_create(os); dmu_tx_hold_zap(tx, object, B_TRUE, NULL); - txg = ztest_tx_assign(tx, TXG_MIGHTWAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_MIGHTWAIT, FTAG); if (txg == 0) goto out; VERIFY0(zap_remove(os, object, txgname, tx)); @@ -5836,7 +5837,7 @@ ztest_fzap(ztest_ds_t *zd, uint64_t id) tx = dmu_tx_create(os); dmu_tx_hold_zap(tx, object, B_TRUE, name); - txg = ztest_tx_assign(tx, TXG_MIGHTWAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_MIGHTWAIT, FTAG); if (txg == 0) goto out; error = zap_add(os, object, name, sizeof (uint64_t), 1, @@ -5907,7 +5908,7 @@ ztest_zap_parallel(ztest_ds_t *zd, uint64_t id) if (i >= 2) { tx = dmu_tx_create(os); dmu_tx_hold_zap(tx, object, B_TRUE, NULL); - txg = ztest_tx_assign(tx, TXG_MIGHTWAIT, FTAG); + txg = ztest_tx_assign(tx, DMU_TX_MIGHTWAIT, FTAG); if (txg == 0) { umem_free(od, sizeof (ztest_od_t)); return; @@ -6073,7 +6074,7 @@ ztest_dmu_commit_callbacks(ztest_ds_t *zd, uint64_t id) error = -1; if (!error) - error = dmu_tx_assign(tx, TXG_NOWAIT); + error = dmu_tx_assign(tx, DMU_TX_NOWAIT); txg = error ? 0 : dmu_tx_get_txg(tx); diff --git a/include/sys/dmu.h b/include/sys/dmu.h index 8144fe44ea4..da1fdfd2396 100644 --- a/include/sys/dmu.h +++ b/include/sys/dmu.h @@ -29,6 +29,7 @@ * Copyright 2013 Saso Kiselkov. All rights reserved. * Copyright (c) 2017, Intel Corporation. * Copyright (c) 2022 Hewlett Packard Enterprise Development LP. + * Copyright (c) 2025, Klara, Inc. */ /* Portions Copyright 2010 Robert Milkowski */ @@ -276,13 +277,13 @@ typedef enum dmu_object_type { } dmu_object_type_t; /* - * These flags are intended to be used to specify the "txg_how" - * parameter when calling the dmu_tx_assign() function. See the comment - * above dmu_tx_assign() for more details on the meaning of these flags. + * These flags are for the dmu_tx_assign() function and describe what to do if + * the transaction is full. See the comment above dmu_tx_assign() for more + * details on the meaning of these flags. */ -#define TXG_NOWAIT (0ULL) -#define TXG_WAIT (1ULL<<0) -#define TXG_NOTHROTTLE (1ULL<<1) +#define DMU_TX_NOWAIT (0ULL) +#define DMU_TX_WAIT (1ULL<<0) +#define DMU_TX_NOTHROTTLE (1ULL<<1) void byteswap_uint64_array(void *buf, size_t size); void byteswap_uint32_array(void *buf, size_t size); @@ -827,7 +828,7 @@ void dmu_tx_hold_spill(dmu_tx_t *tx, uint64_t object); void dmu_tx_hold_sa(dmu_tx_t *tx, struct sa_handle *hdl, boolean_t may_grow); void dmu_tx_hold_sa_create(dmu_tx_t *tx, int total_size); void dmu_tx_abort(dmu_tx_t *tx); -int dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how); +int dmu_tx_assign(dmu_tx_t *tx, uint64_t flags); void dmu_tx_wait(dmu_tx_t *tx); void dmu_tx_commit(dmu_tx_t *tx); void dmu_tx_mark_netfree(dmu_tx_t *tx); diff --git a/module/os/freebsd/zfs/zfs_acl.c b/module/os/freebsd/zfs/zfs_acl.c index fdfde39e524..334264f6da2 100644 --- a/module/os/freebsd/zfs/zfs_acl.c +++ b/module/os/freebsd/zfs/zfs_acl.c @@ -1998,7 +1998,7 @@ top: } zfs_sa_upgrade_txholds(tx, zp); - error = dmu_tx_assign(tx, TXG_NOWAIT); + error = dmu_tx_assign(tx, DMU_TX_NOWAIT); if (error) { mutex_exit(&zp->z_acl_lock); diff --git a/module/os/freebsd/zfs/zfs_dir.c b/module/os/freebsd/zfs/zfs_dir.c index 55c4658ce32..a0c9dd17898 100644 --- a/module/os/freebsd/zfs/zfs_dir.c +++ b/module/os/freebsd/zfs/zfs_dir.c @@ -337,7 +337,7 @@ zfs_unlinked_drain(zfsvfs_t *zfsvfs) if (zp->z_links != 0) { tx = dmu_tx_create(zfsvfs->z_os); dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error != 0) { dmu_tx_abort(tx); vput(ZTOV(zp)); @@ -401,7 +401,7 @@ zfs_purgedir(znode_t *dzp) /* Is this really needed ? */ zfs_sa_upgrade_txholds(tx, xzp); dmu_tx_mark_netfree(tx); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); vput(ZTOV(xzp)); @@ -503,7 +503,7 @@ zfs_rmnode(znode_t *zp) dmu_tx_hold_free(tx, acl_obj, 0, DMU_OBJECT_END); zfs_sa_upgrade_txholds(tx, zp); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { /* * Not enough space to delete the file. Leave it in the @@ -848,7 +848,7 @@ zfs_make_xattrdir(znode_t *zp, vattr_t *vap, znode_t **xvpp, cred_t *cr) fuid_dirtied = zfsvfs->z_fuid_dirty; if (fuid_dirtied) zfs_fuid_txhold(zfsvfs, tx); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { zfs_acl_ids_free(&acl_ids); dmu_tx_abort(tx); diff --git a/module/os/freebsd/zfs/zfs_vfsops.c b/module/os/freebsd/zfs/zfs_vfsops.c index 56f629f76cc..547e109db40 100644 --- a/module/os/freebsd/zfs/zfs_vfsops.c +++ b/module/os/freebsd/zfs/zfs_vfsops.c @@ -2198,7 +2198,7 @@ zfs_set_version(zfsvfs_t *zfsvfs, uint64_t newvers) ZFS_SA_ATTRS); dmu_tx_hold_zap(tx, DMU_NEW_OBJECT, FALSE, NULL); } - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); return (error); diff --git a/module/os/freebsd/zfs/zfs_vnops_os.c b/module/os/freebsd/zfs/zfs_vnops_os.c index 4d3e43e9ea2..b2080a48c4a 100644 --- a/module/os/freebsd/zfs/zfs_vnops_os.c +++ b/module/os/freebsd/zfs/zfs_vnops_os.c @@ -143,14 +143,14 @@ typedef ulong_t cookie_t; * (3) All range locks must be grabbed before calling dmu_tx_assign(), * as they can span dmu_tx_assign() calls. * - * (4) If ZPL locks are held, pass TXG_NOWAIT as the second argument to + * (4) If ZPL locks are held, pass DMU_TX_NOWAIT as the second argument to * dmu_tx_assign(). This is critical because we don't want to block * while holding locks. * - * If no ZPL locks are held (aside from zfs_enter()), use TXG_WAIT. This - * reduces lock contention and CPU usage when we must wait (note that if - * throughput is constrained by the storage, nearly every transaction - * must wait). + * If no ZPL locks are held (aside from zfs_enter()), use DMU_TX_WAIT. + * This reduces lock contention and CPU usage when we must wait (note + * that if throughput is constrained by the storage, nearly every + * transaction must wait). * * Note, in particular, that if a lock is sometimes acquired before * the tx assigns, and sometimes after (e.g. z_lock), then failing @@ -158,15 +158,16 @@ typedef ulong_t cookie_t; * * Thread A has grabbed a lock before calling dmu_tx_assign(). * Thread B is in an already-assigned tx, and blocks for this lock. - * Thread A calls dmu_tx_assign(TXG_WAIT) and blocks in txg_wait_open() - * forever, because the previous txg can't quiesce until B's tx commits. + * Thread A calls dmu_tx_assign(DMU_TX_WAIT) and blocks in + * txg_wait_open() forever, because the previous txg can't quiesce + * until B's tx commits. * - * If dmu_tx_assign() returns ERESTART and zfsvfs->z_assign is TXG_NOWAIT, - * then drop all locks, call dmu_tx_wait(), and try again. On subsequent - * calls to dmu_tx_assign(), pass TXG_NOTHROTTLE in addition to TXG_NOWAIT, - * to indicate that this operation has already called dmu_tx_wait(). - * This will ensure that we don't retry forever, waiting a short bit - * each time. + * If dmu_tx_assign() returns ERESTART and zfsvfs->z_assign is + * DMU_TX_NOWAIT, then drop all locks, call dmu_tx_wait(), and try + * again. On subsequent calls to dmu_tx_assign(), pass + * DMU_TX_NOTHROTTLE in addition to DMU_TX_NOWAIT, to indicate that + * this operation has already called dmu_tx_wait(). This will ensure + * that we don't retry forever, waiting a short bit each time. * * (5) If the operation succeeded, generate the intent log entry for it * before dropping locks. This ensures that the ordering of events @@ -188,7 +189,8 @@ typedef ulong_t cookie_t; * rw_enter(...); // grab any other locks you need * tx = dmu_tx_create(...); // get DMU tx * dmu_tx_hold_*(); // hold each object you might modify - * error = dmu_tx_assign(tx, (waited ? TXG_NOTHROTTLE : 0) | TXG_NOWAIT); + * error = dmu_tx_assign(tx, + * (waited ? DMU_TX_NOTHROTTLE : 0) | DMU_TX_NOWAIT); * if (error) { * rw_exit(...); // drop locks * zfs_dirent_unlock(dl); // unlock directory entry @@ -1045,7 +1047,7 @@ zfs_create(znode_t *dzp, const char *name, vattr_t *vap, int excl, int mode, dmu_tx_hold_write(tx, DMU_NEW_OBJECT, 0, acl_ids.z_aclp->z_acl_bytes); } - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { zfs_acl_ids_free(&acl_ids); dmu_tx_abort(tx); @@ -1186,7 +1188,7 @@ zfs_remove_(vnode_t *dvp, vnode_t *vp, const char *name, cred_t *cr) */ dmu_tx_mark_netfree(tx); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); zfs_exit(zfsvfs, FTAG); @@ -1409,7 +1411,7 @@ zfs_mkdir(znode_t *dzp, const char *dirname, vattr_t *vap, znode_t **zpp, dmu_tx_hold_sa_create(tx, acl_ids.z_aclp->z_acl_bytes + ZFS_SA_BASE_ATTR_SIZE); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { zfs_acl_ids_free(&acl_ids); dmu_tx_abort(tx); @@ -1511,7 +1513,7 @@ zfs_rmdir_(vnode_t *dvp, vnode_t *vp, const char *name, cred_t *cr) zfs_sa_upgrade_txholds(tx, zp); zfs_sa_upgrade_txholds(tx, dzp); dmu_tx_mark_netfree(tx); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); zfs_exit(zfsvfs, FTAG); @@ -2543,7 +2545,7 @@ zfs_setattr(znode_t *zp, vattr_t *vap, int flags, cred_t *cr, zidmap_t *mnt_ns) zfs_sa_upgrade_txholds(tx, zp); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err) goto out; @@ -3244,7 +3246,7 @@ zfs_do_rename_impl(vnode_t *sdvp, vnode_t **svpp, struct componentname *scnp, zfs_sa_upgrade_txholds(tx, szp); dmu_tx_hold_zap(tx, zfsvfs->z_unlinkedobj, FALSE, NULL); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); goto out_seq; @@ -3445,7 +3447,7 @@ zfs_symlink(znode_t *dzp, const char *name, vattr_t *vap, } if (fuid_dirtied) zfs_fuid_txhold(zfsvfs, tx); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { zfs_acl_ids_free(&acl_ids); dmu_tx_abort(tx); @@ -3664,7 +3666,7 @@ zfs_link(znode_t *tdzp, znode_t *szp, const char *name, cred_t *cr, dmu_tx_hold_zap(tx, tdzp->z_id, TRUE, name); zfs_sa_upgrade_txholds(tx, szp); zfs_sa_upgrade_txholds(tx, tdzp); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); zfs_exit(zfsvfs, FTAG); @@ -3793,7 +3795,7 @@ zfs_inactive(vnode_t *vp, cred_t *cr, caller_context_t *ct) dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); zfs_sa_upgrade_txholds(tx, zp); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); } else { @@ -4164,7 +4166,7 @@ zfs_putpages(struct vnode *vp, vm_page_t *ma, size_t len, int flags, dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); zfs_sa_upgrade_txholds(tx, zp); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err != 0) { dmu_tx_abort(tx); goto out; diff --git a/module/os/freebsd/zfs/zfs_znode_os.c b/module/os/freebsd/zfs/zfs_znode_os.c index 84095d579f8..ce7b93d20a4 100644 --- a/module/os/freebsd/zfs/zfs_znode_os.c +++ b/module/os/freebsd/zfs/zfs_znode_os.c @@ -1412,7 +1412,7 @@ zfs_extend(znode_t *zp, uint64_t end) newblksz = 0; } - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); zfs_rangelock_exit(lr); @@ -1530,7 +1530,7 @@ zfs_trunc(znode_t *zp, uint64_t end) dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); zfs_sa_upgrade_txholds(tx, zp); dmu_tx_mark_netfree(tx); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); zfs_rangelock_exit(lr); @@ -1611,7 +1611,7 @@ log: tx = dmu_tx_create(zfsvfs->z_os); dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); zfs_sa_upgrade_txholds(tx, zp); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); return (error); diff --git a/module/os/freebsd/zfs/zvol_os.c b/module/os/freebsd/zfs/zvol_os.c index ba4da193c37..d18ea9d59fa 100644 --- a/module/os/freebsd/zfs/zvol_os.c +++ b/module/os/freebsd/zfs/zvol_os.c @@ -737,7 +737,7 @@ zvol_geom_bio_strategy(struct bio *bp) if (bp->bio_cmd == BIO_DELETE) { dmu_tx_t *tx = dmu_tx_create(zv->zv_objset); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error != 0) { dmu_tx_abort(tx); } else { @@ -757,7 +757,7 @@ zvol_geom_bio_strategy(struct bio *bp) } else { dmu_tx_t *tx = dmu_tx_create(os); dmu_tx_hold_write_by_dnode(tx, zv->zv_dn, off, size); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); } else { @@ -904,7 +904,7 @@ zvol_cdev_write(struct cdev *dev, struct uio *uio_s, int ioflag) bytes = volsize - off; dmu_tx_hold_write_by_dnode(tx, zv->zv_dn, off, bytes); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); break; @@ -1153,7 +1153,7 @@ zvol_cdev_ioctl(struct cdev *dev, ulong_t cmd, caddr_t data, lr = zfs_rangelock_enter(&zv->zv_rangelock, offset, length, RL_WRITER); dmu_tx_t *tx = dmu_tx_create(zv->zv_objset); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error != 0) { sync = FALSE; dmu_tx_abort(tx); diff --git a/module/os/linux/zfs/zfs_acl.c b/module/os/linux/zfs/zfs_acl.c index f16a4545225..1b169122f25 100644 --- a/module/os/linux/zfs/zfs_acl.c +++ b/module/os/linux/zfs/zfs_acl.c @@ -2188,7 +2188,7 @@ top: } zfs_sa_upgrade_txholds(tx, zp); - error = dmu_tx_assign(tx, TXG_NOWAIT); + error = dmu_tx_assign(tx, DMU_TX_NOWAIT); if (error) { mutex_exit(&zp->z_acl_lock); mutex_exit(&zp->z_lock); diff --git a/module/os/linux/zfs/zfs_dir.c b/module/os/linux/zfs/zfs_dir.c index 16249cf20b4..2f935bb3fc8 100644 --- a/module/os/linux/zfs/zfs_dir.c +++ b/module/os/linux/zfs/zfs_dir.c @@ -623,7 +623,7 @@ zfs_purgedir(znode_t *dzp) /* Is this really needed ? */ zfs_sa_upgrade_txholds(tx, xzp); dmu_tx_mark_netfree(tx); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); zfs_zrele_async(xzp); @@ -729,7 +729,7 @@ zfs_rmnode(znode_t *zp) dmu_tx_hold_free(tx, acl_obj, 0, DMU_OBJECT_END); zfs_sa_upgrade_txholds(tx, zp); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { /* * Not enough space to delete the file. Leave it in the @@ -1150,7 +1150,7 @@ zfs_make_xattrdir(znode_t *zp, vattr_t *vap, znode_t **xzpp, cred_t *cr) fuid_dirtied = zfsvfs->z_fuid_dirty; if (fuid_dirtied) zfs_fuid_txhold(zfsvfs, tx); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { zfs_acl_ids_free(&acl_ids); dmu_tx_abort(tx); diff --git a/module/os/linux/zfs/zfs_vfsops.c b/module/os/linux/zfs/zfs_vfsops.c index 0a3d674408f..ca75080d545 100644 --- a/module/os/linux/zfs/zfs_vfsops.c +++ b/module/os/linux/zfs/zfs_vfsops.c @@ -1962,7 +1962,7 @@ zfs_set_version(zfsvfs_t *zfsvfs, uint64_t newvers) ZFS_SA_ATTRS); dmu_tx_hold_zap(tx, DMU_NEW_OBJECT, FALSE, NULL); } - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); return (error); diff --git a/module/os/linux/zfs/zfs_vnops_os.c b/module/os/linux/zfs/zfs_vnops_os.c index d1100452955..9ceb6cb8dbd 100644 --- a/module/os/linux/zfs/zfs_vnops_os.c +++ b/module/os/linux/zfs/zfs_vnops_os.c @@ -105,14 +105,14 @@ * (3) All range locks must be grabbed before calling dmu_tx_assign(), * as they can span dmu_tx_assign() calls. * - * (4) If ZPL locks are held, pass TXG_NOWAIT as the second argument to + * (4) If ZPL locks are held, pass DMU_TX_NOWAIT as the second argument to * dmu_tx_assign(). This is critical because we don't want to block * while holding locks. * - * If no ZPL locks are held (aside from zfs_enter()), use TXG_WAIT. This - * reduces lock contention and CPU usage when we must wait (note that if - * throughput is constrained by the storage, nearly every transaction - * must wait). + * If no ZPL locks are held (aside from zfs_enter()), use DMU_TX_WAIT. + * This reduces lock contention and CPU usage when we must wait (note + * that if throughput is constrained by the storage, nearly every + * transaction must wait). * * Note, in particular, that if a lock is sometimes acquired before * the tx assigns, and sometimes after (e.g. z_lock), then failing @@ -120,15 +120,16 @@ * * Thread A has grabbed a lock before calling dmu_tx_assign(). * Thread B is in an already-assigned tx, and blocks for this lock. - * Thread A calls dmu_tx_assign(TXG_WAIT) and blocks in txg_wait_open() - * forever, because the previous txg can't quiesce until B's tx commits. + * Thread A calls dmu_tx_assign(DMU_TX_WAIT) and blocks in + * txg_wait_open() forever, because the previous txg can't quiesce + * until B's tx commits. * - * If dmu_tx_assign() returns ERESTART and zfsvfs->z_assign is TXG_NOWAIT, - * then drop all locks, call dmu_tx_wait(), and try again. On subsequent - * calls to dmu_tx_assign(), pass TXG_NOTHROTTLE in addition to TXG_NOWAIT, - * to indicate that this operation has already called dmu_tx_wait(). - * This will ensure that we don't retry forever, waiting a short bit - * each time. + * If dmu_tx_assign() returns ERESTART and zfsvfs->z_assign is + * DMU_TX_NOWAIT, then drop all locks, call dmu_tx_wait(), and try + * again. On subsequent calls to dmu_tx_assign(), pass + * DMU_TX_NOTHROTTLE in addition to DMU_TX_NOWAIT, to indicate that + * this operation has already called dmu_tx_wait(). This will ensure + * that we don't retry forever, waiting a short bit each time. * * (5) If the operation succeeded, generate the intent log entry for it * before dropping locks. This ensures that the ordering of events @@ -150,7 +151,8 @@ * rw_enter(...); // grab any other locks you need * tx = dmu_tx_create(...); // get DMU tx * dmu_tx_hold_*(); // hold each object you might modify - * error = dmu_tx_assign(tx, (waited ? TXG_NOTHROTTLE : 0) | TXG_NOWAIT); + * error = dmu_tx_assign(tx, + * (waited ? DMU_TX_NOTHROTTLE : 0) | DMU_TX_NOWAIT); * if (error) { * rw_exit(...); // drop locks * zfs_dirent_unlock(dl); // unlock directory entry @@ -737,7 +739,7 @@ top: } error = dmu_tx_assign(tx, - (waited ? TXG_NOTHROTTLE : 0) | TXG_NOWAIT); + (waited ? DMU_TX_NOTHROTTLE : 0) | DMU_TX_NOWAIT); if (error) { zfs_dirent_unlock(dl); if (error == ERESTART) { @@ -928,7 +930,8 @@ top: dmu_tx_hold_write(tx, DMU_NEW_OBJECT, 0, acl_ids.z_aclp->z_acl_bytes); } - error = dmu_tx_assign(tx, (waited ? TXG_NOTHROTTLE : 0) | TXG_NOWAIT); + error = dmu_tx_assign(tx, + (waited ? DMU_TX_NOTHROTTLE : 0) | DMU_TX_NOWAIT); if (error) { if (error == ERESTART) { waited = B_TRUE; @@ -1092,7 +1095,8 @@ top: */ dmu_tx_mark_netfree(tx); - error = dmu_tx_assign(tx, (waited ? TXG_NOTHROTTLE : 0) | TXG_NOWAIT); + error = dmu_tx_assign(tx, + (waited ? DMU_TX_NOTHROTTLE : 0) | DMU_TX_NOWAIT); if (error) { zfs_dirent_unlock(dl); if (error == ERESTART) { @@ -1338,7 +1342,8 @@ top: dmu_tx_hold_sa_create(tx, acl_ids.z_aclp->z_acl_bytes + ZFS_SA_BASE_ATTR_SIZE); - error = dmu_tx_assign(tx, (waited ? TXG_NOTHROTTLE : 0) | TXG_NOWAIT); + error = dmu_tx_assign(tx, + (waited ? DMU_TX_NOTHROTTLE : 0) | DMU_TX_NOWAIT); if (error) { zfs_dirent_unlock(dl); if (error == ERESTART) { @@ -1482,7 +1487,8 @@ top: zfs_sa_upgrade_txholds(tx, zp); zfs_sa_upgrade_txholds(tx, dzp); dmu_tx_mark_netfree(tx); - error = dmu_tx_assign(tx, (waited ? TXG_NOTHROTTLE : 0) | TXG_NOWAIT); + error = dmu_tx_assign(tx, + (waited ? DMU_TX_NOTHROTTLE : 0) | DMU_TX_NOWAIT); if (error) { rw_exit(&zp->z_parent_lock); rw_exit(&zp->z_name_lock); @@ -1814,7 +1820,7 @@ zfs_setattr_dir(znode_t *dzp) else dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err) break; @@ -2387,7 +2393,7 @@ top: zfs_sa_upgrade_txholds(tx, zp); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err) goto out; @@ -3071,7 +3077,8 @@ top: zfs_fuid_txhold(zfsvfs, tx); zfs_sa_upgrade_txholds(tx, szp); dmu_tx_hold_zap(tx, zfsvfs->z_unlinkedobj, FALSE, NULL); - error = dmu_tx_assign(tx, (waited ? TXG_NOTHROTTLE : 0) | TXG_NOWAIT); + error = dmu_tx_assign(tx, + (waited ? DMU_TX_NOTHROTTLE : 0) | DMU_TX_NOWAIT); if (error) { if (zl != NULL) zfs_rename_unlock(&zl); @@ -3366,7 +3373,8 @@ top: } if (fuid_dirtied) zfs_fuid_txhold(zfsvfs, tx); - error = dmu_tx_assign(tx, (waited ? TXG_NOTHROTTLE : 0) | TXG_NOWAIT); + error = dmu_tx_assign(tx, + (waited ? DMU_TX_NOTHROTTLE : 0) | DMU_TX_NOWAIT); if (error) { zfs_dirent_unlock(dl); if (error == ERESTART) { @@ -3616,7 +3624,8 @@ top: zfs_sa_upgrade_txholds(tx, szp); zfs_sa_upgrade_txholds(tx, tdzp); - error = dmu_tx_assign(tx, (waited ? TXG_NOTHROTTLE : 0) | TXG_NOWAIT); + error = dmu_tx_assign(tx, + (waited ? DMU_TX_NOTHROTTLE : 0) | DMU_TX_NOWAIT); if (error) { zfs_dirent_unlock(dl); if (error == ERESTART) { @@ -3853,7 +3862,7 @@ zfs_putpage(struct inode *ip, struct page *pp, struct writeback_control *wbc, dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); zfs_sa_upgrade_txholds(tx, zp); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err != 0) { dmu_tx_abort(tx); #ifdef HAVE_VFS_FILEMAP_DIRTY_FOLIO @@ -3968,7 +3977,7 @@ zfs_dirty_inode(struct inode *ip, int flags) dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); zfs_sa_upgrade_txholds(tx, zp); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); goto out; @@ -4027,7 +4036,7 @@ zfs_inactive(struct inode *ip) dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); zfs_sa_upgrade_txholds(tx, zp); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); } else { diff --git a/module/os/linux/zfs/zfs_znode_os.c b/module/os/linux/zfs/zfs_znode_os.c index fbe9e788403..607b3995cb6 100644 --- a/module/os/linux/zfs/zfs_znode_os.c +++ b/module/os/linux/zfs/zfs_znode_os.c @@ -1518,7 +1518,7 @@ zfs_extend(znode_t *zp, uint64_t end) newblksz = 0; } - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); zfs_rangelock_exit(lr); @@ -1704,7 +1704,7 @@ zfs_trunc(znode_t *zp, uint64_t end) dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); zfs_sa_upgrade_txholds(tx, zp); dmu_tx_mark_netfree(tx); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); zfs_rangelock_exit(lr); @@ -1775,7 +1775,7 @@ log: tx = dmu_tx_create(zfsvfs->z_os); dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); zfs_sa_upgrade_txholds(tx, zp); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); goto out; diff --git a/module/os/linux/zfs/zvol_os.c b/module/os/linux/zfs/zvol_os.c index ddb8dac8fcf..c8a04539258 100644 --- a/module/os/linux/zfs/zvol_os.c +++ b/module/os/linux/zfs/zvol_os.c @@ -300,7 +300,7 @@ zvol_write(zv_request_t *zvr) dmu_tx_hold_write_by_dnode(tx, zv->zv_dn, off, bytes); /* This will only fail for ENOSPC */ - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); break; @@ -396,7 +396,7 @@ zvol_discard(zv_request_t *zvr) tx = dmu_tx_create(zv->zv_objset); dmu_tx_mark_netfree(tx); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error != 0) { dmu_tx_abort(tx); } else { diff --git a/module/zfs/dmu.c b/module/zfs/dmu.c index 0bfe3e7c74d..bddb90f295a 100644 --- a/module/zfs/dmu.c +++ b/module/zfs/dmu.c @@ -1051,7 +1051,7 @@ dmu_free_long_range_impl(objset_t *os, dnode_t *dn, uint64_t offset, * reduction in space used. */ dmu_tx_mark_netfree(tx); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err) { dmu_tx_abort(tx); return (err); @@ -1142,7 +1142,7 @@ dmu_free_long_object(objset_t *os, uint64_t object) dmu_tx_hold_bonus(tx, object); dmu_tx_hold_free(tx, object, 0, DMU_OBJECT_END); dmu_tx_mark_netfree(tx); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err == 0) { err = dmu_object_free(os, object, tx); dmu_tx_commit(tx); @@ -1996,7 +1996,7 @@ dmu_sync_late_arrival(zio_t *pio, objset_t *os, dmu_sync_cb_t *done, zgd_t *zgd, * which time the log block we are writing will be obsolete, so we can * skip waiting and just return error here instead. */ - if (dmu_tx_assign(tx, TXG_NOWAIT | TXG_NOTHROTTLE) != 0) { + if (dmu_tx_assign(tx, DMU_TX_NOWAIT | DMU_TX_NOTHROTTLE) != 0) { dmu_tx_abort(tx); /* Make zl_get_data do txg_waited_synced() */ return (SET_ERROR(EIO)); diff --git a/module/zfs/dmu_objset.c b/module/zfs/dmu_objset.c index d3106fd37dc..f22a236a631 100644 --- a/module/zfs/dmu_objset.c +++ b/module/zfs/dmu_objset.c @@ -2452,7 +2452,7 @@ dmu_objset_space_upgrade(objset_t *os) continue; tx = dmu_tx_create(os); dmu_tx_hold_bonus(tx, obj); - objerr = dmu_tx_assign(tx, TXG_WAIT); + objerr = dmu_tx_assign(tx, DMU_TX_WAIT); if (objerr != 0) { dmu_buf_rele(db, FTAG); dmu_tx_abort(tx); diff --git a/module/zfs/dmu_recv.c b/module/zfs/dmu_recv.c index 863f584dbb1..91e3ca1cf27 100644 --- a/module/zfs/dmu_recv.c +++ b/module/zfs/dmu_recv.c @@ -2024,7 +2024,7 @@ receive_object(struct receive_writer_arg *rwa, struct drr_object *drro, tx = dmu_tx_create(rwa->os); dmu_tx_hold_bonus(tx, object_to_hold); dmu_tx_hold_write(tx, object_to_hold, 0, 0); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err != 0) { dmu_tx_abort(tx); return (err); @@ -2228,7 +2228,7 @@ flush_write_batch_impl(struct receive_writer_arg *rwa) dmu_tx_hold_write_by_dnode(tx, dn, first_drrw->drr_offset, last_drrw->drr_offset - first_drrw->drr_offset + last_drrw->drr_logical_size); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err != 0) { dmu_tx_abort(tx); dnode_rele(dn, FTAG); @@ -2501,7 +2501,7 @@ receive_write_embedded(struct receive_writer_arg *rwa, dmu_tx_hold_write(tx, drrwe->drr_object, drrwe->drr_offset, drrwe->drr_length); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err != 0) { dmu_tx_abort(tx); return (err); @@ -2564,7 +2564,7 @@ receive_spill(struct receive_writer_arg *rwa, struct drr_spill *drrs, dmu_tx_hold_spill(tx, db->db_object); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err != 0) { dmu_buf_rele(db, FTAG); dmu_buf_rele(db_spill, FTAG); diff --git a/module/zfs/dmu_redact.c b/module/zfs/dmu_redact.c index efcbd466e1c..cde47de6b2b 100644 --- a/module/zfs/dmu_redact.c +++ b/module/zfs/dmu_redact.c @@ -568,7 +568,7 @@ commit_rl_updates(objset_t *os, struct merge_data *md, uint64_t object, { dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(os->os_spa)->dp_mos_dir); dmu_tx_hold_space(tx, sizeof (struct redact_block_list_node)); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); uint64_t txg = dmu_tx_get_txg(tx); if (!md->md_synctask_txg[txg & TXG_MASK]) { dsl_sync_task_nowait(dmu_tx_pool(tx), diff --git a/module/zfs/dmu_tx.c b/module/zfs/dmu_tx.c index ca7648d6eca..5457ca2a8f4 100644 --- a/module/zfs/dmu_tx.c +++ b/module/zfs/dmu_tx.c @@ -1017,7 +1017,7 @@ dmu_tx_delay(dmu_tx_t *tx, uint64_t dirty) * decreasing performance. */ static int -dmu_tx_try_assign(dmu_tx_t *tx, uint64_t txg_how) +dmu_tx_try_assign(dmu_tx_t *tx, uint64_t flags) { spa_t *spa = tx->tx_pool->dp_spa; @@ -1037,11 +1037,11 @@ dmu_tx_try_assign(dmu_tx_t *tx, uint64_t txg_how) * Otherwise, return EIO so that an error can get * propagated back to the VOP calls. * - * Note that we always honor the txg_how flag regardless + * Note that we always honor the `flags` flag regardless * of the failuremode setting. */ if (spa_get_failmode(spa) == ZIO_FAILURE_MODE_CONTINUE && - !(txg_how & TXG_WAIT)) + !(flags & DMU_TX_WAIT)) return (SET_ERROR(EIO)); return (SET_ERROR(ERESTART)); @@ -1165,20 +1165,20 @@ dmu_tx_unassign(dmu_tx_t *tx) } /* - * Assign tx to a transaction group; txg_how is a bitmask: + * Assign tx to a transaction group; `flags` is a bitmask: * - * If TXG_WAIT is set and the currently open txg is full, this function + * If DMU_TX_WAIT is set and the currently open txg is full, this function * will wait until there's a new txg. This should be used when no locks * are being held. With this bit set, this function will only fail if * we're truly out of space (or over quota). * - * If TXG_WAIT is *not* set and we can't assign into the currently open + * If DMU_TX_WAIT is *not* set and we can't assign into the currently open * txg without blocking, this function will return immediately with * ERESTART. This should be used whenever locks are being held. On an * ERESTART error, the caller should drop all locks, call dmu_tx_wait(), * and try again. * - * If TXG_NOTHROTTLE is set, this indicates that this tx should not be + * If DMU_TX_NOTHROTTLE is set, this indicates that this tx should not be * delayed due on the ZFS Write Throttle (see comments in dsl_pool.c for * details on the throttle). This is used by the VFS operations, after * they have already called dmu_tx_wait() (though most likely on a @@ -1201,24 +1201,24 @@ dmu_tx_unassign(dmu_tx_t *tx) * 1 <- dmu_tx_get_txg(T3) */ int -dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how) +dmu_tx_assign(dmu_tx_t *tx, uint64_t flags) { int err; ASSERT(tx->tx_txg == 0); - ASSERT0(txg_how & ~(TXG_WAIT | TXG_NOTHROTTLE)); + ASSERT0(flags & ~(DMU_TX_WAIT | DMU_TX_NOTHROTTLE)); ASSERT(!dsl_pool_sync_context(tx->tx_pool)); /* If we might wait, we must not hold the config lock. */ - IMPLY((txg_how & TXG_WAIT), !dsl_pool_config_held(tx->tx_pool)); + IMPLY((flags & DMU_TX_WAIT), !dsl_pool_config_held(tx->tx_pool)); - if ((txg_how & TXG_NOTHROTTLE)) + if ((flags & DMU_TX_NOTHROTTLE)) tx->tx_dirty_delayed = B_TRUE; - while ((err = dmu_tx_try_assign(tx, txg_how)) != 0) { + while ((err = dmu_tx_try_assign(tx, flags)) != 0) { dmu_tx_unassign(tx); - if (err != ERESTART || !(txg_how & TXG_WAIT)) + if (err != ERESTART || !(flags & DMU_TX_WAIT)) return (err); dmu_tx_wait(tx); @@ -1263,9 +1263,9 @@ dmu_tx_wait(dmu_tx_t *tx) /* * Note: setting tx_dirty_delayed only has effect if the - * caller used TX_WAIT. Otherwise they are going to + * caller used DMU_TX_WAIT. Otherwise they are going to * destroy this tx and try again. The common case, - * zfs_write(), uses TX_WAIT. + * zfs_write(), uses DMU_TX_WAIT. */ tx->tx_dirty_delayed = B_TRUE; } else if (spa_suspended(spa) || tx->tx_lasttried_txg == 0) { diff --git a/module/zfs/dsl_scan.c b/module/zfs/dsl_scan.c index 94426314b93..18be7d8d981 100644 --- a/module/zfs/dsl_scan.c +++ b/module/zfs/dsl_scan.c @@ -1434,7 +1434,7 @@ dsl_scan_restart_resilver(dsl_pool_t *dp, uint64_t txg) if (txg == 0) { dmu_tx_t *tx; tx = dmu_tx_create_dd(dp->dp_mos_dir); - VERIFY(0 == dmu_tx_assign(tx, TXG_WAIT)); + VERIFY(0 == dmu_tx_assign(tx, DMU_TX_WAIT)); txg = dmu_tx_get_txg(tx); dp->dp_scan->scn_restart_txg = txg; diff --git a/module/zfs/dsl_synctask.c b/module/zfs/dsl_synctask.c index d4de9443a70..d868826cc98 100644 --- a/module/zfs/dsl_synctask.c +++ b/module/zfs/dsl_synctask.c @@ -58,7 +58,7 @@ dsl_sync_task_common(const char *pool, dsl_checkfunc_t *checkfunc, top: tx = dmu_tx_create_dd(dp->dp_mos_dir); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); dst.dst_pool = dp; dst.dst_txg = dmu_tx_get_txg(tx); diff --git a/module/zfs/spa.c b/module/zfs/spa.c index 7795646ee44..09345634796 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -1984,7 +1984,7 @@ static void spa_unload_log_sm_flush_all(spa_t *spa) { dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); ASSERT3U(spa->spa_log_flushall_txg, ==, 0); spa->spa_log_flushall_txg = dmu_tx_get_txg(tx); @@ -3262,7 +3262,7 @@ spa_livelist_condense_cb(void *arg, zthr_t *t) dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); dmu_tx_mark_netfree(tx); dmu_tx_hold_space(tx, 1); - err = dmu_tx_assign(tx, TXG_NOWAIT | TXG_NOTHROTTLE); + err = dmu_tx_assign(tx, DMU_TX_NOWAIT | DMU_TX_NOTHROTTLE); if (err == 0) { /* * Prevent the condense zthr restarting before @@ -8593,7 +8593,7 @@ spa_vdev_split_mirror(spa_t *spa, const char *newname, nvlist_t *config, /* finally, update the original pool's config */ txg = spa_vdev_config_enter(spa); tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error != 0) dmu_tx_abort(tx); for (c = 0; c < children; c++) { diff --git a/module/zfs/spa_history.c b/module/zfs/spa_history.c index c0665afe91f..60ab07944d7 100644 --- a/module/zfs/spa_history.c +++ b/module/zfs/spa_history.c @@ -385,7 +385,7 @@ spa_history_log_nvl(spa_t *spa, nvlist_t *nvl) } tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err) { dmu_tx_abort(tx); return (err); @@ -561,7 +561,7 @@ spa_history_log_internal(spa_t *spa, const char *operation, /* create a tx if we didn't get one */ if (tx == NULL) { htx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - if (dmu_tx_assign(htx, TXG_WAIT) != 0) { + if (dmu_tx_assign(htx, DMU_TX_WAIT) != 0) { dmu_tx_abort(htx); return; } diff --git a/module/zfs/vdev_indirect.c b/module/zfs/vdev_indirect.c index 374bcf359f0..30d7340f7f4 100644 --- a/module/zfs/vdev_indirect.c +++ b/module/zfs/vdev_indirect.c @@ -569,7 +569,7 @@ spa_condense_indirect_commit_entry(spa_t *spa, dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); dmu_tx_hold_space(tx, sizeof (*vimep) + sizeof (count)); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); int txgoff = dmu_tx_get_txg(tx) & TXG_MASK; /* diff --git a/module/zfs/vdev_initialize.c b/module/zfs/vdev_initialize.c index 3bf9aaae188..8ff38889b79 100644 --- a/module/zfs/vdev_initialize.c +++ b/module/zfs/vdev_initialize.c @@ -158,7 +158,7 @@ vdev_initialize_change_state(vdev_t *vd, vdev_initializing_state_t new_state) vd->vdev_initialize_state = new_state; dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); if (new_state != VDEV_INITIALIZE_NONE) { dsl_sync_task_nowait(spa_get_dsl(spa), @@ -250,7 +250,7 @@ vdev_initialize_write(vdev_t *vd, uint64_t start, uint64_t size, abd_t *data) mutex_exit(&vd->vdev_initialize_io_lock); dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); uint64_t txg = dmu_tx_get_txg(tx); spa_config_enter(spa, SCL_STATE_ALL, vd, RW_READER); diff --git a/module/zfs/vdev_raidz.c b/module/zfs/vdev_raidz.c index 7a9378844ae..b62dc6b0b91 100644 --- a/module/zfs/vdev_raidz.c +++ b/module/zfs/vdev_raidz.c @@ -4625,7 +4625,7 @@ spa_raidz_expand_thread(void *arg, zthr_t *zthr) dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); uint64_t txg = dmu_tx_get_txg(tx); /* diff --git a/module/zfs/vdev_rebuild.c b/module/zfs/vdev_rebuild.c index b9c29237faa..ea6f8699308 100644 --- a/module/zfs/vdev_rebuild.c +++ b/module/zfs/vdev_rebuild.c @@ -287,7 +287,7 @@ vdev_rebuild_initiate(vdev_t *vd) ASSERT(!vd->vdev_rebuilding); dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); vd->vdev_rebuilding = B_TRUE; @@ -592,7 +592,7 @@ vdev_rebuild_range(vdev_rebuild_t *vr, uint64_t start, uint64_t size) mutex_exit(&vr->vr_io_lock); dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); uint64_t txg = dmu_tx_get_txg(tx); spa_config_enter(spa, SCL_STATE_ALL, vd, RW_READER); @@ -932,7 +932,7 @@ vdev_rebuild_thread(void *arg) dsl_pool_t *dp = spa_get_dsl(spa); dmu_tx_t *tx = dmu_tx_create_dd(dp->dp_mos_dir); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); mutex_enter(&vd->vdev_rebuild_lock); if (error == 0) { diff --git a/module/zfs/vdev_removal.c b/module/zfs/vdev_removal.c index e2794ba64c4..42ad560fcf4 100644 --- a/module/zfs/vdev_removal.c +++ b/module/zfs/vdev_removal.c @@ -1717,7 +1717,7 @@ spa_vdev_remove_thread(void *arg) dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); uint64_t txg = dmu_tx_get_txg(tx); /* diff --git a/module/zfs/vdev_trim.c b/module/zfs/vdev_trim.c index 88a16f94d13..43998577c0a 100644 --- a/module/zfs/vdev_trim.c +++ b/module/zfs/vdev_trim.c @@ -342,7 +342,7 @@ vdev_trim_change_state(vdev_t *vd, vdev_trim_state_t new_state, vd->vdev_trim_state = new_state; dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); dsl_sync_task_nowait(spa_get_dsl(spa), vdev_trim_zap_update_sync, guid, tx); @@ -527,7 +527,7 @@ vdev_trim_range(trim_args_t *ta, uint64_t start, uint64_t size) mutex_exit(&vd->vdev_trim_io_lock); dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(spa)->dp_mos_dir); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); uint64_t txg = dmu_tx_get_txg(tx); spa_config_enter(spa, SCL_STATE_ALL, vd, RW_READER); diff --git a/module/zfs/zfs_quota.c b/module/zfs/zfs_quota.c index 18d3dd94827..3f028a9009d 100644 --- a/module/zfs/zfs_quota.c +++ b/module/zfs/zfs_quota.c @@ -340,7 +340,7 @@ zfs_set_userquota(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, } if (fuid_dirtied) zfs_fuid_txhold(zfsvfs, tx); - err = dmu_tx_assign(tx, TXG_WAIT); + err = dmu_tx_assign(tx, DMU_TX_WAIT); if (err) { dmu_tx_abort(tx); return (err); diff --git a/module/zfs/zfs_replay.c b/module/zfs/zfs_replay.c index 95eb8b2eea5..78be046f226 100644 --- a/module/zfs/zfs_replay.c +++ b/module/zfs/zfs_replay.c @@ -900,7 +900,7 @@ top: zp->z_size = end; dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { zrele(zp); if (error == ERESTART) { diff --git a/module/zfs/zfs_sa.c b/module/zfs/zfs_sa.c index f90744eff9b..59b6ae4e420 100644 --- a/module/zfs/zfs_sa.c +++ b/module/zfs/zfs_sa.c @@ -265,7 +265,7 @@ zfs_sa_set_xattr(znode_t *zp, const char *name, const void *value, size_t vsize) dmu_tx_hold_sa_create(tx, size); dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); } else { diff --git a/module/zfs/zfs_vnops.c b/module/zfs/zfs_vnops.c index 65e249dbad5..afd9e61313a 100644 --- a/module/zfs/zfs_vnops.c +++ b/module/zfs/zfs_vnops.c @@ -835,7 +835,7 @@ zfs_write(znode_t *zp, zfs_uio_t *uio, int ioflag, cred_t *cr) dmu_tx_hold_write_by_dnode(tx, DB_DNODE(db), woff, nbytes); DB_DNODE_EXIT(db); zfs_sa_upgrade_txholds(tx, zp); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); if (abuf != NULL) @@ -1660,7 +1660,7 @@ zfs_clone_range(znode_t *inzp, uint64_t *inoffp, znode_t *outzp, dmu_tx_hold_clone_by_dnode(tx, DB_DNODE(db), outoff, size); DB_DNODE_EXIT(db); zfs_sa_upgrade_txholds(tx, outzp); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error != 0) { dmu_tx_abort(tx); break; @@ -1827,7 +1827,7 @@ zfs_clone_range_replay(znode_t *zp, uint64_t off, uint64_t len, uint64_t blksz, dmu_tx_hold_clone_by_dnode(tx, DB_DNODE(db), off, len); DB_DNODE_EXIT(db); zfs_sa_upgrade_txholds(tx, zp); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error != 0) { dmu_tx_abort(tx); zfs_exit(zfsvfs, FTAG); diff --git a/module/zfs/zil.c b/module/zfs/zil.c index a8b75029115..ac271d39815 100644 --- a/module/zfs/zil.c +++ b/module/zfs/zil.c @@ -957,7 +957,7 @@ zil_commit_activate_saxattr_feature(zilog_t *zilog) dmu_objset_type(zilog->zl_os) != DMU_OST_ZVOL && !dsl_dataset_feature_is_active(ds, SPA_FEATURE_ZILSAXATTR)) { tx = dmu_tx_create(zilog->zl_os); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); dsl_dataset_dirty(ds, tx); txg = dmu_tx_get_txg(tx); @@ -1003,7 +1003,7 @@ zil_create(zilog_t *zilog) */ if (BP_IS_HOLE(&blk) || BP_SHOULD_BYTESWAP(&blk)) { tx = dmu_tx_create(zilog->zl_os); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); dsl_dataset_dirty(dmu_objset_ds(zilog->zl_os), tx); txg = dmu_tx_get_txg(tx); @@ -1093,7 +1093,7 @@ zil_destroy(zilog_t *zilog, boolean_t keep_first) return (B_FALSE); tx = dmu_tx_create(zilog->zl_os); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT)); dsl_dataset_dirty(dmu_objset_ds(zilog->zl_os), tx); txg = dmu_tx_get_txg(tx); @@ -1977,7 +1977,7 @@ next_lwb: * Open transaction to allocate the next block pointer. */ dmu_tx_t *tx = dmu_tx_create(zilog->zl_os); - VERIFY0(dmu_tx_assign(tx, TXG_WAIT | TXG_NOTHROTTLE)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT | DMU_TX_NOTHROTTLE)); dsl_dataset_dirty(dmu_objset_ds(zilog->zl_os), tx); uint64_t txg = dmu_tx_get_txg(tx); @@ -3454,9 +3454,9 @@ zil_commit_itx_assign(zilog_t *zilog, zil_commit_waiter_t *zcw) * Since we are not going to create any new dirty data, and we * can even help with clearing the existing dirty data, we * should not be subject to the dirty data based delays. We - * use TXG_NOTHROTTLE to bypass the delay mechanism. + * use DMU_TX_NOTHROTTLE to bypass the delay mechanism. */ - VERIFY0(dmu_tx_assign(tx, TXG_WAIT | TXG_NOTHROTTLE)); + VERIFY0(dmu_tx_assign(tx, DMU_TX_WAIT | DMU_TX_NOTHROTTLE)); itx_t *itx = zil_itx_create(TX_COMMIT, sizeof (lr_t)); itx->itx_sync = B_TRUE; diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c index 9ab2d8f4256..d985ec0d68a 100644 --- a/module/zfs/zvol.c +++ b/module/zfs/zvol.c @@ -276,7 +276,7 @@ zvol_update_volsize(uint64_t volsize, objset_t *os) tx = dmu_tx_create(os); dmu_tx_hold_zap(tx, ZVOL_ZAP_OBJ, TRUE, NULL); dmu_tx_mark_netfree(tx); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); return (SET_ERROR(error)); @@ -459,7 +459,7 @@ zvol_replay_truncate(void *arg1, void *arg2, boolean_t byteswap) dmu_tx_t *tx = dmu_tx_create(zv->zv_objset); dmu_tx_mark_netfree(tx); - int error = dmu_tx_assign(tx, TXG_WAIT); + int error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error != 0) { dmu_tx_abort(tx); } else { @@ -506,7 +506,7 @@ zvol_replay_write(void *arg1, void *arg2, boolean_t byteswap) tx = dmu_tx_create(os); dmu_tx_hold_write(tx, ZVOL_OBJ, offset, length); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error) { dmu_tx_abort(tx); } else { @@ -557,7 +557,7 @@ zvol_replay_clone_range(void *arg1, void *arg2, boolean_t byteswap) return (error); tx = dmu_tx_create(os); dmu_tx_hold_clone_by_dnode(tx, zv->zv_dn, off, len); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error != 0) { dmu_tx_abort(tx); goto out; @@ -722,7 +722,7 @@ zvol_clone_range(zvol_state_t *zv_src, uint64_t inoff, zvol_state_t *zv_dst, tx = dmu_tx_create(zv_dst->zv_objset); dmu_tx_hold_clone_by_dnode(tx, zv_dst->zv_dn, outoff, size); - error = dmu_tx_assign(tx, TXG_WAIT); + error = dmu_tx_assign(tx, DMU_TX_WAIT); if (error != 0) { dmu_tx_abort(tx); break; From cb4b854838e278db8e40cd97e94325b110e97878 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Thu, 27 Feb 2025 11:22:26 +1100 Subject: [PATCH 26/51] convert_wycheproof: fix compile failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Tino Reichardt Reviewed-by: Attila Fülöp --- scripts/convert_wycheproof.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/convert_wycheproof.pl b/scripts/convert_wycheproof.pl index 3a32180869f..7093c8533fb 100755 --- a/scripts/convert_wycheproof.pl +++ b/scripts/convert_wycheproof.pl @@ -182,7 +182,7 @@ if ($skipped) { } if ($ntests == 0) { die "E: no tests extracted, sorry!\n"; - +} my $outfh; if ($outfile) { From 6e89095873b9cdea7ebf5ec3ab67bc19f8d081e5 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Thu, 27 Feb 2025 12:10:20 +1100 Subject: [PATCH 27/51] convert_wycheproof: don't check tag len on invalid tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Tino Reichardt Reviewed-by: Attila Fülöp --- scripts/convert_wycheproof.pl | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/scripts/convert_wycheproof.pl b/scripts/convert_wycheproof.pl index 7093c8533fb..d6b1b773c0d 100755 --- a/scripts/convert_wycheproof.pl +++ b/scripts/convert_wycheproof.pl @@ -143,11 +143,20 @@ for my $group (@{$data->{testGroups}}) { my ($id, $comment, $iv, $key, $msg, $ct, $aad, $tag, $result) = @$test{qw(tcId comment iv key msg ct aad tag result)}; - # sanity check; iv, key and tag must have the length declared - # by the group params + # sanity check; iv and key must have the length declared by the + # group params. unless ( length_check($id, 'iv', $iv, $iv_size) && - length_check($id, 'key', $key, $key_size) && + length_check($id, 'key', $key, $key_size)) { + $skipped++; + next; + } + + # sanity check; tag must have the length declared by the group + # param, but only for valid tests (invalid tests should be + # rejected, and so can't produce a tag anyway) + unless ( + $result eq 'invalid' || length_check($id, 'tag', $tag, $tag_size)) { $skipped++; next; From 3cd9934a4898429f9d9efd6e9a218852c56f8df0 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Tue, 18 Mar 2025 21:25:50 -0400 Subject: [PATCH 28/51] Some arc_release() cleanup - Don't drop L2ARC header if we have more buffers in this header. Since we leave them the header, leave them the L2ARC header also. Honestly we are not required to drop it even if there are no other buffers, but then we'd need to allocate it a separate header, which we might drop soon if the old block is really deleted. Multiple buffers in a header likely mean active snapshots or dedup, so we know that the block in L2ARC will remain valid. It might be rare, but why not? - Remove some impossible assertions and conditions. Reviewed-by: Tony Hutter Signed-off-by: Alexander Motin Sponsored by: iXsystems, Inc. Closes #17126 --- module/zfs/arc.c | 45 ++++++++++++--------------------------------- 1 file changed, 12 insertions(+), 33 deletions(-) diff --git a/module/zfs/arc.c b/module/zfs/arc.c index a004ecbb35e..e97d588b4de 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -6449,27 +6449,11 @@ arc_release(arc_buf_t *buf, const void *tag) arc_state_t *state = hdr->b_l1hdr.b_state; ASSERT3P(hash_lock, ==, HDR_LOCK(hdr)); ASSERT3P(state, !=, arc_anon); + ASSERT3P(state, !=, arc_l2c_only); /* this buffer is not on any list */ ASSERT3S(zfs_refcount_count(&hdr->b_l1hdr.b_refcnt), >, 0); - if (HDR_HAS_L2HDR(hdr)) { - mutex_enter(&hdr->b_l2hdr.b_dev->l2ad_mtx); - - /* - * We have to recheck this conditional again now that - * we're holding the l2ad_mtx to prevent a race with - * another thread which might be concurrently calling - * l2arc_evict(). In that case, l2arc_evict() might have - * destroyed the header's L2 portion as we were waiting - * to acquire the l2ad_mtx. - */ - if (HDR_HAS_L2HDR(hdr)) - arc_hdr_l2hdr_destroy(hdr); - - mutex_exit(&hdr->b_l2hdr.b_dev->l2ad_mtx); - } - /* * Do we have more than one buf? */ @@ -6481,10 +6465,6 @@ arc_release(arc_buf_t *buf, const void *tag) boolean_t protected = HDR_PROTECTED(hdr); enum zio_compress compress = arc_hdr_get_compress(hdr); arc_buf_contents_t type = arc_buf_type(hdr); - VERIFY3U(hdr->b_type, ==, type); - - ASSERT(hdr->b_l1hdr.b_buf != buf || buf->b_next != NULL); - VERIFY3S(remove_reference(hdr, tag), >, 0); if (ARC_BUF_SHARED(buf) && !ARC_BUF_COMPRESSED(buf)) { ASSERT3P(hdr->b_l1hdr.b_buf, !=, buf); @@ -6492,10 +6472,10 @@ arc_release(arc_buf_t *buf, const void *tag) } /* - * Pull the data off of this hdr and attach it to - * a new anonymous hdr. Also find the last buffer + * Pull the buffer off of this hdr and find the last buffer * in the hdr's buffer list. */ + VERIFY3S(remove_reference(hdr, tag), >, 0); arc_buf_t *lastbuf = arc_buf_remove(hdr, buf); ASSERT3P(lastbuf, !=, NULL); @@ -6504,7 +6484,6 @@ arc_release(arc_buf_t *buf, const void *tag) * buffer, then we must stop sharing that block. */ if (ARC_BUF_SHARED(buf)) { - ASSERT3P(hdr->b_l1hdr.b_buf, !=, buf); ASSERT(!arc_buf_is_shared(lastbuf)); /* @@ -6526,7 +6505,6 @@ arc_release(arc_buf_t *buf, const void *tag) abd_copy_from_buf(hdr->b_l1hdr.b_pabd, buf->b_data, psize); } - VERIFY3P(lastbuf->b_data, !=, NULL); } else if (HDR_SHARED_DATA(hdr)) { /* * Uncompressed shared buffers are always at the end @@ -6542,18 +6520,10 @@ arc_release(arc_buf_t *buf, const void *tag) } ASSERT(hdr->b_l1hdr.b_pabd != NULL || HDR_HAS_RABD(hdr)); - ASSERT3P(state, !=, arc_l2c_only); (void) zfs_refcount_remove_many(&state->arcs_size[type], arc_buf_size(buf), buf); - if (zfs_refcount_is_zero(&hdr->b_l1hdr.b_refcnt)) { - ASSERT3P(state, !=, arc_l2c_only); - (void) zfs_refcount_remove_many( - &state->arcs_esize[type], - arc_buf_size(buf), buf); - } - arc_cksum_verify(buf); arc_buf_unwatch(buf); @@ -6581,6 +6551,15 @@ arc_release(arc_buf_t *buf, const void *tag) /* protected by hash lock, or hdr is on arc_anon */ ASSERT(!multilist_link_active(&hdr->b_l1hdr.b_arc_node)); ASSERT(!HDR_IO_IN_PROGRESS(hdr)); + + if (HDR_HAS_L2HDR(hdr)) { + mutex_enter(&hdr->b_l2hdr.b_dev->l2ad_mtx); + /* Recheck to prevent race with l2arc_evict(). */ + if (HDR_HAS_L2HDR(hdr)) + arc_hdr_l2hdr_destroy(hdr); + mutex_exit(&hdr->b_l2hdr.b_dev->l2ad_mtx); + } + hdr->b_l1hdr.b_mru_hits = 0; hdr->b_l1hdr.b_mru_ghost_hits = 0; hdr->b_l1hdr.b_mfu_hits = 0; From d033f26765940b34027a39b9f86417d83d20a754 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Wed, 19 Mar 2025 09:24:43 -0600 Subject: [PATCH 29/51] Always perform bounds-checking in metaslab_free_concrete The vd->vdev_ms access can overflow due to on-disk corruption, not just due to programming bugs. So it makes sense to check its boundaries even in production builds. Sponsored by: ConnectWise Reviewed by: Alek Pinchuk Reviewed-by: Tony Hutter Reviewed-by: Alexander Motin Signed-off-by: Alan Somers Closes #17136 --- module/zfs/metaslab.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/zfs/metaslab.c b/module/zfs/metaslab.c index 5d89c65e6a0..d738eda6041 100644 --- a/module/zfs/metaslab.c +++ b/module/zfs/metaslab.c @@ -5406,12 +5406,13 @@ metaslab_free_concrete(vdev_t *vd, uint64_t offset, uint64_t asize, { metaslab_t *msp; spa_t *spa = vd->vdev_spa; + int m = offset >> vd->vdev_ms_shift; ASSERT(vdev_is_concrete(vd)); ASSERT3U(spa_config_held(spa, SCL_ALL, RW_READER), !=, 0); - ASSERT3U(offset >> vd->vdev_ms_shift, <, vd->vdev_ms_count); + VERIFY3U(m, <, vd->vdev_ms_count); - msp = vd->vdev_ms[offset >> vd->vdev_ms_shift]; + msp = vd->vdev_ms[m]; VERIFY(!msp->ms_condensing); VERIFY3U(offset, >=, msp->ms_start); From 83fa051ceb9131da54eda3ca4ea2faebe38a8b7a Mon Sep 17 00:00:00 2001 From: aokblast Date: Thu, 20 Mar 2025 00:26:45 +0900 Subject: [PATCH 30/51] spl_vfs: fix vrele task runner signature mismatch Reviewed-by: Alexander Motin Signed-off-by: SHENGYI HONG Closes #17101 --- module/os/freebsd/spl/spl_vfs.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/module/os/freebsd/spl/spl_vfs.c b/module/os/freebsd/spl/spl_vfs.c index ef0224a2742..b6d1d997625 100644 --- a/module/os/freebsd/spl/spl_vfs.c +++ b/module/os/freebsd/spl/spl_vfs.c @@ -257,6 +257,12 @@ mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, return (0); } +static void +vrele_task_runner(void *vp) +{ + vrele((vnode_t *)vp); +} + /* * Like vn_rele() except if we are going to call VOP_INACTIVE() then do it * asynchronously using a taskq. This can avoid deadlocks caused by re-entering @@ -273,6 +279,6 @@ vn_rele_async(vnode_t *vp, taskq_t *taskq) VERIFY3U(vp->v_usecount, >, 0); if (refcount_release_if_not_last(&vp->v_usecount)) return; - VERIFY3U(taskq_dispatch((taskq_t *)taskq, - (task_func_t *)vrele, vp, TQ_SLEEP), !=, 0); + VERIFY3U(taskq_dispatch((taskq_t *)taskq, vrele_task_runner, vp, + TQ_SLEEP), !=, 0); } From 676b7ef10439a82fc7bb4949bd0b0fdd8deab314 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Wed, 19 Mar 2025 14:48:47 -0400 Subject: [PATCH 31/51] Fix deadlock on I/O errors during device removal spa_vdev_remove_thread() should not hold svr_lock while loading a metaslab. It may block ZIO threads, required to handle metaslab loading, at least in case of read errors causing recovery writes. Reviewed-by: Tony Hutter Reviewed-by: Rob Norris Signed-off-by: Alexander Motin Sponsored by: iXsystems, Inc. Closes #17145 --- module/zfs/vdev_removal.c | 58 ++++++++++++++++++++++++++------------- 1 file changed, 39 insertions(+), 19 deletions(-) diff --git a/module/zfs/vdev_removal.c b/module/zfs/vdev_removal.c index 42ad560fcf4..90d25555d98 100644 --- a/module/zfs/vdev_removal.c +++ b/module/zfs/vdev_removal.c @@ -1621,6 +1621,9 @@ spa_vdev_remove_thread(void *arg) vca.vca_read_error_bytes = 0; vca.vca_write_error_bytes = 0; + zfs_range_tree_t *segs = zfs_range_tree_create(NULL, ZFS_RANGE_SEG64, + NULL, 0, 0); + mutex_enter(&svr->svr_lock); /* @@ -1633,7 +1636,9 @@ spa_vdev_remove_thread(void *arg) metaslab_t *msp = vd->vdev_ms[msi]; ASSERT3U(msi, <=, vd->vdev_ms_count); +again: ASSERT0(zfs_range_tree_space(svr->svr_allocd_segs)); + mutex_exit(&svr->svr_lock); mutex_enter(&msp->ms_sync_lock); mutex_enter(&msp->ms_lock); @@ -1646,36 +1651,49 @@ spa_vdev_remove_thread(void *arg) } /* - * If the metaslab has ever been allocated from (ms_sm!=NULL), + * If the metaslab has ever been synced (ms_sm != NULL), * read the allocated segments from the space map object * into svr_allocd_segs. Since we do this while holding - * svr_lock and ms_sync_lock, concurrent frees (which + * ms_lock and ms_sync_lock, concurrent frees (which * would have modified the space map) will wait for us * to finish loading the spacemap, and then take the * appropriate action (see free_from_removing_vdev()). */ - if (msp->ms_sm != NULL) { - VERIFY0(space_map_load(msp->ms_sm, - svr->svr_allocd_segs, SM_ALLOC)); + if (msp->ms_sm != NULL) + VERIFY0(space_map_load(msp->ms_sm, segs, SM_ALLOC)); - zfs_range_tree_walk(msp->ms_unflushed_allocs, - zfs_range_tree_add, svr->svr_allocd_segs); - zfs_range_tree_walk(msp->ms_unflushed_frees, - zfs_range_tree_remove, svr->svr_allocd_segs); - zfs_range_tree_walk(msp->ms_freeing, - zfs_range_tree_remove, svr->svr_allocd_segs); - - /* - * When we are resuming from a paused removal (i.e. - * when importing a pool with a removal in progress), - * discard any state that we have already processed. - */ - zfs_range_tree_clear(svr->svr_allocd_segs, 0, - start_offset); + /* + * We could not hold svr_lock while loading space map, or we + * could hit deadlock in a ZIO pipeline, having to wait for + * it. But we can not block for it here under metaslab locks, + * or it would be a lock ordering violation. + */ + if (!mutex_tryenter(&svr->svr_lock)) { + mutex_exit(&msp->ms_lock); + mutex_exit(&msp->ms_sync_lock); + zfs_range_tree_vacate(segs, NULL, NULL); + mutex_enter(&svr->svr_lock); + goto again; } + + zfs_range_tree_swap(&segs, &svr->svr_allocd_segs); + zfs_range_tree_walk(msp->ms_unflushed_allocs, + zfs_range_tree_add, svr->svr_allocd_segs); + zfs_range_tree_walk(msp->ms_unflushed_frees, + zfs_range_tree_remove, svr->svr_allocd_segs); + zfs_range_tree_walk(msp->ms_freeing, + zfs_range_tree_remove, svr->svr_allocd_segs); + mutex_exit(&msp->ms_lock); mutex_exit(&msp->ms_sync_lock); + /* + * When we are resuming from a paused removal (i.e. + * when importing a pool with a removal in progress), + * discard any state that we have already processed. + */ + zfs_range_tree_clear(svr->svr_allocd_segs, 0, start_offset); + vca.vca_msp = msp; zfs_dbgmsg("copying %llu segments for metaslab %llu", (u_longlong_t)zfs_btree_numnodes( @@ -1751,6 +1769,8 @@ spa_vdev_remove_thread(void *arg) spa_config_exit(spa, SCL_CONFIG, FTAG); + zfs_range_tree_destroy(segs); + /* * Wait for all copies to finish before cleaning up the vca. */ From 94b9cbbe1e6923ebafc1fb58c82ca0adc1e28b62 Mon Sep 17 00:00:00 2001 From: Brian Atkinson Date: Wed, 19 Mar 2025 16:37:49 -0400 Subject: [PATCH 32/51] Updating dio_read_verify ZTS test (#16830) There was a recent CI ZTS test failure on FreeBSD 14 for the dio_read_verify test case. The failure reported there was no ARC reads while the buffer wes being manipulated. All checksum verify errors for Direct I/O reads are rerouted through the ARC, so there should be ARC reads accounted for. In order to help debug any future failures of this test case, the order of checks has been changed. First there is a check for DIO verify failures for the reads and then ARC read counts are checked. This PR also contains general cleanup of the comments in the test script. Signed-off-by: Brian Atkinson Reviewed-by: Brian Behlendorf Reviewed-by: Alexander Motin --- .../functional/direct/dio_read_verify.ksh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/tests/zfs-tests/tests/functional/direct/dio_read_verify.ksh b/tests/zfs-tests/tests/functional/direct/dio_read_verify.ksh index 114d2946f9c..80642ed7561 100755 --- a/tests/zfs-tests/tests/functional/direct/dio_read_verify.ksh +++ b/tests/zfs-tests/tests/functional/direct/dio_read_verify.ksh @@ -57,8 +57,6 @@ log_must truncate -s $MINVDEVSIZE $DIO_VDEVS # while manipulating the buffer contents while the I/O is still in flight and # also that Direct I/O checksum verify failures and dio_verify_rd zevents are # reported. - - for type in "" "mirror" "raidz" "draid"; do typeset vdev_type=$type if [[ "${vdev_type}" == "" ]]; then @@ -83,25 +81,28 @@ for type in "" "mirror" "raidz" "draid"; do log_must manipulate_user_buffer -f "$mntpnt/direct-write.iso" \ -n $NUMBLOCKS -b $BS -r - # Getting new Direct I/O and ARC Write counts. + # Getting new Direct I/O and ARC read counts. curr_dio_rd=$(kstat_pool $TESTPOOL1 iostats.direct_read_count) curr_arc_rd=$(kstat_pool $TESTPOOL1 iostats.arc_read_count) total_dio_rd=$((curr_dio_rd - prev_dio_rd)) total_arc_rd=$((curr_arc_rd - prev_arc_rd)) - log_note "Making sure there are no checksum errors with the ZPool" - log_must check_pool_status $TESTPOOL "errors" "No known data errors" - - log_note "Making sure we have Direct I/O and ARC reads logged" + log_note "Making sure we have Direct I/O reads logged" if [[ $total_dio_rd -lt 1 ]]; then log_fail "No Direct I/O reads $total_dio_rd" fi + + log_note "Making sure we have Direct I/O read checksum verifies with ZPool" + check_dio_chksum_verify_failures "$TESTPOOL1" "$vdev_type" 1 "rd" + + log_note "Making sure we have ARC reads logged" if [[ $total_arc_rd -lt 1 ]]; then log_fail "No ARC reads $total_arc_rd" fi - log_note "Making sure we have Direct I/O write checksum verifies with ZPool" - check_dio_chksum_verify_failures "$TESTPOOL1" "$vdev_type" 1 "rd" + log_note "Making sure there are no checksum errors with the ZPool" + log_must check_pool_status $TESTPOOL "errors" "No known data errors" + destroy_pool $TESTPOOL1 done From 9250403ba68d4c9917acf071e40ea9d0bf2b531c Mon Sep 17 00:00:00 2001 From: Paul Dagnelie Date: Wed, 19 Mar 2025 15:58:29 -0700 Subject: [PATCH 33/51] Make ganging redundancy respect redundant_metadata property (#17073) The redundant_metadata setting in ZFS allows users to trade resilience for performance and space savings. This applies to all data and metadata blocks in zfs, with one exception: gang blocks. Gang blocks currently just take the copies property of the IO being ganged and, if it's 1, sets it to 2. This means that we always make at least two copies of a gang header, which is good for resilience. However, if the users care more about performance than resilience, their gang blocks will be even more of a penalty than usual. We add logic to calculate the number of gang headers copies directly, and store it as a separate IO property. This is stored in the IO properties and not calculated when we decide to gang because by that point we may not have easy access to the relevant information about what kind of block is being stored. We also check the redundant_metadata property when doing so, and use that to decide whether to store an extra copy of the gang headers, compared to the underlying blocks. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Signed-off-by: Paul Dagnelie Co-authored-by: Paul Dagnelie Reviewed-by: Alexander Motin Reviewed-by: Tony Hutter --- cmd/zdb/zdb.c | 12 +- include/sys/dbuf.h | 1 + include/sys/zio.h | 3 +- module/zfs/arc.c | 2 + module/zfs/dbuf.c | 4 +- module/zfs/dmu.c | 21 ++- module/zfs/dmu_recv.c | 3 + module/zfs/zio.c | 23 ++-- tests/runfiles/common.run | 4 + tests/zfs-tests/include/tunables.cfg | 1 + tests/zfs-tests/tests/Makefile.am | 4 + .../tests/functional/gang_blocks/cleanup.ksh | 31 +++++ .../functional/gang_blocks/gang_blocks.kshlib | 120 ++++++++++++++++++ .../gang_blocks/gang_blocks_redundant.ksh | 88 +++++++++++++ .../tests/functional/gang_blocks/setup.ksh | 30 +++++ 15 files changed, 327 insertions(+), 20 deletions(-) create mode 100755 tests/zfs-tests/tests/functional/gang_blocks/cleanup.ksh create mode 100644 tests/zfs-tests/tests/functional/gang_blocks/gang_blocks.kshlib create mode 100755 tests/zfs-tests/tests/functional/gang_blocks/gang_blocks_redundant.ksh create mode 100755 tests/zfs-tests/tests/functional/gang_blocks/setup.ksh diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index 1ca97d5c153..45eb9c78365 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -2545,12 +2545,14 @@ snprintf_blkptr_compact(char *blkbuf, size_t buflen, const blkptr_t *bp, blkbuf[0] = '\0'; - for (i = 0; i < ndvas; i++) + for (i = 0; i < ndvas; i++) { (void) snprintf(blkbuf + strlen(blkbuf), - buflen - strlen(blkbuf), "%llu:%llx:%llx ", + buflen - strlen(blkbuf), "%llu:%llx:%llx%s ", (u_longlong_t)DVA_GET_VDEV(&dva[i]), (u_longlong_t)DVA_GET_OFFSET(&dva[i]), - (u_longlong_t)DVA_GET_ASIZE(&dva[i])); + (u_longlong_t)DVA_GET_ASIZE(&dva[i]), + (DVA_GET_GANG(&dva[i]) ? "G" : "")); + } if (BP_IS_HOLE(bp)) { (void) snprintf(blkbuf + strlen(blkbuf), @@ -8981,7 +8983,7 @@ zdb_read_block(char *thing, spa_t *spa) DVA_SET_VDEV(&dva[0], vd->vdev_id); DVA_SET_OFFSET(&dva[0], offset); - DVA_SET_GANG(&dva[0], !!(flags & ZDB_FLAG_GBH)); + DVA_SET_GANG(&dva[0], 0); DVA_SET_ASIZE(&dva[0], vdev_psize_to_asize(vd, psize)); BP_SET_BIRTH(bp, TXG_INITIAL, TXG_INITIAL); @@ -8996,7 +8998,7 @@ zdb_read_block(char *thing, spa_t *spa) BP_SET_BYTEORDER(bp, ZFS_HOST_BYTEORDER); spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); - zio = zio_root(spa, NULL, NULL, 0); + zio = zio_root(spa, NULL, NULL, ZIO_FLAG_CANFAIL); if (vd == vd->vdev_top) { /* diff --git a/include/sys/dbuf.h b/include/sys/dbuf.h index 2e9b7edf869..285e02484c5 100644 --- a/include/sys/dbuf.h +++ b/include/sys/dbuf.h @@ -174,6 +174,7 @@ typedef struct dbuf_dirty_record { arc_buf_t *dr_data; override_states_t dr_override_state; uint8_t dr_copies; + uint8_t dr_gang_copies; boolean_t dr_nopwrite; boolean_t dr_brtwrite; boolean_t dr_diowrite; diff --git a/include/sys/zio.h b/include/sys/zio.h index af47d6f87a4..78adca4d7d0 100644 --- a/include/sys/zio.h +++ b/include/sys/zio.h @@ -350,6 +350,7 @@ typedef struct zio_prop { uint8_t zp_complevel; uint8_t zp_level; uint8_t zp_copies; + uint8_t zp_gang_copies; dmu_object_type_t zp_type; boolean_t zp_dedup; boolean_t zp_dedup_verify; @@ -575,7 +576,7 @@ extern zio_t *zio_rewrite(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, zio_priority_t priority, zio_flag_t flags, zbookmark_phys_t *zb); extern void zio_write_override(zio_t *zio, blkptr_t *bp, int copies, - boolean_t nopwrite, boolean_t brtwrite); + int gang_copies, boolean_t nopwrite, boolean_t brtwrite); extern void zio_free(spa_t *spa, uint64_t txg, const blkptr_t *bp); diff --git a/module/zfs/arc.c b/module/zfs/arc.c index e97d588b4de..d07a5f076a2 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -6887,6 +6887,8 @@ arc_write(zio_t *pio, spa_t *spa, uint64_t txg, localprop.zp_nopwrite = B_FALSE; localprop.zp_copies = MIN(localprop.zp_copies, SPA_DVAS_PER_BP - 1); + localprop.zp_gang_copies = + MIN(localprop.zp_gang_copies, SPA_DVAS_PER_BP - 1); } zio_flags |= ZIO_FLAG_RAW; } else if (ARC_BUF_COMPRESSED(buf)) { diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c index 01f92411bcb..0a243a24266 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -5352,8 +5352,8 @@ dbuf_write(dbuf_dirty_record_t *dr, arc_buf_t *data, dmu_tx_t *tx) mutex_enter(&db->db_mtx); dr->dt.dl.dr_override_state = DR_NOT_OVERRIDDEN; zio_write_override(dr->dr_zio, &dr->dt.dl.dr_overridden_by, - dr->dt.dl.dr_copies, dr->dt.dl.dr_nopwrite, - dr->dt.dl.dr_brtwrite); + dr->dt.dl.dr_copies, dr->dt.dl.dr_gang_copies, + dr->dt.dl.dr_nopwrite, dr->dt.dl.dr_brtwrite); mutex_exit(&db->db_mtx); } else if (data == NULL) { ASSERT(zp.zp_checksum == ZIO_CHECKSUM_OFF || diff --git a/module/zfs/dmu.c b/module/zfs/dmu.c index bddb90f295a..2b52ae139ba 100644 --- a/module/zfs/dmu.c +++ b/module/zfs/dmu.c @@ -1916,6 +1916,7 @@ dmu_sync_done(zio_t *zio, arc_buf_t *buf, void *varg) dr->dt.dl.dr_overridden_by = *zio->io_bp; dr->dt.dl.dr_override_state = DR_OVERRIDDEN; dr->dt.dl.dr_copies = zio->io_prop.zp_copies; + dr->dt.dl.dr_gang_copies = zio->io_prop.zp_gang_copies; /* * Old style holes are filled with all zeros, whereas @@ -2322,6 +2323,7 @@ dmu_write_policy(objset_t *os, dnode_t *dn, int level, int wp, zio_prop_t *zp) boolean_t dedup_verify = os->os_dedup_verify; boolean_t encrypt = B_FALSE; int copies = os->os_copies; + int gang_copies = os->os_copies; /* * We maintain different write policies for each of the following @@ -2354,15 +2356,24 @@ dmu_write_policy(objset_t *os, dnode_t *dn, int level, int wp, zio_prop_t *zp) switch (os->os_redundant_metadata) { case ZFS_REDUNDANT_METADATA_ALL: copies++; + gang_copies++; break; case ZFS_REDUNDANT_METADATA_MOST: if (level >= zfs_redundant_metadata_most_ditto_level || DMU_OT_IS_METADATA(type) || (wp & WP_SPILL)) copies++; + if (level + 1 >= + zfs_redundant_metadata_most_ditto_level || + DMU_OT_IS_METADATA(type) || (wp & WP_SPILL)) + gang_copies++; break; case ZFS_REDUNDANT_METADATA_SOME: - if (DMU_OT_IS_CRITICAL(type)) + if (DMU_OT_IS_CRITICAL(type)) { copies++; + gang_copies++; + } else if (DMU_OT_IS_METADATA(type)) { + gang_copies++; + } break; case ZFS_REDUNDANT_METADATA_NONE: break; @@ -2436,6 +2447,12 @@ dmu_write_policy(objset_t *os, dnode_t *dn, int level, int wp, zio_prop_t *zp) nopwrite = (!dedup && (zio_checksum_table[checksum].ci_flags & ZCHECKSUM_FLAG_NOPWRITE) && compress != ZIO_COMPRESS_OFF && zfs_nopwrite_enabled); + + if (os->os_redundant_metadata == ZFS_REDUNDANT_METADATA_ALL || + (os->os_redundant_metadata == + ZFS_REDUNDANT_METADATA_MOST && + zfs_redundant_metadata_most_ditto_level <= 1)) + gang_copies++; } /* @@ -2452,6 +2469,7 @@ dmu_write_policy(objset_t *os, dnode_t *dn, int level, int wp, zio_prop_t *zp) if (DMU_OT_IS_ENCRYPTED(type)) { copies = MIN(copies, SPA_DVAS_PER_BP - 1); + gang_copies = MIN(gang_copies, SPA_DVAS_PER_BP - 1); nopwrite = B_FALSE; } else { dedup = B_FALSE; @@ -2469,6 +2487,7 @@ dmu_write_policy(objset_t *os, dnode_t *dn, int level, int wp, zio_prop_t *zp) zp->zp_type = (wp & WP_SPILL) ? dn->dn_bonustype : type; zp->zp_level = level; zp->zp_copies = MIN(copies, spa_max_replication(os->os_spa)); + zp->zp_gang_copies = MIN(gang_copies, spa_max_replication(os->os_spa)); zp->zp_dedup = dedup; zp->zp_dedup_verify = dedup && dedup_verify; zp->zp_nopwrite = nopwrite; diff --git a/module/zfs/dmu_recv.c b/module/zfs/dmu_recv.c index 91e3ca1cf27..a636ae73bbd 100644 --- a/module/zfs/dmu_recv.c +++ b/module/zfs/dmu_recv.c @@ -2300,6 +2300,9 @@ flush_write_batch_impl(struct receive_writer_arg *rwa) zp.zp_nopwrite = B_FALSE; zp.zp_copies = MIN(zp.zp_copies, SPA_DVAS_PER_BP - 1); + zp.zp_gang_copies = + MIN(zp.zp_gang_copies, + SPA_DVAS_PER_BP - 1); } zio_flags |= ZIO_FLAG_RAW; } else if (DRR_WRITE_COMPRESSED(drrw)) { diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 50dbafa0917..63f57cf2630 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -1415,8 +1415,8 @@ zio_rewrite(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, abd_t *data, } void -zio_write_override(zio_t *zio, blkptr_t *bp, int copies, boolean_t nopwrite, - boolean_t brtwrite) +zio_write_override(zio_t *zio, blkptr_t *bp, int copies, int gang_copies, + boolean_t nopwrite, boolean_t brtwrite) { ASSERT(zio->io_type == ZIO_TYPE_WRITE); ASSERT(zio->io_child_type == ZIO_CHILD_LOGICAL); @@ -1433,6 +1433,7 @@ zio_write_override(zio_t *zio, blkptr_t *bp, int copies, boolean_t nopwrite, zio->io_prop.zp_nopwrite = nopwrite; zio->io_prop.zp_brtwrite = brtwrite; zio->io_prop.zp_copies = copies; + zio->io_prop.zp_gang_copies = gang_copies; zio->io_bp_override = bp; } @@ -3140,15 +3141,13 @@ zio_write_gang_block(zio_t *pio, metaslab_class_t *mc) boolean_t has_data = !(pio->io_flags & ZIO_FLAG_NODATA); /* - * If one copy was requested, store 2 copies of the GBH, so that we - * can still traverse all the data (e.g. to free or scrub) even if a - * block is damaged. Note that we can't store 3 copies of the GBH in - * all cases, e.g. with encryption, which uses DVA[2] for the IV+salt. + * Store multiple copies of the GBH, so that we can still traverse + * all the data (e.g. to free or scrub) even if a block is damaged. + * This value respects the redundant_metadata property. */ - int gbh_copies = copies; - if (gbh_copies == 1) { - gbh_copies = MIN(2, spa_max_replication(spa)); - } + int gbh_copies = gio->io_prop.zp_gang_copies; + ASSERT3S(gbh_copies, >, 0); + ASSERT3S(gbh_copies, <=, SPA_DVAS_PER_BP); ASSERT(ZIO_HAS_ALLOCATOR(pio)); int flags = METASLAB_HINTBP_FAVOR | METASLAB_GANG_HEADER; @@ -3168,6 +3167,7 @@ zio_write_gang_block(zio_t *pio, metaslab_class_t *mc) * since metaslab_class_throttle_reserve() always allows * additional reservations for gang blocks. */ + ASSERT3U(gbh_copies, >=, copies); VERIFY(metaslab_class_throttle_reserve(mc, gbh_copies - copies, pio->io_allocator, pio, flags)); } @@ -3230,6 +3230,7 @@ zio_write_gang_block(zio_t *pio, metaslab_class_t *mc) zp.zp_type = zp.zp_storage_type = DMU_OT_NONE; zp.zp_level = 0; zp.zp_copies = gio->io_prop.zp_copies; + zp.zp_gang_copies = gio->io_prop.zp_gang_copies; zp.zp_dedup = B_FALSE; zp.zp_dedup_verify = B_FALSE; zp.zp_nopwrite = B_FALSE; @@ -3950,7 +3951,7 @@ zio_ddt_write(zio_t *zio) * grow the DDT entry by to satisfy the request. */ zio_prop_t czp = *zp; - czp.zp_copies = need_dvas; + czp.zp_copies = czp.zp_gang_copies = need_dvas; zio_t *cio = zio_write(zio, spa, txg, bp, zio->io_orig_abd, zio->io_orig_size, zio->io_orig_size, &czp, zio_ddt_child_write_ready, NULL, diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run index 70b35e30ecb..1f8aca0d9e1 100644 --- a/tests/runfiles/common.run +++ b/tests/runfiles/common.run @@ -724,6 +724,10 @@ tests = ['large_dnode_001_pos', 'large_dnode_003_pos', 'large_dnode_004_neg', 'large_dnode_005_pos', 'large_dnode_007_neg', 'large_dnode_009_pos'] tags = ['functional', 'features', 'large_dnode'] +[tests/functional/gang_blocks] +tests = ['gang_blocks_redundant'] +tags = ['functional', 'gang_blocks'] + [tests/functional/grow] pre = post = diff --git a/tests/zfs-tests/include/tunables.cfg b/tests/zfs-tests/include/tunables.cfg index 0a546dd4455..79dc64ad935 100644 --- a/tests/zfs-tests/include/tunables.cfg +++ b/tests/zfs-tests/include/tunables.cfg @@ -64,6 +64,7 @@ MAX_DATASET_NESTING max_dataset_nesting zfs_max_dataset_nesting MAX_MISSING_TVDS max_missing_tvds zfs_max_missing_tvds METASLAB_DEBUG_LOAD metaslab.debug_load metaslab_debug_load METASLAB_FORCE_GANGING metaslab.force_ganging metaslab_force_ganging +METASLAB_FORCE_GANGING_PCT metaslab.force_ganging_pct metaslab_force_ganging_pct MULTIHOST_FAIL_INTERVALS multihost.fail_intervals zfs_multihost_fail_intervals MULTIHOST_HISTORY multihost.history zfs_multihost_history MULTIHOST_IMPORT_INTERVALS multihost.import_intervals zfs_multihost_import_intervals diff --git a/tests/zfs-tests/tests/Makefile.am b/tests/zfs-tests/tests/Makefile.am index 0942082cf97..bce546d066f 100644 --- a/tests/zfs-tests/tests/Makefile.am +++ b/tests/zfs-tests/tests/Makefile.am @@ -275,6 +275,7 @@ nobase_dist_datadir_zfs_tests_tests_DATA += \ functional/events/events.cfg \ functional/events/events_common.kshlib \ functional/fault/fault.cfg \ + functional/gang_blocks/gang_blocks.kshlib \ functional/grow/grow.cfg \ functional/history/history.cfg \ functional/history/history_common.kshlib \ @@ -1558,6 +1559,9 @@ nobase_dist_datadir_zfs_tests_tests_SCRIPTS += \ functional/features/large_dnode/large_dnode_008_pos.ksh \ functional/features/large_dnode/large_dnode_009_pos.ksh \ functional/features/large_dnode/setup.ksh \ + functional/gang_blocks/cleanup.ksh \ + functional/gang_blocks/gang_blocks_redundant.ksh \ + functional/gang_blocks/setup.ksh \ functional/grow/grow_pool_001_pos.ksh \ functional/grow/grow_replicas_001_pos.ksh \ functional/history/cleanup.ksh \ diff --git a/tests/zfs-tests/tests/functional/gang_blocks/cleanup.ksh b/tests/zfs-tests/tests/functional/gang_blocks/cleanup.ksh new file mode 100755 index 00000000000..4ae6ec16fae --- /dev/null +++ b/tests/zfs-tests/tests/functional/gang_blocks/cleanup.ksh @@ -0,0 +1,31 @@ +#!/bin/ksh -p +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or https://opensource.org/licenses/CDDL-1.0. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# + +# +# Copyright (c) 2025 by Klara Inc. +# + +. $STF_SUITE/include/libtest.shlib + +restore_tunable METASLAB_FORCE_GANGING +restore_tunable METASLAB_FORCE_GANGING_PCT +default_cleanup diff --git a/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks.kshlib b/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks.kshlib new file mode 100644 index 00000000000..8799a1436c5 --- /dev/null +++ b/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks.kshlib @@ -0,0 +1,120 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or https://opensource.org/licenses/CDDL-1.0. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# + +# +# Copyright (c) 2025 By Klara Inc. +# + +. $STF_SUITE/include/libtest.shlib + +# +# Get 0th DVA of first L0 block of file +# +# $1 filesystem +# $2 object number +# +function get_object_info +{ + typeset fs=$1 + typeset obj=$2 + + zdb -dddddd $fs $obj +} + +# +# $1 filesystem +# $2 path to file +# $3 block filter +# +function get_blocks_filter +{ + typeset fs=$1 + typeset path=$2 + + typeset full_path="$(get_prop mountpoint $fs)/$path" + typeset obj="$(ls -i $full_path | awk '{print $1}')" + + get_object_info $fs $obj | grep $3 | grep -v Dataset +} + +function get_first_block +{ + get_blocks_filter $1 $2 L0 | head -n 1 +} + +function get_first_block_dva +{ + get_first_block $1 $2 | sed 's/.*L0 \([^ ]*\).*/\1/' +} + +# Takes a zdb compressed blkptr line on stdin +function get_num_dvas +{ + sed 's/.*L[0-9] \(.*\) [a-f0-9]*L.*/\1/' | awk '{print NF}' +} + +function check_gang_dva +{ + typeset last_byte="$(echo -n $1 | tail -c 1)" + [[ "$last_byte" == "G" ]] || return 1 + return 0 +} + +function check_is_gang_dva +{ + check_gang_dva $1 || log_fail "Not a gang DVA: \"$1\"" +} + +function check_not_gang_dva +{ + check_gang_dva $1 && log_fail "Gang DVA: \"$1\"" +} + +# +# Get the gang header contents of the given dva in the given pool +# +# $1 pool +# $2 dva +# $3 size (in hexidecimal) +# +function read_gang_header +{ + typeset pool=$1 + typeset dva=$2 + typeset size=$3 + + check_is_gang_dva $dva + + zdb -R $pool "${dva%:*}:$size:g" 2>&1 | grep -v "Found vdev:" +} + +function preamble +{ + save_tunable METASLAB_FORCE_GANGING + save_tunable METASLAB_FORCE_GANGING_PCT +} + +function cleanup +{ + destroy_pool $TESTPOOL + restore_tunable METASLAB_FORCE_GANGING + restore_tunable METASLAB_FORCE_GANGING_PCT +} diff --git a/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks_redundant.ksh b/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks_redundant.ksh new file mode 100755 index 00000000000..1c44a7c5e59 --- /dev/null +++ b/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks_redundant.ksh @@ -0,0 +1,88 @@ +#!/bin/ksh +# +# This file and its contents are supplied under the terms of the +# Common Development and Distribution License ("CDDL"), version 1.0. +# You may only use this file in accordance with the terms of version +# 1.0 of the CDDL. +# +# A full copy of the text of the CDDL should have accompanied this +# source. A copy of the CDDL is also available via the Internet at +# http://www.illumos.org/license/CDDL. +# + +# +# Copyright (c) 2025 by Klara Inc. +# + +# +# Description: +# Verify that the redundant_metadata setting is respected by gang headers +# +# Strategy: +# 1. Create a filesystem with redundant_metadata={all,most,some,none} +# 2. Verify that gang blocks at different levels have the right amount of redundancy +# + +. $STF_SUITE/include/libtest.shlib +. $STF_SUITE/tests/functional/gang_blocks/gang_blocks.kshlib + +log_assert "Verify that gang blocks at different levels have the right amount of redundancy." + +function cleanup2 +{ + for red in all most some none; do zfs destroy $TESTPOOL/$TESTFS-$red; done + cleanup +} + +preamble +log_onexit cleanup2 + +log_must zpool create -f -o ashift=9 $TESTPOOL $DISKS +set_tunable64 METASLAB_FORCE_GANGING 1500 +set_tunable32 METASLAB_FORCE_GANGING_PCT 100 +for red in all most some none; do + log_must zfs create -o redundant_metadata=$red -o recordsize=512 \ + $TESTPOOL/$TESTFS-$red + if [[ "$red" == "all" ]]; then + log_must zfs set recordsize=8k $TESTPOOL/$TESTFS-$red + fi + mountpoint=$(get_prop mountpoint $TESTPOOL/$TESTFS-$red) + + path="${mountpoint}/file" + log_must dd if=/dev/urandom of=$path bs=1M count=1 + log_must zpool sync $TESTPOOL + num_l0_dvas=$(get_first_block $TESTPOOL/$TESTFS-$red file | get_num_dvas) + if [[ "$red" == "all" ]]; then + [[ "$num_l0_dvas" -eq 2 ]] || \ + log_fail "wrong number of DVAs for L0 in $red: $num_l0_dvas" + else + [[ "$num_l0_dvas" -eq 1 ]] || \ + log_fail "wrong number of DVAs for L0 in $red: $num_l0_dvas" + fi + + num_l1_dvas=$(get_blocks_filter $TESTPOOL/$TESTFS-$red file L1 | head -n 1 | get_num_dvas) + if [[ "$red" == "all" || "$red" == "most" ]]; then + [[ "$num_l1_dvas" -eq 2 ]] || \ + log_fail "wrong number of DVAs for L1 in $red: $num_l1_dvas" + else + [[ "$num_l1_dvas" -eq 1 ]] || \ + log_fail "wrong number of DVAs for L1 in $red: $num_l1_dvas" + fi + + for i in `seq 1 80`; do + dd if=/dev/urandom of=/$mountpoint/f$i bs=512 count=1 2>/dev/null || log_fail "dd failed" + done + log_must zpool sync $TESTPOOL + obj_0_gangs=$(get_object_info $TESTPOOL/$TESTFS-$red 0 L0 | grep G) + num_obj_0_dvas=$(echo "$obj_0_gangs" | head -n 1 | get_num_dvas) + if [[ "$red" != "none" ]]; then + [[ "$num_obj_0_dvas" -eq 2 ]] || \ + log_fail "wrong number of DVAs for obj 0 in $red: $num_obj_0_dvas" + else + [[ "$num_obj_0_dvas" -eq 1 ]] || \ + log_fail "wrong number of DVAs for obj 0 in $red: $num_obj_0_dvas" + fi + log_note "Level $red passed" +done + +log_pass "Gang blocks at different levels have the right amount of redundancy." diff --git a/tests/zfs-tests/tests/functional/gang_blocks/setup.ksh b/tests/zfs-tests/tests/functional/gang_blocks/setup.ksh new file mode 100755 index 00000000000..0d2b239a069 --- /dev/null +++ b/tests/zfs-tests/tests/functional/gang_blocks/setup.ksh @@ -0,0 +1,30 @@ +#!/bin/ksh -p +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or https://opensource.org/licenses/CDDL-1.0. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# + +# +# Copyright (c) 2025 by Klara Inc. +# + +. $STF_SUITE/include/libtest.shlib + +set_tunable64 METASLAB_FORCE_GANGING 16777217 +set_tunable32 METASLAB_FORCE_GANGING_PCT 0 From 5b5a514955fdd0bcf745c0267299ed6136033ae7 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Fri, 21 Mar 2025 03:01:11 +1100 Subject: [PATCH 34/51] zts: add spdx license tags to gang_blocks tests (#17160) Missed in #17073, probably because that PR was branched before #17001 was landed and never rebased. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Signed-off-by: Rob Norris Reviewed-by: Alexander Motin Reviewed-by: Tony Hutter --- tests/zfs-tests/tests/functional/gang_blocks/cleanup.ksh | 1 + tests/zfs-tests/tests/functional/gang_blocks/gang_blocks.kshlib | 1 + .../tests/functional/gang_blocks/gang_blocks_redundant.ksh | 1 + tests/zfs-tests/tests/functional/gang_blocks/setup.ksh | 1 + 4 files changed, 4 insertions(+) diff --git a/tests/zfs-tests/tests/functional/gang_blocks/cleanup.ksh b/tests/zfs-tests/tests/functional/gang_blocks/cleanup.ksh index 4ae6ec16fae..92a1d1aabb6 100755 --- a/tests/zfs-tests/tests/functional/gang_blocks/cleanup.ksh +++ b/tests/zfs-tests/tests/functional/gang_blocks/cleanup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks.kshlib b/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks.kshlib index 8799a1436c5..553533377aa 100644 --- a/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks.kshlib +++ b/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks.kshlib @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # diff --git a/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks_redundant.ksh b/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks_redundant.ksh index 1c44a7c5e59..504d6aa47e2 100755 --- a/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks_redundant.ksh +++ b/tests/zfs-tests/tests/functional/gang_blocks/gang_blocks_redundant.ksh @@ -1,4 +1,5 @@ #!/bin/ksh +# SPDX-License-Identifier: CDDL-1.0 # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. diff --git a/tests/zfs-tests/tests/functional/gang_blocks/setup.ksh b/tests/zfs-tests/tests/functional/gang_blocks/setup.ksh index 0d2b239a069..05bfb04709f 100755 --- a/tests/zfs-tests/tests/functional/gang_blocks/setup.ksh +++ b/tests/zfs-tests/tests/functional/gang_blocks/setup.ksh @@ -1,4 +1,5 @@ #!/bin/ksh -p +# SPDX-License-Identifier: CDDL-1.0 # # CDDL HEADER START # From d28d2e30079c1f453f9b9bf1bba876fe914ec901 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Mon, 29 Apr 2024 15:26:56 +1000 Subject: [PATCH 35/51] linux/kstat: allow multi-level module names Module names are mapped directly to directory names in procfs, but nothing is done to create the intermediate directories, or remove them. This makes it impossible to sensibly present kstats about sub-objects. This commit loops through '/'-separated names in the full module name, creates a separate module for each, and hooks them up with a parent pointer and child counter, and then unrolls this on the other side when deleting a module. Sponsored-by: Klara, Inc. Sponsored-by: Syneto Signed-off-by: Rob Norris Reviewed-by: Alexander Motin Reviewed-by: Tony Hutter --- include/os/linux/spl/sys/kstat.h | 6 ++ module/os/linux/spl/spl-kstat.c | 106 +++++++++++++++++++++++-------- 2 files changed, 87 insertions(+), 25 deletions(-) diff --git a/include/os/linux/spl/sys/kstat.h b/include/os/linux/spl/sys/kstat.h index a9e9f188064..be58b455f9b 100644 --- a/include/os/linux/spl/sys/kstat.h +++ b/include/os/linux/spl/sys/kstat.h @@ -21,6 +21,10 @@ * You should have received a copy of the GNU General Public License along * with the SPL. If not, see . */ +/* + * Copyright (c) 2024-2025, Klara, Inc. + * Copyright (c) 2024-2025, Syneto + */ #ifndef _SPL_KSTAT_H #define _SPL_KSTAT_H @@ -90,6 +94,8 @@ typedef struct kstat_module { struct list_head ksm_module_list; /* module linkage */ struct list_head ksm_kstat_list; /* list of kstat entries */ struct proc_dir_entry *ksm_proc; /* proc entry */ + struct kstat_module *ksm_parent; /* parent module in hierarchy */ + uint_t ksm_nchildren; /* number of child modules */ } kstat_module_t; typedef struct kstat_raw_ops { diff --git a/module/os/linux/spl/spl-kstat.c b/module/os/linux/spl/spl-kstat.c index 04578204a31..0a612575511 100644 --- a/module/os/linux/spl/spl-kstat.c +++ b/module/os/linux/spl/spl-kstat.c @@ -27,6 +27,10 @@ * [1] https://illumos.org/man/1M/kstat * [2] https://illumos.org/man/9f/kstat_create */ +/* + * Copyright (c) 2024-2025, Klara, Inc. + * Copyright (c) 2024-2025, Syneto + */ #include #include @@ -370,6 +374,8 @@ static const struct seq_operations kstat_seq_ops = { static kstat_module_t * kstat_find_module(char *name) { + ASSERT(MUTEX_HELD(&kstat_module_lock)); + kstat_module_t *module = NULL; list_for_each_entry(module, &kstat_module_list, ksm_module_list) { @@ -380,33 +386,75 @@ kstat_find_module(char *name) return (NULL); } -static kstat_module_t * -kstat_create_module(char *name) -{ - kstat_module_t *module; - struct proc_dir_entry *pde; - - pde = proc_mkdir(name, proc_spl_kstat); - if (pde == NULL) - return (NULL); - - module = kmem_alloc(sizeof (kstat_module_t), KM_SLEEP); - module->ksm_proc = pde; - strlcpy(module->ksm_name, name, KSTAT_STRLEN); - INIT_LIST_HEAD(&module->ksm_kstat_list); - list_add_tail(&module->ksm_module_list, &kstat_module_list); - - return (module); - -} - static void kstat_delete_module(kstat_module_t *module) { + ASSERT(MUTEX_HELD(&kstat_module_lock)); ASSERT(list_empty(&module->ksm_kstat_list)); - remove_proc_entry(module->ksm_name, proc_spl_kstat); + ASSERT0(module->ksm_nchildren); + + kstat_module_t *parent = module->ksm_parent; + + char *p = module->ksm_name, *frag; + while (p != NULL && (frag = strsep(&p, "/"))) {} + + remove_proc_entry(frag, parent ? parent->ksm_proc : proc_spl_kstat); list_del(&module->ksm_module_list); kmem_free(module, sizeof (kstat_module_t)); + + if (parent) { + parent->ksm_nchildren--; + if (parent->ksm_nchildren == 0 && + list_empty(&parent->ksm_kstat_list)) + kstat_delete_module(parent); + } +} + +static kstat_module_t * +kstat_create_module(char *name) +{ + ASSERT(MUTEX_HELD(&kstat_module_lock)); + + char buf[KSTAT_STRLEN]; + kstat_module_t *module, *parent; + + (void) strlcpy(buf, name, KSTAT_STRLEN); + + parent = NULL; + char *p = buf, *frag; + while ((frag = strsep(&p, "/")) != NULL) { + module = kstat_find_module(buf); + if (module == NULL) { + struct proc_dir_entry *pde = proc_mkdir(frag, + parent ? parent->ksm_proc : proc_spl_kstat); + if (pde == NULL) { + cmn_err(CE_WARN, "kstat_create('%s'): " + "module dir create failed", buf); + if (parent) + kstat_delete_module(parent); + return (NULL); + } + + module = kmem_zalloc(sizeof (kstat_module_t), KM_SLEEP); + module->ksm_proc = pde; + strlcpy(module->ksm_name, buf, KSTAT_STRLEN); + INIT_LIST_HEAD(&module->ksm_kstat_list); + list_add_tail(&module->ksm_module_list, + &kstat_module_list); + + if (parent != NULL) { + module->ksm_parent = parent; + parent->ksm_nchildren++; + } + } + + parent = module; + if (p != NULL) + p[-1] = '/'; + } + + return (module); + } static int @@ -625,12 +673,20 @@ kstat_proc_entry_install(kstat_proc_entry_t *kpep, mode_t mode, } /* - * Only one entry by this name per-module, on failure the module - * shouldn't be deleted because we know it has at least one entry. + * We can only have one entry of this name per module. If one already + * exists, replace it by first removing the proc entry, then removing + * it from the list. The kstat itself lives on; it just can't be + * inspected through the filesystem. */ list_for_each_entry(tmp, &module->ksm_kstat_list, kpe_list) { - if (strncmp(tmp->kpe_name, kpep->kpe_name, KSTAT_STRLEN) == 0) - goto out; + if (tmp->kpe_proc != NULL && + strncmp(tmp->kpe_name, kpep->kpe_name, KSTAT_STRLEN) == 0) { + ASSERT3P(tmp->kpe_owner, ==, module); + remove_proc_entry(tmp->kpe_name, module->ksm_proc); + tmp->kpe_proc = NULL; + list_del_init(&tmp->kpe_list); + break; + } } list_add_tail(&kpep->kpe_list, &module->ksm_kstat_list); From 45e9b54e9ec5432e150dd0740fb7a3ce50f5049d Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Thu, 16 May 2024 14:58:15 +1000 Subject: [PATCH 36/51] freebsd/kstat: allow multi-level module names This extends the existing special-case for zfs/poolname to split and create any number of intermediate sysctl names, so that multi-level module names are possible. Sponsored-by: Klara, Inc. Sponsored-by: Syneto Signed-off-by: Rob Norris Reviewed-by: Alexander Motin Reviewed-by: Tony Hutter --- module/os/freebsd/spl/spl_kstat.c | 87 ++++++++++++++++--------------- 1 file changed, 45 insertions(+), 42 deletions(-) diff --git a/module/os/freebsd/spl/spl_kstat.c b/module/os/freebsd/spl/spl_kstat.c index 1fb294b3709..1af1e0a3846 100644 --- a/module/os/freebsd/spl/spl_kstat.c +++ b/module/os/freebsd/spl/spl_kstat.c @@ -28,6 +28,10 @@ * [1] https://illumos.org/man/1M/kstat * [2] https://illumos.org/man/9f/kstat_create */ +/* + * Copyright (c) 2024-2025, Klara, Inc. + * Copyright (c) 2024-2025, Syneto + */ #include #include @@ -288,7 +292,7 @@ __kstat_create(const char *module, int instance, const char *name, char buf[KSTAT_STRLEN]; struct sysctl_oid *root; kstat_t *ksp; - char *pool; + char *p, *frag; KASSERT(instance == 0, ("instance=%d", instance)); if ((ks_type == KSTAT_TYPE_INTR) || (ks_type == KSTAT_TYPE_IO)) @@ -346,74 +350,54 @@ __kstat_create(const char *module, int instance, const char *name, else ksp->ks_data = kmem_zalloc(ksp->ks_data_size, KM_SLEEP); - /* - * Some kstats use a module name like "zfs/poolname" to distinguish a - * set of kstats belonging to a specific pool. Split on '/' to add an - * extra node for the pool name if needed. - */ + sysctl_ctx_init(&ksp->ks_sysctl_ctx); + (void) strlcpy(buf, module, KSTAT_STRLEN); - module = buf; - pool = strchr(module, '/'); - if (pool != NULL) - *pool++ = '\0'; /* - * Create sysctl tree for those statistics: - * - * kstat.[.].. + * Walk over the module name, splitting on '/', and create the + * intermediate nodes. */ - sysctl_ctx_init(&ksp->ks_sysctl_ctx); - root = SYSCTL_ADD_NODE(&ksp->ks_sysctl_ctx, - SYSCTL_STATIC_CHILDREN(_kstat), OID_AUTO, module, CTLFLAG_RW, 0, - ""); - if (root == NULL) { - printf("%s: Cannot create kstat.%s tree!\n", __func__, module); - sysctl_ctx_free(&ksp->ks_sysctl_ctx); - free(ksp, M_KSTAT); - return (NULL); - } - if (pool != NULL) { - root = SYSCTL_ADD_NODE(&ksp->ks_sysctl_ctx, - SYSCTL_CHILDREN(root), OID_AUTO, pool, CTLFLAG_RW, 0, ""); + root = NULL; + p = buf; + while ((frag = strsep(&p, "/")) != NULL) { + root = SYSCTL_ADD_NODE(&ksp->ks_sysctl_ctx, root ? + SYSCTL_CHILDREN(root) : SYSCTL_STATIC_CHILDREN(_kstat), + OID_AUTO, frag, CTLFLAG_RW, 0, ""); if (root == NULL) { - printf("%s: Cannot create kstat.%s.%s tree!\n", - __func__, module, pool); + printf("%s: Cannot create kstat.%s tree!\n", + __func__, buf); sysctl_ctx_free(&ksp->ks_sysctl_ctx); free(ksp, M_KSTAT); return (NULL); } + if (p != NULL) + p[-1] = '.'; } + root = SYSCTL_ADD_NODE(&ksp->ks_sysctl_ctx, SYSCTL_CHILDREN(root), OID_AUTO, class, CTLFLAG_RW, 0, ""); if (root == NULL) { - if (pool != NULL) - printf("%s: Cannot create kstat.%s.%s.%s tree!\n", - __func__, module, pool, class); - else - printf("%s: Cannot create kstat.%s.%s tree!\n", - __func__, module, class); + printf("%s: Cannot create kstat.%s.%s tree!\n", + __func__, buf, class); sysctl_ctx_free(&ksp->ks_sysctl_ctx); free(ksp, M_KSTAT); return (NULL); } + if (ksp->ks_type == KSTAT_TYPE_NAMED) { root = SYSCTL_ADD_NODE(&ksp->ks_sysctl_ctx, SYSCTL_CHILDREN(root), OID_AUTO, name, CTLFLAG_RW, 0, ""); if (root == NULL) { - if (pool != NULL) - printf("%s: Cannot create kstat.%s.%s.%s.%s " - "tree!\n", __func__, module, pool, class, - name); - else - printf("%s: Cannot create kstat.%s.%s.%s " - "tree!\n", __func__, module, class, name); + printf("%s: Cannot create kstat.%s.%s.%s tree!\n", + __func__, buf, class, name); sysctl_ctx_free(&ksp->ks_sysctl_ctx); free(ksp, M_KSTAT); return (NULL); } - } + ksp->ks_sysctl_root = root; return (ksp); @@ -437,7 +421,26 @@ kstat_install_named(kstat_t *ksp) if (ksent->data_type != 0) { typelast = ksent->data_type; namelast = ksent->name; + + /* + * If a sysctl with this name already exists on this on + * this root, first remove it by deleting it from its + * old context, and then destroying it. + */ + struct sysctl_oid *oid = NULL; + SYSCTL_FOREACH(oid, + SYSCTL_CHILDREN(ksp->ks_sysctl_root)) { + if (strcmp(oid->oid_name, namelast) == 0) { + kstat_t *oldksp = + (kstat_t *)oid->oid_arg1; + sysctl_ctx_entry_del( + &oldksp->ks_sysctl_ctx, oid); + sysctl_remove_oid(oid, 1, 0); + break; + } + } } + switch (typelast) { case KSTAT_DATA_CHAR: /* Not Implemented */ From 3862ebbf1fe1f8755f9956a8eaecaefc428c8f31 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Thu, 20 Mar 2025 20:10:32 -0400 Subject: [PATCH 37/51] CI: Remove FreeBSD 13.3 and 14.1 tests (#17162) They are out of support and we are really low on CI resources. Signed-off-by: Alexander Motin Sponsored by: iXsystems, Inc. Reviewed-by: Tony Hutter Reviewed-by: Alexander Motin Reviewed-by: George Melikov --- .github/workflows/scripts/qemu-2-start.sh | 13 ------------- .github/workflows/zfs-qemu.yml | 6 +++--- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/scripts/qemu-2-start.sh b/.github/workflows/scripts/qemu-2-start.sh index 7fd99b609c9..bd2aa5dc157 100755 --- a/.github/workflows/scripts/qemu-2-start.sh +++ b/.github/workflows/scripts/qemu-2-start.sh @@ -68,13 +68,6 @@ case "$OS" in OSv="fedora-unknown" URL="https://download.fedoraproject.org/pub/fedora/linux/releases/41/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-41-1.4.x86_64.qcow2" ;; - freebsd13-3r) - OSNAME="FreeBSD 13.3-RELEASE" - OSv="freebsd13.0" - URLzs="$FREEBSD/amd64-freebsd-13.3-RELEASE.qcow2.zst" - BASH="/usr/local/bin/bash" - NIC="rtl8139" - ;; freebsd13-4r) OSNAME="FreeBSD 13.4-RELEASE" OSv="freebsd13.0" @@ -82,12 +75,6 @@ case "$OS" in BASH="/usr/local/bin/bash" NIC="rtl8139" ;; - freebsd14-1r) - OSNAME="FreeBSD 14.1-RELEASE" - OSv="freebsd14.0" - URLzs="$FREEBSD/amd64-freebsd-14.1-RELEASE.qcow2.zst" - BASH="/usr/local/bin/bash" - ;; freebsd14-2r) OSNAME="FreeBSD 14.2-RELEASE" OSv="freebsd14.0" diff --git a/.github/workflows/zfs-qemu.yml b/.github/workflows/zfs-qemu.yml index cf466bcf1aa..a0939dd8c2a 100644 --- a/.github/workflows/zfs-qemu.yml +++ b/.github/workflows/zfs-qemu.yml @@ -34,8 +34,8 @@ jobs: - name: Generate OS config and CI type id: os run: | - FULL_OS='["almalinux8", "almalinux9", "debian11", "debian12", "fedora40", "fedora41", "freebsd13-3r", "freebsd13-4s", "freebsd14-1r", "freebsd14-2s", "freebsd15-0c", "ubuntu20", "ubuntu22", "ubuntu24"]' - QUICK_OS='["almalinux8", "almalinux9", "debian12", "fedora41", "freebsd13-3r", "freebsd14-2r", "ubuntu24"]' + FULL_OS='["almalinux8", "almalinux9", "debian11", "debian12", "fedora40", "fedora41", "freebsd13-4r", "freebsd14-2r", "freebsd15-0c", "ubuntu20", "ubuntu22", "ubuntu24"]' + QUICK_OS='["almalinux8", "almalinux9", "debian12", "fedora41", "freebsd14-2r", "ubuntu24"]' # determine CI type when running on PR ci_type="full" if ${{ github.event_name == 'pull_request' }}; then @@ -72,7 +72,7 @@ jobs: # debian: debian11, debian12, ubuntu20, ubuntu22, ubuntu24 # misc: archlinux, tumbleweed # FreeBSD variants of 2024-12: - # FreeBSD Release: freebsd13-3r, freebsd13-4r, freebsd14-1r, freebsd14-2r + # FreeBSD Release: freebsd13-4r, freebsd14-2r # FreeBSD Stable: freebsd13-4s, freebsd14-2s # FreeBSD Current: freebsd15-0c os: ${{ fromJson(needs.test-config.outputs.test_os) }} From 94a3fabcb0de4cfffee592c1ee1df59017d5a11b Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Mon, 24 Mar 2025 12:25:01 -0400 Subject: [PATCH 38/51] Unified allocation throttling (#17020) Existing allocation throttling had a goal to improve write speed by allocating more data to vdevs that are able to write it faster. But in the process it completely broken the original mechanism, designed to balance vdev space usage. With severe vdev space use imbalance it is possible that some with higher use start growing fragmentation sooner than others and after getting full will stop any writes at all. Also after vdev addition it might take a very long time for pool to restore the balance, since the new vdev does not have any real preference, unless the old one is already much slower due to fragmentation. Also the old throttling was request- based, which was unpredictable with block sizes varying from 512B to 16MB, neither it made much sense in case of I/O aggregation, when its 32-100 requests could be aggregated into few, leaving device underutilized, submitting fewer and/or shorter requests, or in opposite try to queue up to 1.6GB of writes per device. This change presents a completely new throttling algorithm. Unlike the request-based old one, this one measures allocation queue in bytes. It makes possible to integrate with the reworked allocation quota (aliquot) mechanism, which is also byte-based. Unlike the original code, balancing the vdevs amounts of free space, this one balances their free/used space fractions. It should result in a lower and more uniform fragmentation in a long run. This algorithm still allows to improve write speed by allocating more data to faster vdevs, but does it in more controllable way. On top of space-based allocation quota, it also calculates minimum queue depth that vdev is allowed to maintain, and respectively the amount of extra allocations it can receive if it appear faster. That amount is based on vdev's capacity and space usage, but also applied only when the pool is busy. This way the code can choose between faster writes when needed and better vdev balance when not, with the choice gradually reducing together with the free space. This change also makes allocation queues per-class, allowing them to throttle independently and in parallel. Allocations that are bounced between classes due to allocation errors will be able to properly throttle in the new class. Allocations that should not be throttled (ZIL, gang, copies) are not, but may still follow the rotor and allocation quota mechanism of the class without disrupting it. Signed-off-by: Alexander Motin Sponsored by: iXsystems, Inc. Reviewed-by: Tony Hutter Reviewed-by: Paul Dagnelie --- include/sys/dsl_pool.h | 2 + include/sys/metaslab.h | 28 +- include/sys/metaslab_impl.h | 61 +-- include/sys/spa_impl.h | 11 - include/sys/vdev_impl.h | 4 - man/man4/zfs.4 | 44 +-- module/zfs/metaslab.c | 767 +++++++++++++++++------------------- module/zfs/spa.c | 79 +--- module/zfs/spa_misc.c | 24 +- module/zfs/vdev_queue.c | 33 +- module/zfs/vdev_removal.c | 4 +- module/zfs/zio.c | 265 ++++++------- 12 files changed, 536 insertions(+), 786 deletions(-) diff --git a/include/sys/dsl_pool.h b/include/sys/dsl_pool.h index c609dd40519..d7a950812fd 100644 --- a/include/sys/dsl_pool.h +++ b/include/sys/dsl_pool.h @@ -64,6 +64,8 @@ extern uint64_t zfs_wrlog_data_max; extern uint_t zfs_dirty_data_max_percent; extern uint_t zfs_dirty_data_max_max_percent; extern uint_t zfs_delay_min_dirty_percent; +extern uint_t zfs_vdev_async_write_active_min_dirty_percent; +extern uint_t zfs_vdev_async_write_active_max_dirty_percent; extern uint64_t zfs_delay_scale; /* These macros are for indexing into the zfs_all_blkstats_t. */ diff --git a/include/sys/metaslab.h b/include/sys/metaslab.h index a87d817edcb..c0844dac918 100644 --- a/include/sys/metaslab.h +++ b/include/sys/metaslab.h @@ -75,18 +75,13 @@ uint64_t metaslab_largest_allocatable(metaslab_t *); /* * metaslab alloc flags */ -#define METASLAB_HINTBP_FAVOR 0x0 -#define METASLAB_HINTBP_AVOID 0x1 +#define METASLAB_ZIL 0x1 #define METASLAB_GANG_HEADER 0x2 #define METASLAB_GANG_CHILD 0x4 #define METASLAB_ASYNC_ALLOC 0x8 -#define METASLAB_DONT_THROTTLE 0x10 -#define METASLAB_MUST_RESERVE 0x20 -#define METASLAB_ZIL 0x80 -int metaslab_alloc(spa_t *, metaslab_class_t *, uint64_t, - blkptr_t *, int, uint64_t, blkptr_t *, int, zio_alloc_list_t *, zio_t *, - int); +int metaslab_alloc(spa_t *, metaslab_class_t *, uint64_t, blkptr_t *, int, + uint64_t, blkptr_t *, int, zio_alloc_list_t *, int, const void *); int metaslab_alloc_dva(spa_t *, metaslab_class_t *, uint64_t, dva_t *, int, dva_t *, uint64_t, int, zio_alloc_list_t *, int); void metaslab_free(spa_t *, const blkptr_t *, uint64_t, boolean_t); @@ -103,15 +98,17 @@ void metaslab_stat_fini(void); void metaslab_trace_init(zio_alloc_list_t *); void metaslab_trace_fini(zio_alloc_list_t *); -metaslab_class_t *metaslab_class_create(spa_t *, const metaslab_ops_t *); +metaslab_class_t *metaslab_class_create(spa_t *, const metaslab_ops_t *, + boolean_t); void metaslab_class_destroy(metaslab_class_t *); -int metaslab_class_validate(metaslab_class_t *); +void metaslab_class_validate(metaslab_class_t *); +void metaslab_class_balance(metaslab_class_t *mc, boolean_t onsync); void metaslab_class_histogram_verify(metaslab_class_t *); uint64_t metaslab_class_fragmentation(metaslab_class_t *); uint64_t metaslab_class_expandable_space(metaslab_class_t *); -boolean_t metaslab_class_throttle_reserve(metaslab_class_t *, int, int, - zio_t *, int); -void metaslab_class_throttle_unreserve(metaslab_class_t *, int, int, zio_t *); +boolean_t metaslab_class_throttle_reserve(metaslab_class_t *, int, zio_t *, + boolean_t, boolean_t *); +boolean_t metaslab_class_throttle_unreserve(metaslab_class_t *, int, zio_t *); void metaslab_class_evict_old(metaslab_class_t *, uint64_t); uint64_t metaslab_class_get_alloc(metaslab_class_t *); uint64_t metaslab_class_get_space(metaslab_class_t *); @@ -130,9 +127,8 @@ uint64_t metaslab_group_get_space(metaslab_group_t *); void metaslab_group_histogram_verify(metaslab_group_t *); uint64_t metaslab_group_fragmentation(metaslab_group_t *); void metaslab_group_histogram_remove(metaslab_group_t *, metaslab_t *); -void metaslab_group_alloc_decrement(spa_t *, uint64_t, const void *, int, int, - boolean_t); -void metaslab_group_alloc_verify(spa_t *, const blkptr_t *, const void *, int); +void metaslab_group_alloc_decrement(spa_t *, uint64_t, int, int, uint64_t, + const void *); void metaslab_recalculate_weight_and_sort(metaslab_t *); void metaslab_disable(metaslab_t *); void metaslab_enable(metaslab_t *, boolean_t, boolean_t); diff --git a/include/sys/metaslab_impl.h b/include/sys/metaslab_impl.h index 5f999c02b8a..4408dcfddd4 100644 --- a/include/sys/metaslab_impl.h +++ b/include/sys/metaslab_impl.h @@ -141,23 +141,24 @@ typedef enum trace_alloc_type { * Per-allocator data structure. */ typedef struct metaslab_class_allocator { + kmutex_t mca_lock; + avl_tree_t mca_tree; + metaslab_group_t *mca_rotor; uint64_t mca_aliquot; /* * The allocation throttle works on a reservation system. Whenever * an asynchronous zio wants to perform an allocation it must - * first reserve the number of blocks that it wants to allocate. + * first reserve the number of bytes that it wants to allocate. * If there aren't sufficient slots available for the pending zio * then that I/O is throttled until more slots free up. The current - * number of reserved allocations is maintained by the mca_alloc_slots - * refcount. The mca_alloc_max_slots value determines the maximum - * number of allocations that the system allows. Gang blocks are - * allowed to reserve slots even if we've reached the maximum - * number of allocations allowed. + * size of reserved allocations is maintained by mca_reserved. + * The maximum total size of reserved allocations is determined by + * mc_alloc_max in the metaslab_class_t. Gang blocks are allowed + * to reserve for their headers even if we've reached the maximum. */ - uint64_t mca_alloc_max_slots; - zfs_refcount_t mca_alloc_slots; + uint64_t mca_reserved; } ____cacheline_aligned metaslab_class_allocator_t; /* @@ -190,10 +191,10 @@ struct metaslab_class { */ uint64_t mc_groups; - /* - * Toggle to enable/disable the allocation throttle. - */ + boolean_t mc_is_log; boolean_t mc_alloc_throttle_enabled; + uint64_t mc_alloc_io_size; + uint64_t mc_alloc_max; uint64_t mc_alloc_groups; /* # of allocatable groups */ @@ -216,11 +217,10 @@ struct metaslab_class { * Per-allocator data structure. */ typedef struct metaslab_group_allocator { - uint64_t mga_cur_max_alloc_queue_depth; - zfs_refcount_t mga_alloc_queue_depth; + zfs_refcount_t mga_queue_depth; metaslab_t *mga_primary; metaslab_t *mga_secondary; -} metaslab_group_allocator_t; +} ____cacheline_aligned metaslab_group_allocator_t; /* * Metaslab groups encapsulate all the allocatable regions (i.e. metaslabs) @@ -235,6 +235,7 @@ struct metaslab_group { kmutex_t mg_lock; avl_tree_t mg_metaslab_tree; uint64_t mg_aliquot; + uint64_t mg_queue_target; boolean_t mg_allocatable; /* can we allocate? */ uint64_t mg_ms_ready; @@ -246,40 +247,12 @@ struct metaslab_group { */ boolean_t mg_initialized; - uint64_t mg_free_capacity; /* percentage free */ - int64_t mg_bias; int64_t mg_activation_count; metaslab_class_t *mg_class; vdev_t *mg_vd; metaslab_group_t *mg_prev; metaslab_group_t *mg_next; - /* - * In order for the allocation throttle to function properly, we cannot - * have too many IOs going to each disk by default; the throttle - * operates by allocating more work to disks that finish quickly, so - * allocating larger chunks to each disk reduces its effectiveness. - * However, if the number of IOs going to each allocator is too small, - * we will not perform proper aggregation at the vdev_queue layer, - * also resulting in decreased performance. Therefore, we will use a - * ramp-up strategy. - * - * Each allocator in each metaslab group has a current queue depth - * (mg_alloc_queue_depth[allocator]) and a current max queue depth - * (mga_cur_max_alloc_queue_depth[allocator]), and each metaslab group - * has an absolute max queue depth (mg_max_alloc_queue_depth). We - * add IOs to an allocator until the mg_alloc_queue_depth for that - * allocator hits the cur_max. Every time an IO completes for a given - * allocator on a given metaslab group, we increment its cur_max until - * it reaches mg_max_alloc_queue_depth. The cur_max resets every txg to - * help protect against disks that decrease in performance over time. - * - * It's possible for an allocator to handle more allocations than - * its max. This can occur when gang blocks are required or when other - * groups are unable to handle their share of allocations. - */ - uint64_t mg_max_alloc_queue_depth; - /* * A metalab group that can no longer allocate the minimum block * size will set mg_no_free_space. Once a metaslab group is out @@ -288,8 +261,6 @@ struct metaslab_group { */ boolean_t mg_no_free_space; - uint64_t mg_allocations; - uint64_t mg_failed_allocations; uint64_t mg_fragmentation; uint64_t mg_histogram[ZFS_RANGE_TREE_HISTOGRAM_SIZE]; @@ -508,7 +479,7 @@ struct metaslab { */ hrtime_t ms_load_time; /* time last loaded */ hrtime_t ms_unload_time; /* time last unloaded */ - hrtime_t ms_selected_time; /* time last allocated from */ + uint64_t ms_selected_time; /* time last allocated from (secs) */ uint64_t ms_alloc_txg; /* last successful alloc (debug only) */ uint64_t ms_max_size; /* maximum allocatable size */ diff --git a/include/sys/spa_impl.h b/include/sys/spa_impl.h index a3fbf850405..8c52f751a81 100644 --- a/include/sys/spa_impl.h +++ b/include/sys/spa_impl.h @@ -59,11 +59,6 @@ extern "C" { #endif -typedef struct spa_alloc { - kmutex_t spaa_lock; - avl_tree_t spaa_tree; -} ____cacheline_aligned spa_alloc_t; - typedef struct spa_allocs_use { kmutex_t sau_lock; uint_t sau_rotor; @@ -273,12 +268,6 @@ struct spa { uint64_t spa_last_synced_guid; /* last synced guid */ list_t spa_config_dirty_list; /* vdevs with dirty config */ list_t spa_state_dirty_list; /* vdevs with dirty state */ - /* - * spa_allocs is an array, whose lengths is stored in spa_alloc_count. - * There is one tree and one lock for each allocator, to help improve - * allocation performance in write-heavy workloads. - */ - spa_alloc_t *spa_allocs; spa_allocs_use_t *spa_allocs_use; int spa_alloc_count; int spa_active_allocator; /* selectable allocator */ diff --git a/include/sys/vdev_impl.h b/include/sys/vdev_impl.h index 58a6cdcdc3e..a2a3e25d14c 100644 --- a/include/sys/vdev_impl.h +++ b/include/sys/vdev_impl.h @@ -60,10 +60,6 @@ extern "C" { typedef struct vdev_queue vdev_queue_t; struct abd; -extern uint_t zfs_vdev_queue_depth_pct; -extern uint_t zfs_vdev_def_queue_depth; -extern uint_t zfs_vdev_async_write_max_active; - /* * Virtual device operations */ diff --git a/man/man4/zfs.4 b/man/man4/zfs.4 index e0f29f37576..e166efe86d7 100644 --- a/man/man4/zfs.4 +++ b/man/man4/zfs.4 @@ -245,16 +245,26 @@ For L2ARC devices less than 1 GiB, the amount of data evicts is significant compared to the amount of restored L2ARC data. In this case, do not write log blocks in L2ARC in order not to waste space. . -.It Sy metaslab_aliquot Ns = Ns Sy 1048576 Ns B Po 1 MiB Pc Pq u64 -Metaslab granularity, in bytes. +.It Sy metaslab_aliquot Ns = Ns Sy 2097152 Ns B Po 2 MiB Pc Pq u64 +Metaslab group's per child vdev allocation granularity, in bytes. This is roughly similar to what would be referred to as the "stripe size" in traditional RAID arrays. -In normal operation, ZFS will try to write this amount of data to each disk -before moving on to the next top-level vdev. +In normal operation, ZFS will try to write this amount of data to each child +of a top-level vdev before moving on to the next top-level vdev. . .It Sy metaslab_bias_enabled Ns = Ns Sy 1 Ns | Ns 0 Pq int -Enable metaslab group biasing based on their vdevs' over- or under-utilization -relative to the pool. +Enable metaslab groups biasing based on their over- or under-utilization +relative to the metaslab class average. +If disabled, each metaslab group will receive allocations proportional to its +capacity. +. +.It Sy metaslab_perf_bias Ns = Ns Sy 1 Ns | Ns 0 Ns | Ns 2 Pq int +Controls metaslab groups biasing based on their write performance. +Setting to 0 makes all metaslab groups receive fixed amounts of allocations. +Setting to 2 allows faster metaslab groups to allocate more. +Setting to 1 equals to 2 if the pool is write-bound or 0 otherwise. +That is, if the pool is limited by write throughput, then allocate more from +faster metaslab groups, but if not, try to evenly distribute the allocations. . .It Sy metaslab_force_ganging Ns = Ns Sy 16777217 Ns B Po 16 MiB + 1 B Pc Pq u64 Make some blocks above a certain size be gang blocks. @@ -1527,23 +1537,6 @@ This enforced wait ensures the HDD services the interactive I/O within a reasonable amount of time. .No See Sx ZFS I/O SCHEDULER . . -.It Sy zfs_vdev_queue_depth_pct Ns = Ns Sy 1000 Ns % Pq uint -Maximum number of queued allocations per top-level vdev expressed as -a percentage of -.Sy zfs_vdev_async_write_max_active , -which allows the system to detect devices that are more capable -of handling allocations and to allocate more blocks to those devices. -This allows for dynamic allocation distribution when devices are imbalanced, -as fuller devices will tend to be slower than empty devices. -.Pp -Also see -.Sy zio_dva_throttle_enabled . -. -.It Sy zfs_vdev_def_queue_depth Ns = Ns Sy 32 Pq uint -Default queue depth for each vdev IO allocator. -Higher values allow for better coalescing of sequential writes before sending -them to the disk, but can increase transaction commit times. -. .It Sy zfs_vdev_failfast_mask Ns = Ns Sy 1 Pq uint Defines if the driver should retire on a given error type. The following options may be bitwise-ored together: @@ -2488,10 +2481,7 @@ Slow I/O counters can be seen with . .It Sy zio_dva_throttle_enabled Ns = Ns Sy 1 Ns | Ns 0 Pq int Throttle block allocations in the I/O pipeline. -This allows for dynamic allocation distribution when devices are imbalanced. -When enabled, the maximum number of pending allocations per top-level vdev -is limited by -.Sy zfs_vdev_queue_depth_pct . +This allows for dynamic allocation distribution based on device performance. . .It Sy zfs_xattr_compat Ns = Ns 0 Ns | Ns 1 Pq int Control the naming scheme used when setting new xattrs in the user namespace. diff --git a/module/zfs/metaslab.c b/module/zfs/metaslab.c index d738eda6041..e723d7640be 100644 --- a/module/zfs/metaslab.c +++ b/module/zfs/metaslab.c @@ -45,12 +45,12 @@ ((flags) & (METASLAB_GANG_CHILD | METASLAB_GANG_HEADER)) /* - * Metaslab granularity, in bytes. This is roughly similar to what would be - * referred to as the "stripe size" in traditional RAID arrays. In normal - * operation, we will try to write this amount of data to each disk before - * moving on to the next top-level vdev. + * Metaslab group's per child vdev granularity, in bytes. This is roughly + * similar to what would be referred to as the "stripe size" in traditional + * RAID arrays. In normal operation, we will try to write this amount of + * data to each disk before moving on to the next top-level vdev. */ -static uint64_t metaslab_aliquot = 1024 * 1024; +static uint64_t metaslab_aliquot = 2 * 1024 * 1024; /* * For testing, make some blocks above a certain size be gang blocks. @@ -238,10 +238,15 @@ static int metaslab_fragmentation_factor_enabled = B_TRUE; static int metaslab_lba_weighting_enabled = B_TRUE; /* - * Enable/disable metaslab group biasing. + * Enable/disable space-based metaslab group biasing. */ static int metaslab_bias_enabled = B_TRUE; +/* + * Control performance-based metaslab group biasing. + */ +static int metaslab_perf_bias = 1; + /* * Enable/disable remapping of indirect DVAs to their concrete vdevs. */ @@ -406,7 +411,7 @@ metaslab_stat_fini(void) * ========================================================================== */ metaslab_class_t * -metaslab_class_create(spa_t *spa, const metaslab_ops_t *ops) +metaslab_class_create(spa_t *spa, const metaslab_ops_t *ops, boolean_t is_log) { metaslab_class_t *mc; @@ -415,13 +420,19 @@ metaslab_class_create(spa_t *spa, const metaslab_ops_t *ops) mc->mc_spa = spa; mc->mc_ops = ops; + mc->mc_is_log = is_log; + mc->mc_alloc_io_size = SPA_OLD_MAXBLOCKSIZE; + mc->mc_alloc_max = UINT64_MAX; mutex_init(&mc->mc_lock, NULL, MUTEX_DEFAULT, NULL); multilist_create(&mc->mc_metaslab_txg_list, sizeof (metaslab_t), offsetof(metaslab_t, ms_class_txg_node), metaslab_idx_func); for (int i = 0; i < spa->spa_alloc_count; i++) { metaslab_class_allocator_t *mca = &mc->mc_allocator[i]; + mutex_init(&mca->mca_lock, NULL, MUTEX_DEFAULT, NULL); + avl_create(&mca->mca_tree, zio_bookmark_compare, + sizeof (zio_t), offsetof(zio_t, io_queue_node.a)); mca->mca_rotor = NULL; - zfs_refcount_create_tracked(&mca->mca_alloc_slots); + mca->mca_reserved = 0; } return (mc); @@ -439,8 +450,10 @@ metaslab_class_destroy(metaslab_class_t *mc) for (int i = 0; i < spa->spa_alloc_count; i++) { metaslab_class_allocator_t *mca = &mc->mc_allocator[i]; + avl_destroy(&mca->mca_tree); + mutex_destroy(&mca->mca_lock); ASSERT(mca->mca_rotor == NULL); - zfs_refcount_destroy(&mca->mca_alloc_slots); + ASSERT0(mca->mca_reserved); } mutex_destroy(&mc->mc_lock); multilist_destroy(&mc->mc_metaslab_txg_list); @@ -448,11 +461,52 @@ metaslab_class_destroy(metaslab_class_t *mc) mc_allocator[spa->spa_alloc_count])); } -int +void metaslab_class_validate(metaslab_class_t *mc) { - metaslab_group_t *mg; - vdev_t *vd; +#ifdef ZFS_DEBUG + spa_t *spa = mc->mc_spa; + + /* + * Must hold one of the spa_config locks. + */ + ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) || + spa_config_held(spa, SCL_ALL, RW_WRITER)); + + for (int i = 0; i < spa->spa_alloc_count; i++) { + metaslab_class_allocator_t *mca = &mc->mc_allocator[i]; + metaslab_group_t *mg, *rotor; + + ASSERT0(avl_numnodes(&mca->mca_tree)); + ASSERT0(mca->mca_reserved); + + if ((mg = rotor = mca->mca_rotor) == NULL) + continue; + do { + metaslab_group_allocator_t *mga = &mg->mg_allocator[i]; + vdev_t *vd = mg->mg_vd; + + ASSERT3P(vd->vdev_top, ==, vd); + ASSERT(vd->vdev_mg == mg || vd->vdev_log_mg == mg); + ASSERT3P(mg->mg_class, ==, mc); + ASSERT3P(vd->vdev_ops, !=, &vdev_hole_ops); + ASSERT0(zfs_refcount_count(&mga->mga_queue_depth)); + } while ((mg = mg->mg_next) != rotor); + } +#endif +} + +/* + * For each metaslab group in a class pre-calculate allocation quota and + * target queue depth to balance their space usage and write performance. + * Based on those pre-calculate class allocation throttle threshold for + * optimal saturation. onsync is true once per TXG to enable/disable + * allocation throttling and update moving average of maximum I/O size. + */ +void +metaslab_class_balance(metaslab_class_t *mc, boolean_t onsync) +{ + metaslab_group_t *mg, *first; /* * Must hold one of the spa_config locks. @@ -460,18 +514,168 @@ metaslab_class_validate(metaslab_class_t *mc) ASSERT(spa_config_held(mc->mc_spa, SCL_ALL, RW_READER) || spa_config_held(mc->mc_spa, SCL_ALL, RW_WRITER)); - if ((mg = mc->mc_allocator[0].mca_rotor) == NULL) - return (0); + if (onsync) + metaslab_class_validate(mc); + if (mc->mc_groups == 0) { + if (onsync) + mc->mc_alloc_throttle_enabled = B_FALSE; + mc->mc_alloc_max = UINT64_MAX; + return; + } + + if (onsync) { + /* + * Moving average of maximum allocation size, in absence of + * large allocations shrinking to 1/8 of metaslab_aliquot. + */ + mc->mc_alloc_io_size = (3 * mc->mc_alloc_io_size + + metaslab_aliquot / 8) / 4; + mc->mc_alloc_throttle_enabled = mc->mc_is_log ? 0 : + zio_dva_throttle_enabled; + } + + mg = first = mc->mc_allocator[0].mca_rotor; + uint64_t children = 0; do { - vd = mg->mg_vd; - ASSERT(vd->vdev_mg != NULL); - ASSERT3P(vd->vdev_top, ==, vd); - ASSERT3P(mg->mg_class, ==, mc); - ASSERT3P(vd->vdev_ops, !=, &vdev_hole_ops); - } while ((mg = mg->mg_next) != mc->mc_allocator[0].mca_rotor); + children += vdev_get_ndisks(mg->mg_vd) - + vdev_get_nparity(mg->mg_vd); + } while ((mg = mg->mg_next) != first); - return (0); + uint64_t sum_aliquot = 0; + do { + vdev_stat_t *vs = &mg->mg_vd->vdev_stat; + uint_t ratio; + + /* + * Scale allocations per iteration with average number of + * children. Wider vdevs need more sequential allocations + * to keep decent per-child I/O size. + */ + uint64_t mg_aliquot = MAX(metaslab_aliquot * children / + mc->mc_groups, mc->mc_alloc_io_size * 4); + + /* + * Scale allocations per iteration with the vdev capacity, + * relative to average. Bigger vdevs should get more to + * fill up at the same time as smaller ones. + */ + if (mc->mc_space > 0 && vs->vs_space > 0) { + ratio = vs->vs_space / (mc->mc_space / (mc->mc_groups * + 256) + 1); + mg_aliquot = mg_aliquot * ratio / 256; + } + + /* + * Scale allocations per iteration with the vdev's free space + * fraction, relative to average. Despite the above, vdevs free + * space fractions may get imbalanced, for example due to new + * vdev addition or different performance. We want free space + * fractions to be similar to postpone fragmentation. + * + * But same time we don't want to throttle vdevs still having + * plenty of free space, that appear faster than others, even + * if that cause temporary imbalance. Allow them to allocate + * more by keeping their allocation queue depth equivalent to + * 2.5 full iteration, even if they repeatedly drain it. Later + * with the free space reduction gradually reduce the target + * queue depth, stronger enforcing the free space balance. + */ + if (metaslab_bias_enabled && + mc->mc_space > 0 && vs->vs_space > 0) { + uint64_t vs_free = vs->vs_space > vs->vs_alloc ? + vs->vs_space - vs->vs_alloc : 0; + uint64_t mc_free = mc->mc_space > mc->mc_alloc ? + mc->mc_space - mc->mc_alloc : 0; + /* + * vs_fr is 16 bit fixed-point free space fraction. + * mc_fr is 8 bit fixed-point free space fraction. + * ratio as their quotient is 8 bit fixed-point. + */ + uint_t vs_fr = vs_free / (vs->vs_space / 65536 + 1); + uint_t mc_fr = mc_free / (mc->mc_space / 256 + 1); + ratio = vs_fr / (mc_fr + 1); + mg->mg_aliquot = mg_aliquot * ratio / 256; + /* From 2.5x at 25% full to 1x at 75%. */ + ratio = MIN(163840, vs_fr * 3 + 16384); + mg->mg_queue_target = MAX(mg->mg_aliquot, + mg->mg_aliquot * ratio / 65536); + } else { + mg->mg_aliquot = mg_aliquot; + mg->mg_queue_target = mg->mg_aliquot * 2; + } + sum_aliquot += mg->mg_aliquot; + } while ((mg = mg->mg_next) != first); + + /* + * Set per-class allocation throttle threshold to 4 iterations through + * all the vdevs. This should keep all vdevs busy even if some are + * allocating more than we planned for them due to bigger blocks or + * better performance. + */ + mc->mc_alloc_max = sum_aliquot * 4; +} + +static void +metaslab_class_rotate(metaslab_group_t *mg, int allocator, uint64_t psize, + boolean_t success) +{ + metaslab_class_t *mc = mg->mg_class; + metaslab_class_allocator_t *mca = &mc->mc_allocator[allocator]; + metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator]; + + /* + * Exit fast if there is nothing to rotate, we are not following + * the rotor (copies, gangs, etc) or somebody already rotated it. + */ + if (mc->mc_groups < 2 || mca->mca_rotor != mg) + return; + + /* + * Always rotate in case of allocation error or a log class. + */ + if (!success || mc->mc_is_log) + goto rotate; + + /* + * Allocate from this group if we expect next I/O of the same size to + * mostly fit within the allocation quota. Rotate if we expect it to + * mostly go over the target queue depth. Meanwhile, to stripe between + * groups in configured amounts per child even if we can't reach the + * target queue depth, i.e. can't saturate the group write performance, + * always rotate after allocating the queue target bytes. + */ + uint64_t naq = atomic_add_64_nv(&mca->mca_aliquot, psize) + psize / 2; + if (naq < mg->mg_aliquot) + return; + if (naq >= mg->mg_queue_target) + goto rotate; + if (zfs_refcount_count(&mga->mga_queue_depth) + psize + psize / 2 >= + mg->mg_queue_target) + goto rotate; + + /* + * When the pool is not too busy, prefer restoring the vdev free space + * balance instead of getting maximum speed we might not need, so that + * we could have more flexibility during more busy times later. + */ + if (metaslab_perf_bias <= 0) + goto rotate; + if (metaslab_perf_bias >= 2) + return; + spa_t *spa = mc->mc_spa; + dsl_pool_t *dp = spa_get_dsl(spa); + if (dp == NULL) + return; + uint64_t busy_thresh = zfs_dirty_data_max * + (zfs_vdev_async_write_active_min_dirty_percent + + zfs_vdev_async_write_active_max_dirty_percent) / 200; + if (dp->dp_dirty_total > busy_thresh || spa_has_pending_synctask(spa)) + return; + +rotate: + mca->mca_rotor = mg->mg_next; + mca->mca_aliquot = 0; } static void @@ -640,7 +844,9 @@ void metaslab_class_evict_old(metaslab_class_t *mc, uint64_t txg) { multilist_t *ml = &mc->mc_metaslab_txg_list; - hrtime_t now = gethrtime(); + uint64_t now = gethrestime_sec(); + /* Round delay up to next second. */ + uint_t delay = (metaslab_unload_delay_ms + 999) / 1000; for (int i = 0; i < multilist_get_num_sublists(ml); i++) { multilist_sublist_t *mls = multilist_sublist_lock_idx(ml, i); metaslab_t *msp = multilist_sublist_head(mls); @@ -664,8 +870,7 @@ metaslab_class_evict_old(metaslab_class_t *mc, uint64_t txg) multilist_sublist_unlock(mls); if (txg > msp->ms_selected_txg + metaslab_unload_delay && - now > msp->ms_selected_time + - MSEC2NSEC(metaslab_unload_delay_ms) && + now > msp->ms_selected_time + delay && (msp->ms_allocator == -1 || !metaslab_preload_enabled)) { metaslab_evict(msp, txg); @@ -753,7 +958,7 @@ metaslab_group_alloc_update(metaslab_group_t *mg) was_allocatable = mg->mg_allocatable; was_initialized = mg->mg_initialized; - mg->mg_free_capacity = ((vs->vs_space - vs->vs_alloc) * 100) / + uint64_t free_capacity = ((vs->vs_space - vs->vs_alloc) * 100) / (vs->vs_space + 1); mutex_enter(&mc->mc_lock); @@ -783,7 +988,7 @@ metaslab_group_alloc_update(metaslab_group_t *mg) * fragmentation metric (i.e. a value between 0 and 100). */ mg->mg_allocatable = (mg->mg_activation_count > 0 && - mg->mg_free_capacity > zfs_mg_noalloc_threshold && + free_capacity > zfs_mg_noalloc_threshold && (mg->mg_fragmentation == ZFS_FRAG_INVALID || mg->mg_fragmentation <= zfs_mg_fragmentation_threshold)); @@ -851,7 +1056,7 @@ metaslab_group_create(metaslab_class_t *mc, vdev_t *vd, int allocators) for (int i = 0; i < allocators; i++) { metaslab_group_allocator_t *mga = &mg->mg_allocator[i]; - zfs_refcount_create_tracked(&mga->mga_alloc_queue_depth); + zfs_refcount_create_tracked(&mga->mga_queue_depth); } return (mg); @@ -876,7 +1081,7 @@ metaslab_group_destroy(metaslab_group_t *mg) for (int i = 0; i < mg->mg_allocators; i++) { metaslab_group_allocator_t *mga = &mg->mg_allocator[i]; - zfs_refcount_destroy(&mga->mga_alloc_queue_depth); + zfs_refcount_destroy(&mga->mga_queue_depth); } kmem_free(mg, offsetof(metaslab_group_t, mg_allocator[mg->mg_allocators])); @@ -898,8 +1103,6 @@ metaslab_group_activate(metaslab_group_t *mg) if (++mg->mg_activation_count <= 0) return; - mg->mg_aliquot = metaslab_aliquot * MAX(1, - vdev_get_ndisks(mg->mg_vd) - vdev_get_nparity(mg->mg_vd)); metaslab_group_alloc_update(mg); if ((mgprev = mc->mc_allocator[0].mca_rotor) == NULL) { @@ -916,6 +1119,7 @@ metaslab_group_activate(metaslab_group_t *mg) mc->mc_allocator[i].mca_rotor = mg; mg = mg->mg_next; } + metaslab_class_balance(mc, B_FALSE); } /* @@ -996,6 +1200,7 @@ metaslab_group_passivate(metaslab_group_t *mg) mg->mg_prev = NULL; mg->mg_next = NULL; + metaslab_class_balance(mc, B_FALSE); } boolean_t @@ -1214,127 +1419,6 @@ metaslab_group_fragmentation(metaslab_group_t *mg) return (fragmentation); } -/* - * Determine if a given metaslab group should skip allocations. A metaslab - * group should avoid allocations if its free capacity is less than the - * zfs_mg_noalloc_threshold or its fragmentation metric is greater than - * zfs_mg_fragmentation_threshold and there is at least one metaslab group - * that can still handle allocations. If the allocation throttle is enabled - * then we skip allocations to devices that have reached their maximum - * allocation queue depth unless the selected metaslab group is the only - * eligible group remaining. - */ -static boolean_t -metaslab_group_allocatable(metaslab_group_t *mg, metaslab_group_t *rotor, - int flags, uint64_t psize, int allocator, int d) -{ - spa_t *spa = mg->mg_vd->vdev_spa; - metaslab_class_t *mc = mg->mg_class; - - /* - * We can only consider skipping this metaslab group if it's - * in the normal metaslab class and there are other metaslab - * groups to select from. Otherwise, we always consider it eligible - * for allocations. - */ - if ((mc != spa_normal_class(spa) && - mc != spa_special_class(spa) && - mc != spa_dedup_class(spa)) || - mc->mc_groups <= 1) - return (B_TRUE); - - /* - * If the metaslab group's mg_allocatable flag is set (see comments - * in metaslab_group_alloc_update() for more information) and - * the allocation throttle is disabled then allow allocations to this - * device. However, if the allocation throttle is enabled then - * check if we have reached our allocation limit (mga_alloc_queue_depth) - * to determine if we should allow allocations to this metaslab group. - * If all metaslab groups are no longer considered allocatable - * (mc_alloc_groups == 0) or we're trying to allocate the smallest - * gang block size then we allow allocations on this metaslab group - * regardless of the mg_allocatable or throttle settings. - */ - if (mg->mg_allocatable) { - metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator]; - int64_t qdepth; - uint64_t qmax = mga->mga_cur_max_alloc_queue_depth; - - if (!mc->mc_alloc_throttle_enabled) - return (B_TRUE); - - /* - * If this metaslab group does not have any free space, then - * there is no point in looking further. - */ - if (mg->mg_no_free_space) - return (B_FALSE); - - /* - * Some allocations (e.g., those coming from device removal - * where the * allocations are not even counted in the - * metaslab * allocation queues) are allowed to bypass - * the throttle. - */ - if (flags & METASLAB_DONT_THROTTLE) - return (B_TRUE); - - /* - * Relax allocation throttling for ditto blocks. Due to - * random imbalances in allocation it tends to push copies - * to one vdev, that looks a bit better at the moment. - */ - qmax = qmax * (4 + d) / 4; - - qdepth = zfs_refcount_count(&mga->mga_alloc_queue_depth); - - /* - * If this metaslab group is below its qmax or it's - * the only allocatable metaslab group, then attempt - * to allocate from it. - */ - if (qdepth < qmax || mc->mc_alloc_groups == 1) - return (B_TRUE); - ASSERT3U(mc->mc_alloc_groups, >, 1); - - /* - * Since this metaslab group is at or over its qmax, we - * need to determine if there are metaslab groups after this - * one that might be able to handle this allocation. This is - * racy since we can't hold the locks for all metaslab - * groups at the same time when we make this check. - */ - for (metaslab_group_t *mgp = mg->mg_next; - mgp != rotor; mgp = mgp->mg_next) { - metaslab_group_allocator_t *mgap = - &mgp->mg_allocator[allocator]; - qmax = mgap->mga_cur_max_alloc_queue_depth; - qmax = qmax * (4 + d) / 4; - qdepth = - zfs_refcount_count(&mgap->mga_alloc_queue_depth); - - /* - * If there is another metaslab group that - * might be able to handle the allocation, then - * we return false so that we skip this group. - */ - if (qdepth < qmax && !mgp->mg_no_free_space) - return (B_FALSE); - } - - /* - * We didn't find another group to handle the allocation - * so we can't skip this metaslab group even though - * we are at or over our qmax. - */ - return (B_TRUE); - - } else if (mc->mc_alloc_groups == 0 || psize == SPA_MINBLOCKSIZE) { - return (B_TRUE); - } - return (B_FALSE); -} - /* * ========================================================================== * Range tree callbacks @@ -2615,15 +2699,15 @@ metaslab_unload(metaslab_t *msp) spa_t *spa = msp->ms_group->mg_vd->vdev_spa; zfs_dbgmsg("metaslab_unload: txg %llu, spa %s, vdev_id %llu, " "ms_id %llu, weight %llx, " - "selected txg %llu (%llu ms ago), alloc_txg %llu, " + "selected txg %llu (%llu s ago), alloc_txg %llu, " "loaded %llu ms ago, max_size %llu", (u_longlong_t)spa_syncing_txg(spa), spa_name(spa), (u_longlong_t)msp->ms_group->mg_vd->vdev_id, (u_longlong_t)msp->ms_id, (u_longlong_t)msp->ms_weight, (u_longlong_t)msp->ms_selected_txg, - (u_longlong_t)(msp->ms_unload_time - - msp->ms_selected_time) / 1000 / 1000, + (u_longlong_t)(NSEC2SEC(msp->ms_unload_time) - + msp->ms_selected_time), (u_longlong_t)msp->ms_alloc_txg, (u_longlong_t)(msp->ms_unload_time - msp->ms_load_time) / 1000 / 1000, @@ -2679,7 +2763,7 @@ metaslab_set_selected_txg(metaslab_t *msp, uint64_t txg) if (multilist_link_active(&msp->ms_class_txg_node)) multilist_sublist_remove(mls, msp); msp->ms_selected_txg = txg; - msp->ms_selected_time = gethrtime(); + msp->ms_selected_time = gethrestime_sec(); multilist_sublist_insert_tail(mls, msp); multilist_sublist_unlock(mls); } @@ -4607,11 +4691,10 @@ metaslab_trace_fini(zio_alloc_list_t *zal) */ static void -metaslab_group_alloc_increment(spa_t *spa, uint64_t vdev, const void *tag, - int flags, int allocator) +metaslab_group_alloc_increment(spa_t *spa, uint64_t vdev, int allocator, + int flags, uint64_t psize, const void *tag) { - if (!(flags & METASLAB_ASYNC_ALLOC) || - (flags & METASLAB_DONT_THROTTLE)) + if (!(flags & METASLAB_ASYNC_ALLOC)) return; metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg; @@ -4619,33 +4702,14 @@ metaslab_group_alloc_increment(spa_t *spa, uint64_t vdev, const void *tag, return; metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator]; - (void) zfs_refcount_add(&mga->mga_alloc_queue_depth, tag); -} - -static void -metaslab_group_increment_qdepth(metaslab_group_t *mg, int allocator) -{ - metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator]; - metaslab_class_allocator_t *mca = - &mg->mg_class->mc_allocator[allocator]; - uint64_t max = mg->mg_max_alloc_queue_depth; - uint64_t cur = mga->mga_cur_max_alloc_queue_depth; - while (cur < max) { - if (atomic_cas_64(&mga->mga_cur_max_alloc_queue_depth, - cur, cur + 1) == cur) { - atomic_inc_64(&mca->mca_alloc_max_slots); - return; - } - cur = mga->mga_cur_max_alloc_queue_depth; - } + (void) zfs_refcount_add_many(&mga->mga_queue_depth, psize, tag); } void -metaslab_group_alloc_decrement(spa_t *spa, uint64_t vdev, const void *tag, - int flags, int allocator, boolean_t io_complete) +metaslab_group_alloc_decrement(spa_t *spa, uint64_t vdev, int allocator, + int flags, uint64_t psize, const void *tag) { - if (!(flags & METASLAB_ASYNC_ALLOC) || - (flags & METASLAB_DONT_THROTTLE)) + if (!(flags & METASLAB_ASYNC_ALLOC)) return; metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg; @@ -4653,26 +4717,7 @@ metaslab_group_alloc_decrement(spa_t *spa, uint64_t vdev, const void *tag, return; metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator]; - (void) zfs_refcount_remove(&mga->mga_alloc_queue_depth, tag); - if (io_complete) - metaslab_group_increment_qdepth(mg, allocator); -} - -void -metaslab_group_alloc_verify(spa_t *spa, const blkptr_t *bp, const void *tag, - int allocator) -{ -#ifdef ZFS_DEBUG - const dva_t *dva = bp->blk_dva; - int ndvas = BP_GET_NDVAS(bp); - - for (int d = 0; d < ndvas; d++) { - uint64_t vdev = DVA_GET_VDEV(&dva[d]); - metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg; - metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator]; - VERIFY(zfs_refcount_not_held(&mga->mga_alloc_queue_depth, tag)); - } -#endif + (void) zfs_refcount_remove_many(&mga->mga_queue_depth, psize, tag); } static uint64_t @@ -4731,7 +4776,7 @@ metaslab_block_alloc(metaslab_t *msp, uint64_t size, uint64_t txg) */ static metaslab_t * find_valid_metaslab(metaslab_group_t *mg, uint64_t activation_weight, - dva_t *dva, int d, boolean_t want_unique, uint64_t asize, int allocator, + dva_t *dva, int d, uint64_t asize, int allocator, boolean_t try_hard, zio_alloc_list_t *zal, metaslab_t *search, boolean_t *was_active) { @@ -4775,13 +4820,14 @@ find_valid_metaslab(metaslab_group_t *mg, uint64_t activation_weight, if (activation_weight == METASLAB_WEIGHT_PRIMARY || *was_active) break; - for (i = 0; i < d; i++) { - if (want_unique && - !metaslab_is_unique(msp, &dva[i])) - break; /* try another metaslab */ + if (!try_hard) { + for (i = 0; i < d; i++) { + if (!metaslab_is_unique(msp, &dva[i])) + break; /* try another metaslab */ + } + if (i == d) + break; } - if (i == d) - break; } if (msp != NULL) { @@ -4829,9 +4875,9 @@ metaslab_active_mask_verify(metaslab_t *msp) } static uint64_t -metaslab_group_alloc_normal(metaslab_group_t *mg, zio_alloc_list_t *zal, - uint64_t asize, uint64_t txg, boolean_t want_unique, dva_t *dva, int d, - int allocator, boolean_t try_hard) +metaslab_group_alloc(metaslab_group_t *mg, zio_alloc_list_t *zal, + uint64_t asize, uint64_t txg, dva_t *dva, int d, int allocator, + boolean_t try_hard) { metaslab_t *msp = NULL; uint64_t offset = -1ULL; @@ -4907,15 +4953,13 @@ metaslab_group_alloc_normal(metaslab_group_t *mg, zio_alloc_list_t *zal, ASSERT(msp->ms_weight & METASLAB_ACTIVE_MASK); } else { msp = find_valid_metaslab(mg, activation_weight, dva, d, - want_unique, asize, allocator, try_hard, zal, - search, &was_active); + asize, allocator, try_hard, zal, search, + &was_active); } mutex_exit(&mg->mg_lock); - if (msp == NULL) { - kmem_free(search, sizeof (*search)); - return (-1ULL); - } + if (msp == NULL) + break; mutex_enter(&msp->ms_lock); metaslab_active_mask_verify(msp); @@ -5056,6 +5100,7 @@ metaslab_group_alloc_normal(metaslab_group_t *mg, zio_alloc_list_t *zal, /* Proactively passivate the metaslab, if needed */ if (activated) metaslab_segment_may_passivate(msp); + mutex_exit(&msp->ms_lock); break; } next: @@ -5129,46 +5174,73 @@ next: mutex_exit(&msp->ms_lock); } - mutex_exit(&msp->ms_lock); kmem_free(search, sizeof (*search)); - return (offset); -} -static uint64_t -metaslab_group_alloc(metaslab_group_t *mg, zio_alloc_list_t *zal, - uint64_t asize, uint64_t txg, boolean_t want_unique, dva_t *dva, int d, - int allocator, boolean_t try_hard) -{ - uint64_t offset; - - offset = metaslab_group_alloc_normal(mg, zal, asize, txg, want_unique, - dva, d, allocator, try_hard); - - mutex_enter(&mg->mg_lock); if (offset == -1ULL) { - mg->mg_failed_allocations++; metaslab_trace_add(zal, mg, NULL, asize, d, TRACE_GROUP_FAILURE, allocator); - if (asize == SPA_GANGBLOCKSIZE) { + if (asize <= vdev_get_min_alloc(mg->mg_vd)) { /* * This metaslab group was unable to allocate - * the minimum gang block size so it must be out of - * space. We must notify the allocation throttle - * to start skipping allocation attempts to this - * metaslab group until more space becomes available. - * Note: this failure cannot be caused by the - * allocation throttle since the allocation throttle - * is only responsible for skipping devices and - * not failing block allocations. + * the minimum block size so it must be out of + * space. Notify the allocation throttle to + * skip allocation attempts to this group until + * more space becomes available. */ mg->mg_no_free_space = B_TRUE; } } - mg->mg_allocations++; - mutex_exit(&mg->mg_lock); return (offset); } +static boolean_t +metaslab_group_allocatable(spa_t *spa, metaslab_group_t *mg, uint64_t psize, + int d, int flags, boolean_t try_hard, zio_alloc_list_t *zal, int allocator) +{ + metaslab_class_t *mc = mg->mg_class; + vdev_t *vd = mg->mg_vd; + boolean_t allocatable; + + /* + * Don't allocate from faulted devices. + */ + if (try_hard) + spa_config_enter(spa, SCL_ZIO, FTAG, RW_READER); + allocatable = vdev_allocatable(vd); + if (try_hard) + spa_config_exit(spa, SCL_ZIO, FTAG); + if (!allocatable) { + metaslab_trace_add(zal, mg, NULL, psize, d, + TRACE_NOT_ALLOCATABLE, allocator); + return (B_FALSE); + } + + if (!try_hard) { + /* + * Avoid vdevs with too little space or too fragmented. + */ + if (!GANG_ALLOCATION(flags) && (mg->mg_no_free_space || + (!mg->mg_allocatable && mc->mc_alloc_groups > 0))) { + metaslab_trace_add(zal, mg, NULL, psize, d, + TRACE_NOT_ALLOCATABLE, allocator); + return (B_FALSE); + } + + /* + * Avoid writing single-copy data to an unhealthy, + * non-redundant vdev. + */ + if (d == 0 && vd->vdev_state < VDEV_STATE_HEALTHY && + vd->vdev_children == 0) { + metaslab_trace_add(zal, mg, NULL, psize, d, + TRACE_VDEV_ERROR, allocator); + return (B_FALSE); + } + } + + return (B_TRUE); +} + /* * Allocate a block for the specified i/o. */ @@ -5178,7 +5250,7 @@ metaslab_alloc_dva(spa_t *spa, metaslab_class_t *mc, uint64_t psize, zio_alloc_list_t *zal, int allocator) { metaslab_class_allocator_t *mca = &mc->mc_allocator[allocator]; - metaslab_group_t *mg, *rotor; + metaslab_group_t *mg = NULL, *rotor; vdev_t *vd; boolean_t try_hard = B_FALSE; @@ -5217,170 +5289,50 @@ metaslab_alloc_dva(spa_t *spa, metaslab_class_t *mc, uint64_t psize, * only two adjacent top-level vdev failures will result in data loss. * * If we are doing gang blocks (hintdva is non-NULL), try to keep - * ourselves on the same vdev as our gang block header. That - * way, we can hope for locality in vdev_cache, plus it makes our + * ourselves on the same vdev as our gang block header. It makes our * fault domains something tractable. */ - if (hintdva) { + if (hintdva && DVA_IS_VALID(&hintdva[d])) { vd = vdev_lookup_top(spa, DVA_GET_VDEV(&hintdva[d])); - - /* - * It's possible the vdev we're using as the hint no - * longer exists or its mg has been closed (e.g. by - * device removal). Consult the rotor when - * all else fails. - */ - if (vd != NULL && vd->vdev_mg != NULL) { - mg = vdev_get_mg(vd, mc); - - if (flags & METASLAB_HINTBP_AVOID) - mg = mg->mg_next; - } else { - mg = mca->mca_rotor; - } - } else if (d != 0) { + mg = vdev_get_mg(vd, mc); + } + if (mg == NULL && d != 0) { vd = vdev_lookup_top(spa, DVA_GET_VDEV(&dva[d - 1])); - mg = vd->vdev_mg->mg_next; - } else { + mg = vdev_get_mg(vd, mc)->mg_next; + } + if (mg == NULL || mg->mg_class != mc || mg->mg_activation_count <= 0) { ASSERT(mca->mca_rotor != NULL); mg = mca->mca_rotor; } - /* - * If the hint put us into the wrong metaslab class, or into a - * metaslab group that has been passivated, just follow the rotor. - */ - if (mg->mg_class != mc || mg->mg_activation_count <= 0) - mg = mca->mca_rotor; - rotor = mg; top: do { - boolean_t allocatable; - ASSERT(mg->mg_activation_count == 1); - vd = mg->mg_vd; - - /* - * Don't allocate from faulted devices. - */ - if (try_hard) { - spa_config_enter(spa, SCL_ZIO, FTAG, RW_READER); - allocatable = vdev_allocatable(vd); - spa_config_exit(spa, SCL_ZIO, FTAG); - } else { - allocatable = vdev_allocatable(vd); - } - - /* - * Determine if the selected metaslab group is eligible - * for allocations. If we're ganging then don't allow - * this metaslab group to skip allocations since that would - * inadvertently return ENOSPC and suspend the pool - * even though space is still available. - */ - if (allocatable && !GANG_ALLOCATION(flags) && !try_hard) { - allocatable = metaslab_group_allocatable(mg, rotor, - flags, psize, allocator, d); - } - - if (!allocatable) { - metaslab_trace_add(zal, mg, NULL, psize, d, - TRACE_NOT_ALLOCATABLE, allocator); - goto next; - } - - /* - * Avoid writing single-copy data to an unhealthy, - * non-redundant vdev, unless we've already tried all - * other vdevs. - */ - if (vd->vdev_state < VDEV_STATE_HEALTHY && - d == 0 && !try_hard && vd->vdev_children == 0) { - metaslab_trace_add(zal, mg, NULL, psize, d, - TRACE_VDEV_ERROR, allocator); - goto next; - } - ASSERT(mg->mg_class == mc); + if (!metaslab_group_allocatable(spa, mg, psize, d, flags, + try_hard, zal, allocator)) + goto next; + + vd = mg->mg_vd; uint64_t asize = vdev_psize_to_asize_txg(vd, psize, txg); ASSERT(P2PHASE(asize, 1ULL << vd->vdev_ashift) == 0); - - /* - * If we don't need to try hard, then require that the - * block be on a different metaslab from any other DVAs - * in this BP (unique=true). If we are trying hard, then - * allow any metaslab to be used (unique=false). - */ uint64_t offset = metaslab_group_alloc(mg, zal, asize, txg, - !try_hard, dva, d, allocator, try_hard); + dva, d, allocator, try_hard); if (offset != -1ULL) { - /* - * If we've just selected this metaslab group, - * figure out whether the corresponding vdev is - * over- or under-used relative to the pool, - * and set an allocation bias to even it out. - * - * Bias is also used to compensate for unequally - * sized vdevs so that space is allocated fairly. - */ - if (mca->mca_aliquot == 0 && metaslab_bias_enabled) { - vdev_stat_t *vs = &vd->vdev_stat; - int64_t vs_free = vs->vs_space - vs->vs_alloc; - int64_t mc_free = mc->mc_space - mc->mc_alloc; - int64_t ratio; - - /* - * Calculate how much more or less we should - * try to allocate from this device during - * this iteration around the rotor. - * - * This basically introduces a zero-centered - * bias towards the devices with the most - * free space, while compensating for vdev - * size differences. - * - * Examples: - * vdev V1 = 16M/128M - * vdev V2 = 16M/128M - * ratio(V1) = 100% ratio(V2) = 100% - * - * vdev V1 = 16M/128M - * vdev V2 = 64M/128M - * ratio(V1) = 127% ratio(V2) = 72% - * - * vdev V1 = 16M/128M - * vdev V2 = 64M/512M - * ratio(V1) = 40% ratio(V2) = 160% - */ - ratio = (vs_free * mc->mc_alloc_groups * 100) / - (mc_free + 1); - mg->mg_bias = ((ratio - 100) * - (int64_t)mg->mg_aliquot) / 100; - } else if (!metaslab_bias_enabled) { - mg->mg_bias = 0; - } - - if ((flags & METASLAB_ZIL) || - atomic_add_64_nv(&mca->mca_aliquot, asize) >= - mg->mg_aliquot + mg->mg_bias) { - mca->mca_rotor = mg->mg_next; - mca->mca_aliquot = 0; - } + metaslab_class_rotate(mg, allocator, psize, B_TRUE); DVA_SET_VDEV(&dva[d], vd->vdev_id); DVA_SET_OFFSET(&dva[d], offset); DVA_SET_GANG(&dva[d], ((flags & METASLAB_GANG_HEADER) ? 1 : 0)); DVA_SET_ASIZE(&dva[d], asize); - return (0); } next: - mca->mca_rotor = mg->mg_next; - mca->mca_aliquot = 0; + metaslab_class_rotate(mg, allocator, psize, B_FALSE); } while ((mg = mg->mg_next) != rotor); /* @@ -5388,7 +5340,7 @@ next: */ if (!try_hard && (zfs_metaslab_try_hard_before_gang || GANG_ALLOCATION(flags) || (flags & METASLAB_ZIL) != 0 || - psize <= 1 << spa->spa_min_ashift)) { + psize <= spa->spa_min_alloc)) { METASLABSTAT_BUMP(metaslabstat_try_hard); try_hard = B_TRUE; goto top; @@ -5700,41 +5652,44 @@ metaslab_free_dva(spa_t *spa, const dva_t *dva, boolean_t checkpoint) * the reservation. */ boolean_t -metaslab_class_throttle_reserve(metaslab_class_t *mc, int slots, int allocator, - zio_t *zio, int flags) +metaslab_class_throttle_reserve(metaslab_class_t *mc, int slots, zio_t *zio, + boolean_t must, boolean_t *more) { - metaslab_class_allocator_t *mca = &mc->mc_allocator[allocator]; - uint64_t max = mca->mca_alloc_max_slots; + metaslab_class_allocator_t *mca = &mc->mc_allocator[zio->io_allocator]; ASSERT(mc->mc_alloc_throttle_enabled); - if (GANG_ALLOCATION(flags) || (flags & METASLAB_MUST_RESERVE) || - zfs_refcount_count(&mca->mca_alloc_slots) + slots <= max) { + if (mc->mc_alloc_io_size < zio->io_size) { + mc->mc_alloc_io_size = zio->io_size; + metaslab_class_balance(mc, B_FALSE); + } + if (must || mca->mca_reserved <= mc->mc_alloc_max) { /* - * The potential race between _count() and _add() is covered - * by the allocator lock in most cases, or irrelevant due to - * GANG_ALLOCATION() or METASLAB_MUST_RESERVE set in others. + * The potential race between compare and add is covered by the + * allocator lock in most cases, or irrelevant due to must set. * But even if we assume some other non-existing scenario, the * worst that can happen is few more I/Os get to allocation * earlier, that is not a problem. - * - * We reserve the slots individually so that we can unreserve - * them individually when an I/O completes. */ - zfs_refcount_add_few(&mca->mca_alloc_slots, slots, zio); + int64_t delta = slots * zio->io_size; + *more = (atomic_add_64_nv(&mca->mca_reserved, delta) <= + mc->mc_alloc_max); zio->io_flags |= ZIO_FLAG_IO_ALLOCATING; return (B_TRUE); } + *more = B_FALSE; return (B_FALSE); } -void +boolean_t metaslab_class_throttle_unreserve(metaslab_class_t *mc, int slots, - int allocator, zio_t *zio) + zio_t *zio) { - metaslab_class_allocator_t *mca = &mc->mc_allocator[allocator]; + metaslab_class_allocator_t *mca = &mc->mc_allocator[zio->io_allocator]; ASSERT(mc->mc_alloc_throttle_enabled); - zfs_refcount_remove_few(&mca->mca_alloc_slots, slots, zio); + int64_t delta = slots * zio->io_size; + return (atomic_add_64_nv(&mca->mca_reserved, -delta) <= + mc->mc_alloc_max); } static int @@ -5876,7 +5831,7 @@ metaslab_claim_dva(spa_t *spa, const dva_t *dva, uint64_t txg) int metaslab_alloc(spa_t *spa, metaslab_class_t *mc, uint64_t psize, blkptr_t *bp, int ndvas, uint64_t txg, blkptr_t *hintbp, int flags, - zio_alloc_list_t *zal, zio_t *zio, int allocator) + zio_alloc_list_t *zal, int allocator, const void *tag) { dva_t *dva = bp->blk_dva; dva_t *hintdva = (hintbp != NULL) ? hintbp->blk_dva : NULL; @@ -5905,8 +5860,8 @@ metaslab_alloc(spa_t *spa, metaslab_class_t *mc, uint64_t psize, blkptr_t *bp, for (d--; d >= 0; d--) { metaslab_unalloc_dva(spa, &dva[d], txg); metaslab_group_alloc_decrement(spa, - DVA_GET_VDEV(&dva[d]), zio, flags, - allocator, B_FALSE); + DVA_GET_VDEV(&dva[d]), allocator, flags, + psize, tag); memset(&dva[d], 0, sizeof (dva_t)); } spa_config_exit(spa, SCL_ALLOC, FTAG); @@ -5917,7 +5872,8 @@ metaslab_alloc(spa_t *spa, metaslab_class_t *mc, uint64_t psize, blkptr_t *bp, * based on the newly allocated dva. */ metaslab_group_alloc_increment(spa, - DVA_GET_VDEV(&dva[d]), zio, flags, allocator); + DVA_GET_VDEV(&dva[d]), allocator, flags, psize, + tag); } } ASSERT(error == 0); @@ -6280,7 +6236,10 @@ ZFS_MODULE_PARAM(zfs_metaslab, metaslab_, lba_weighting_enabled, INT, ZMOD_RW, "Prefer metaslabs with lower LBAs"); ZFS_MODULE_PARAM(zfs_metaslab, metaslab_, bias_enabled, INT, ZMOD_RW, - "Enable metaslab group biasing"); + "Enable space-based metaslab group biasing"); + +ZFS_MODULE_PARAM(zfs_metaslab, metaslab_, perf_bias, INT, ZMOD_RW, + "Enable performance-based metaslab group biasing"); ZFS_MODULE_PARAM(zfs_metaslab, zfs_metaslab_, segment_weight_enabled, INT, ZMOD_RW, "Enable segment-based metaslab selection"); diff --git a/module/zfs/spa.c b/module/zfs/spa.c index 09345634796..cbe90303072 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -1686,11 +1686,11 @@ spa_activate(spa_t *spa, spa_mode_t mode) spa->spa_mode = mode; spa->spa_read_spacemaps = spa_mode_readable_spacemaps; - spa->spa_normal_class = metaslab_class_create(spa, msp); - spa->spa_log_class = metaslab_class_create(spa, msp); - spa->spa_embedded_log_class = metaslab_class_create(spa, msp); - spa->spa_special_class = metaslab_class_create(spa, msp); - spa->spa_dedup_class = metaslab_class_create(spa, msp); + spa->spa_normal_class = metaslab_class_create(spa, msp, B_FALSE); + spa->spa_log_class = metaslab_class_create(spa, msp, B_TRUE); + spa->spa_embedded_log_class = metaslab_class_create(spa, msp, B_TRUE); + spa->spa_special_class = metaslab_class_create(spa, msp, B_FALSE); + spa->spa_dedup_class = metaslab_class_create(spa, msp, B_FALSE); /* Try to create a covering process */ mutex_enter(&spa->spa_proc_lock); @@ -9883,60 +9883,9 @@ spa_sync_adjust_vdev_max_queue_depth(spa_t *spa) { ASSERT(spa_writeable(spa)); - vdev_t *rvd = spa->spa_root_vdev; - uint32_t max_queue_depth = zfs_vdev_async_write_max_active * - zfs_vdev_queue_depth_pct / 100; - metaslab_class_t *normal = spa_normal_class(spa); - metaslab_class_t *special = spa_special_class(spa); - metaslab_class_t *dedup = spa_dedup_class(spa); - - uint64_t slots_per_allocator = 0; - for (int c = 0; c < rvd->vdev_children; c++) { - vdev_t *tvd = rvd->vdev_child[c]; - - metaslab_group_t *mg = tvd->vdev_mg; - if (mg == NULL || !metaslab_group_initialized(mg)) - continue; - - metaslab_class_t *mc = mg->mg_class; - if (mc != normal && mc != special && mc != dedup) - continue; - - /* - * It is safe to do a lock-free check here because only async - * allocations look at mg_max_alloc_queue_depth, and async - * allocations all happen from spa_sync(). - */ - for (int i = 0; i < mg->mg_allocators; i++) { - ASSERT0(zfs_refcount_count( - &(mg->mg_allocator[i].mga_alloc_queue_depth))); - } - mg->mg_max_alloc_queue_depth = max_queue_depth; - - for (int i = 0; i < mg->mg_allocators; i++) { - mg->mg_allocator[i].mga_cur_max_alloc_queue_depth = - zfs_vdev_def_queue_depth; - } - slots_per_allocator += zfs_vdev_def_queue_depth; - } - - for (int i = 0; i < spa->spa_alloc_count; i++) { - ASSERT0(zfs_refcount_count(&normal->mc_allocator[i]. - mca_alloc_slots)); - ASSERT0(zfs_refcount_count(&special->mc_allocator[i]. - mca_alloc_slots)); - ASSERT0(zfs_refcount_count(&dedup->mc_allocator[i]. - mca_alloc_slots)); - normal->mc_allocator[i].mca_alloc_max_slots = - slots_per_allocator; - special->mc_allocator[i].mca_alloc_max_slots = - slots_per_allocator; - dedup->mc_allocator[i].mca_alloc_max_slots = - slots_per_allocator; - } - normal->mc_alloc_throttle_enabled = zio_dva_throttle_enabled; - special->mc_alloc_throttle_enabled = zio_dva_throttle_enabled; - dedup->mc_alloc_throttle_enabled = zio_dva_throttle_enabled; + metaslab_class_balance(spa_normal_class(spa), B_TRUE); + metaslab_class_balance(spa_special_class(spa), B_TRUE); + metaslab_class_balance(spa_dedup_class(spa), B_TRUE); } static void @@ -10156,12 +10105,6 @@ spa_sync(spa_t *spa, uint64_t txg) spa->spa_syncing_txg = txg; spa->spa_sync_pass = 0; - for (int i = 0; i < spa->spa_alloc_count; i++) { - mutex_enter(&spa->spa_allocs[i].spaa_lock); - VERIFY0(avl_numnodes(&spa->spa_allocs[i].spaa_tree)); - mutex_exit(&spa->spa_allocs[i].spaa_lock); - } - /* * If there are any pending vdev state changes, convert them * into config changes that go out with this transaction group. @@ -10274,12 +10217,6 @@ spa_sync(spa_t *spa, uint64_t txg) dsl_pool_sync_done(dp, txg); - for (int i = 0; i < spa->spa_alloc_count; i++) { - mutex_enter(&spa->spa_allocs[i].spaa_lock); - VERIFY0(avl_numnodes(&spa->spa_allocs[i].spaa_tree)); - mutex_exit(&spa->spa_allocs[i].spaa_lock); - } - /* * Update usable space statistics. */ diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c index 3d98a044963..f2b0297787f 100644 --- a/module/zfs/spa_misc.c +++ b/module/zfs/spa_misc.c @@ -759,14 +759,6 @@ spa_add(const char *name, nvlist_t *config, const char *altroot) spa->spa_alloc_count = MAX(MIN(spa_num_allocators, boot_ncpus / MAX(spa_cpus_per_allocator, 1)), 1); - spa->spa_allocs = kmem_zalloc(spa->spa_alloc_count * - sizeof (spa_alloc_t), KM_SLEEP); - for (int i = 0; i < spa->spa_alloc_count; i++) { - mutex_init(&spa->spa_allocs[i].spaa_lock, NULL, MUTEX_DEFAULT, - NULL); - avl_create(&spa->spa_allocs[i].spaa_tree, zio_bookmark_compare, - sizeof (zio_t), offsetof(zio_t, io_queue_node.a)); - } if (spa->spa_alloc_count > 1) { spa->spa_allocs_use = kmem_zalloc(offsetof(spa_allocs_use_t, sau_inuse[spa->spa_alloc_count]), KM_SLEEP); @@ -862,12 +854,6 @@ spa_remove(spa_t *spa) kmem_free(dp, sizeof (spa_config_dirent_t)); } - for (int i = 0; i < spa->spa_alloc_count; i++) { - avl_destroy(&spa->spa_allocs[i].spaa_tree); - mutex_destroy(&spa->spa_allocs[i].spaa_lock); - } - kmem_free(spa->spa_allocs, spa->spa_alloc_count * - sizeof (spa_alloc_t)); if (spa->spa_alloc_count > 1) { mutex_destroy(&spa->spa_allocs_use->sau_lock); kmem_free(spa->spa_allocs_use, offsetof(spa_allocs_use_t, @@ -1318,11 +1304,11 @@ spa_vdev_config_exit(spa_t *spa, vdev_t *vd, uint64_t txg, int error, /* * Verify the metaslab classes. */ - ASSERT(metaslab_class_validate(spa_normal_class(spa)) == 0); - ASSERT(metaslab_class_validate(spa_log_class(spa)) == 0); - ASSERT(metaslab_class_validate(spa_embedded_log_class(spa)) == 0); - ASSERT(metaslab_class_validate(spa_special_class(spa)) == 0); - ASSERT(metaslab_class_validate(spa_dedup_class(spa)) == 0); + metaslab_class_validate(spa_normal_class(spa)); + metaslab_class_validate(spa_log_class(spa)); + metaslab_class_validate(spa_embedded_log_class(spa)); + metaslab_class_validate(spa_special_class(spa)); + metaslab_class_validate(spa_dedup_class(spa)); spa_config_exit(spa, SCL_ALL, spa); diff --git a/module/zfs/vdev_queue.c b/module/zfs/vdev_queue.c index 393fb9515d0..aa41f706603 100644 --- a/module/zfs/vdev_queue.c +++ b/module/zfs/vdev_queue.c @@ -149,7 +149,7 @@ static uint_t zfs_vdev_sync_write_max_active = 10; static uint_t zfs_vdev_async_read_min_active = 1; /* */ uint_t zfs_vdev_async_read_max_active = 3; static uint_t zfs_vdev_async_write_min_active = 2; -/* */ uint_t zfs_vdev_async_write_max_active = 10; +static uint_t zfs_vdev_async_write_max_active = 10; static uint_t zfs_vdev_scrub_min_active = 1; static uint_t zfs_vdev_scrub_max_active = 3; static uint_t zfs_vdev_removal_min_active = 1; @@ -204,31 +204,6 @@ static uint_t zfs_vdev_aggregation_limit_non_rotating = SPA_OLD_MAXBLOCKSIZE; static uint_t zfs_vdev_read_gap_limit = 32 << 10; static uint_t zfs_vdev_write_gap_limit = 4 << 10; -/* - * Define the queue depth percentage for each top-level. This percentage is - * used in conjunction with zfs_vdev_async_max_active to determine how many - * allocations a specific top-level vdev should handle. Once the queue depth - * reaches zfs_vdev_queue_depth_pct * zfs_vdev_async_write_max_active / 100 - * then allocator will stop allocating blocks on that top-level device. - * The default kernel setting is 1000% which will yield 100 allocations per - * device. For userland testing, the default setting is 300% which equates - * to 30 allocations per device. - */ -#ifdef _KERNEL -uint_t zfs_vdev_queue_depth_pct = 1000; -#else -uint_t zfs_vdev_queue_depth_pct = 300; -#endif - -/* - * When performing allocations for a given metaslab, we want to make sure that - * there are enough IOs to aggregate together to improve throughput. We want to - * ensure that there are at least 128k worth of IOs that can be aggregated, and - * we assume that the average allocation size is 4k, so we need the queue depth - * to be 32 per allocator to get good aggregation of sequential writes. - */ -uint_t zfs_vdev_def_queue_depth = 32; - static int vdev_queue_offset_compare(const void *x1, const void *x2) { @@ -1168,9 +1143,3 @@ ZFS_MODULE_PARAM(zfs_vdev, zfs_vdev_, nia_credit, UINT, ZMOD_RW, ZFS_MODULE_PARAM(zfs_vdev, zfs_vdev_, nia_delay, UINT, ZMOD_RW, "Number of non-interactive I/Os before _max_active"); - -ZFS_MODULE_PARAM(zfs_vdev, zfs_vdev_, queue_depth_pct, UINT, ZMOD_RW, - "Queue depth percentage for each top-level vdev"); - -ZFS_MODULE_PARAM(zfs_vdev, zfs_vdev_, def_queue_depth, UINT, ZMOD_RW, - "Default queue depth for each allocator"); diff --git a/module/zfs/vdev_removal.c b/module/zfs/vdev_removal.c index 90d25555d98..a94ac9e60c4 100644 --- a/module/zfs/vdev_removal.c +++ b/module/zfs/vdev_removal.c @@ -1172,10 +1172,10 @@ spa_vdev_copy_segment(vdev_t *vd, zfs_range_tree_t *segs, if (mc->mc_groups == 0) mc = spa_normal_class(spa); int error = metaslab_alloc_dva(spa, mc, size, &dst, 0, NULL, txg, - METASLAB_DONT_THROTTLE, zal, 0); + 0, zal, 0); if (error == ENOSPC && mc != spa_normal_class(spa)) { error = metaslab_alloc_dva(spa, spa_normal_class(spa), size, - &dst, 0, NULL, txg, METASLAB_DONT_THROTTLE, zal, 0); + &dst, 0, NULL, txg, 0, zal, 0); } if (error != 0) return (error); diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 63f57cf2630..5d39d28a7f6 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -3134,8 +3134,7 @@ zio_write_gang_block(zio_t *pio, metaslab_class_t *mc) abd_t *gbh_abd; uint64_t txg = pio->io_txg; uint64_t resid = pio->io_size; - uint64_t lsize; - int copies = gio->io_prop.zp_copies; + uint64_t psize; zio_prop_t zp; int error; boolean_t has_data = !(pio->io_flags & ZIO_FLAG_NODATA); @@ -3150,47 +3149,18 @@ zio_write_gang_block(zio_t *pio, metaslab_class_t *mc) ASSERT3S(gbh_copies, <=, SPA_DVAS_PER_BP); ASSERT(ZIO_HAS_ALLOCATOR(pio)); - int flags = METASLAB_HINTBP_FAVOR | METASLAB_GANG_HEADER; + int flags = METASLAB_GANG_HEADER; if (pio->io_flags & ZIO_FLAG_IO_ALLOCATING) { ASSERT(pio->io_priority == ZIO_PRIORITY_ASYNC_WRITE); ASSERT(has_data); flags |= METASLAB_ASYNC_ALLOC; - VERIFY(zfs_refcount_held(&mc->mc_allocator[pio->io_allocator]. - mca_alloc_slots, pio)); - - /* - * The logical zio has already placed a reservation for - * 'copies' allocation slots but gang blocks may require - * additional copies. These additional copies - * (i.e. gbh_copies - copies) are guaranteed to succeed - * since metaslab_class_throttle_reserve() always allows - * additional reservations for gang blocks. - */ - ASSERT3U(gbh_copies, >=, copies); - VERIFY(metaslab_class_throttle_reserve(mc, gbh_copies - copies, - pio->io_allocator, pio, flags)); } error = metaslab_alloc(spa, mc, SPA_GANGBLOCKSIZE, bp, gbh_copies, txg, pio == gio ? NULL : gio->io_bp, flags, - &pio->io_alloc_list, pio, pio->io_allocator); + &pio->io_alloc_list, pio->io_allocator, pio); if (error) { - if (pio->io_flags & ZIO_FLAG_IO_ALLOCATING) { - ASSERT(pio->io_priority == ZIO_PRIORITY_ASYNC_WRITE); - ASSERT(has_data); - - /* - * If we failed to allocate the gang block header then - * we remove any additional allocation reservations that - * we placed here. The original reservation will - * be removed when the logical I/O goes to the ready - * stage. - */ - metaslab_class_throttle_unreserve(mc, - gbh_copies - copies, pio->io_allocator, pio); - } - pio->io_error = error; return (pio); } @@ -3215,14 +3185,20 @@ zio_write_gang_block(zio_t *pio, metaslab_class_t *mc) ZIO_GANG_CHILD_FLAGS(pio), &pio->io_bookmark); zio_gang_inherit_allocator(pio, zio); + if (pio->io_flags & ZIO_FLAG_IO_ALLOCATING) { + boolean_t more; + VERIFY(metaslab_class_throttle_reserve(mc, gbh_copies, + zio, B_TRUE, &more)); + } /* * Create and nowait the gang children. */ - for (int g = 0; resid != 0; resid -= lsize, g++) { - lsize = P2ROUNDUP(resid / (SPA_GBH_NBLKPTRS - g), - SPA_MINBLOCKSIZE); - ASSERT(lsize >= SPA_MINBLOCKSIZE && lsize <= resid); + for (int g = 0; resid != 0; resid -= psize, g++) { + psize = zio_roundup_alloc_size(spa, + resid / (SPA_GBH_NBLKPTRS - g)); + psize = MIN(resid, psize); + ASSERT3U(psize, >=, SPA_MINBLOCKSIZE); zp.zp_checksum = gio->io_prop.zp_checksum; zp.zp_compress = ZIO_COMPRESS_OFF; @@ -3243,25 +3219,20 @@ zio_write_gang_block(zio_t *pio, metaslab_class_t *mc) zio_t *cio = zio_write(zio, spa, txg, &gbh->zg_blkptr[g], has_data ? abd_get_offset(pio->io_abd, pio->io_size - - resid) : NULL, lsize, lsize, &zp, + resid) : NULL, psize, psize, &zp, zio_write_gang_member_ready, NULL, zio_write_gang_done, &gn->gn_child[g], pio->io_priority, ZIO_GANG_CHILD_FLAGS(pio), &pio->io_bookmark); zio_gang_inherit_allocator(zio, cio); + /* + * We do not reserve for the child writes, since we already + * reserved for the parent. Unreserve though will be called + * for individual children. We can do this since sum of all + * child's physical sizes is equal to parent's physical size. + * It would not work for potentially bigger allocation sizes. + */ - if (pio->io_flags & ZIO_FLAG_IO_ALLOCATING) { - ASSERT(pio->io_priority == ZIO_PRIORITY_ASYNC_WRITE); - ASSERT(has_data); - - /* - * Gang children won't throttle but we should - * account for their work, so reserve an allocation - * slot for them here. - */ - VERIFY(metaslab_class_throttle_reserve(mc, - zp.zp_copies, cio->io_allocator, cio, flags)); - } zio_nowait(cio); } @@ -4029,15 +4000,17 @@ zio_ddt_free(zio_t *zio) */ static zio_t * -zio_io_to_allocate(spa_t *spa, int allocator) +zio_io_to_allocate(metaslab_class_allocator_t *mca, boolean_t *more) { zio_t *zio; - ASSERT(MUTEX_HELD(&spa->spa_allocs[allocator].spaa_lock)); + ASSERT(MUTEX_HELD(&mca->mca_lock)); - zio = avl_first(&spa->spa_allocs[allocator].spaa_tree); - if (zio == NULL) + zio = avl_first(&mca->mca_tree); + if (zio == NULL) { + *more = B_FALSE; return (NULL); + } ASSERT(IO_IS_ALLOCATING(zio)); ASSERT(ZIO_HAS_ALLOCATOR(zio)); @@ -4046,15 +4019,16 @@ zio_io_to_allocate(spa_t *spa, int allocator) * Try to place a reservation for this zio. If we're unable to * reserve then we throttle. */ - ASSERT3U(zio->io_allocator, ==, allocator); if (!metaslab_class_throttle_reserve(zio->io_metaslab_class, - zio->io_prop.zp_copies, allocator, zio, 0)) { + zio->io_prop.zp_copies, zio, B_FALSE, more)) { return (NULL); } - avl_remove(&spa->spa_allocs[allocator].spaa_tree, zio); + avl_remove(&mca->mca_tree, zio); ASSERT3U(zio->io_stage, <, ZIO_STAGE_DVA_ALLOCATE); + if (avl_is_empty(&mca->mca_tree)) + *more = B_FALSE; return (zio); } @@ -4064,9 +4038,14 @@ zio_dva_throttle(zio_t *zio) spa_t *spa = zio->io_spa; zio_t *nio; metaslab_class_t *mc; + boolean_t more; - /* locate an appropriate allocation class */ - mc = spa_preferred_class(spa, zio); + /* + * If not already chosen, choose an appropriate allocation class. + */ + mc = zio->io_metaslab_class; + if (mc == NULL) + mc = spa_preferred_class(spa, zio); if (zio->io_priority == ZIO_PRIORITY_SYNC_WRITE || !mc->mc_alloc_throttle_enabled || @@ -4081,29 +4060,33 @@ zio_dva_throttle(zio_t *zio) ASSERT3U(zio->io_queued_timestamp, >, 0); ASSERT(zio->io_stage == ZIO_STAGE_DVA_THROTTLE); - int allocator = zio->io_allocator; zio->io_metaslab_class = mc; - mutex_enter(&spa->spa_allocs[allocator].spaa_lock); - avl_add(&spa->spa_allocs[allocator].spaa_tree, zio); - nio = zio_io_to_allocate(spa, allocator); - mutex_exit(&spa->spa_allocs[allocator].spaa_lock); + metaslab_class_allocator_t *mca = &mc->mc_allocator[zio->io_allocator]; + mutex_enter(&mca->mca_lock); + avl_add(&mca->mca_tree, zio); + nio = zio_io_to_allocate(mca, &more); + mutex_exit(&mca->mca_lock); return (nio); } static void -zio_allocate_dispatch(spa_t *spa, int allocator) +zio_allocate_dispatch(metaslab_class_t *mc, int allocator) { + metaslab_class_allocator_t *mca = &mc->mc_allocator[allocator]; zio_t *zio; + boolean_t more; - mutex_enter(&spa->spa_allocs[allocator].spaa_lock); - zio = zio_io_to_allocate(spa, allocator); - mutex_exit(&spa->spa_allocs[allocator].spaa_lock); - if (zio == NULL) - return; + do { + mutex_enter(&mca->mca_lock); + zio = zio_io_to_allocate(mca, &more); + mutex_exit(&mca->mca_lock); + if (zio == NULL) + return; - ASSERT3U(zio->io_stage, ==, ZIO_STAGE_DVA_THROTTLE); - ASSERT0(zio->io_error); - zio_taskq_dispatch(zio, ZIO_TASKQ_ISSUE, B_TRUE); + ASSERT3U(zio->io_stage, ==, ZIO_STAGE_DVA_THROTTLE); + ASSERT0(zio->io_error); + zio_taskq_dispatch(zio, ZIO_TASKQ_ISSUE, B_TRUE); + } while (more); } static zio_t * @@ -4126,15 +4109,13 @@ zio_dva_allocate(zio_t *zio) ASSERT3U(zio->io_prop.zp_copies, <=, spa_max_replication(spa)); ASSERT3U(zio->io_size, ==, BP_GET_PSIZE(bp)); - if (zio->io_flags & ZIO_FLAG_NODATA) - flags |= METASLAB_DONT_THROTTLE; if (zio->io_flags & ZIO_FLAG_GANG_CHILD) flags |= METASLAB_GANG_CHILD; if (zio->io_priority == ZIO_PRIORITY_ASYNC_WRITE) flags |= METASLAB_ASYNC_ALLOC; /* - * if not already chosen, locate an appropriate allocation class + * If not already chosen, choose an appropriate allocation class. */ mc = zio->io_metaslab_class; if (mc == NULL) { @@ -4143,6 +4124,7 @@ zio_dva_allocate(zio_t *zio) } ZIOSTAT_BUMP(ziostat_total_allocations); +again: /* * Try allocating the block in the usual metaslab class. * If that's full, allocate it in the normal class. @@ -4157,7 +4139,7 @@ zio_dva_allocate(zio_t *zio) ASSERT(ZIO_HAS_ALLOCATOR(zio)); error = metaslab_alloc(spa, mc, zio->io_size, bp, zio->io_prop.zp_copies, zio->io_txg, NULL, flags, - &zio->io_alloc_list, zio, zio->io_allocator); + &zio->io_alloc_list, zio->io_allocator, zio); /* * Fallback to normal class when an alloc class is full @@ -4184,36 +4166,42 @@ zio_dva_allocate(zio_t *zio) } /* - * If throttling, transfer reservation over to normal class. - * The io_allocator slot can remain the same even though we - * are switching classes. + * If we are holding old class reservation, drop it. + * Dispatch the next ZIO(s) there if some are waiting. */ - if (mc->mc_alloc_throttle_enabled && - (zio->io_flags & ZIO_FLAG_IO_ALLOCATING)) { - metaslab_class_throttle_unreserve(mc, - zio->io_prop.zp_copies, zio->io_allocator, zio); + if (zio->io_flags & ZIO_FLAG_IO_ALLOCATING) { + if (metaslab_class_throttle_unreserve(mc, + zio->io_prop.zp_copies, zio)) { + zio_allocate_dispatch(zio->io_metaslab_class, + zio->io_allocator); + } zio->io_flags &= ~ZIO_FLAG_IO_ALLOCATING; - - VERIFY(metaslab_class_throttle_reserve( - spa_normal_class(spa), - zio->io_prop.zp_copies, zio->io_allocator, zio, - flags | METASLAB_MUST_RESERVE)); } - zio->io_metaslab_class = mc = spa_normal_class(spa); + if (zfs_flags & ZFS_DEBUG_METASLAB_ALLOC) { zfs_dbgmsg("%s: metaslab allocation failure, " "trying normal class: zio %px, size %llu, error %d", spa_name(spa), zio, (u_longlong_t)zio->io_size, error); } - + zio->io_metaslab_class = mc = spa_normal_class(spa); ZIOSTAT_BUMP(ziostat_alloc_class_fallbacks); - error = metaslab_alloc(spa, mc, zio->io_size, bp, - zio->io_prop.zp_copies, zio->io_txg, NULL, flags, - &zio->io_alloc_list, zio, zio->io_allocator); + + /* + * If normal class uses throttling, return to that pipeline + * stage. Otherwise just do another allocation attempt. + */ + if (zio->io_priority != ZIO_PRIORITY_SYNC_WRITE && + mc->mc_alloc_throttle_enabled && + zio->io_child_type != ZIO_CHILD_GANG && + !(zio->io_flags & ZIO_FLAG_NODATA)) { + zio->io_stage = ZIO_STAGE_DVA_THROTTLE >> 1; + return (zio); + } + goto again; } - if (error == ENOSPC && zio->io_size > SPA_MINBLOCKSIZE) { + if (error == ENOSPC && zio->io_size > spa->spa_min_alloc) { if (zfs_flags & ZFS_DEBUG_METASLAB_ALLOC) { zfs_dbgmsg("%s: metaslab allocation failure, " "trying ganging: zio %px, size %llu, error %d", @@ -4316,18 +4304,18 @@ zio_alloc_zil(spa_t *spa, objset_t *os, uint64_t txg, blkptr_t *new_bp, % spa->spa_alloc_count; ZIOSTAT_BUMP(ziostat_total_allocations); error = metaslab_alloc(spa, spa_log_class(spa), size, new_bp, 1, - txg, NULL, flags, &io_alloc_list, NULL, allocator); + txg, NULL, flags, &io_alloc_list, allocator, NULL); *slog = (error == 0); if (error != 0) { error = metaslab_alloc(spa, spa_embedded_log_class(spa), size, - new_bp, 1, txg, NULL, flags, - &io_alloc_list, NULL, allocator); + new_bp, 1, txg, NULL, flags, &io_alloc_list, allocator, + NULL); } if (error != 0) { ZIOSTAT_BUMP(ziostat_alloc_class_fallbacks); error = metaslab_alloc(spa, spa_normal_class(spa), size, - new_bp, 1, txg, NULL, flags, - &io_alloc_list, NULL, allocator); + new_bp, 1, txg, NULL, flags, &io_alloc_list, allocator, + NULL); } metaslab_trace_fini(&io_alloc_list); @@ -5155,10 +5143,12 @@ zio_ready(zio_t *zio) * We were unable to allocate anything, unreserve and * issue the next I/O to allocate. */ - metaslab_class_throttle_unreserve( + if (metaslab_class_throttle_unreserve( zio->io_metaslab_class, zio->io_prop.zp_copies, - zio->io_allocator, zio); - zio_allocate_dispatch(zio->io_spa, zio->io_allocator); + zio)) { + zio_allocate_dispatch(zio->io_metaslab_class, + zio->io_allocator); + } } } @@ -5201,10 +5191,10 @@ zio_ready(zio_t *zio) static void zio_dva_throttle_done(zio_t *zio) { - zio_t *lio __maybe_unused = zio->io_logical; zio_t *pio = zio_unique_parent(zio); vdev_t *vd = zio->io_vd; int flags = METASLAB_ASYNC_ALLOC; + const void *tag = pio; ASSERT3P(zio->io_bp, !=, NULL); ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); @@ -5215,48 +5205,33 @@ zio_dva_throttle_done(zio_t *zio) ASSERT(zio_injection_enabled || !(zio->io_flags & ZIO_FLAG_IO_RETRY)); ASSERT(!(zio->io_flags & ZIO_FLAG_IO_REPAIR)); ASSERT(zio->io_flags & ZIO_FLAG_IO_ALLOCATING); - ASSERT(!(lio->io_flags & ZIO_FLAG_IO_REWRITE)); - ASSERT(!(lio->io_orig_flags & ZIO_FLAG_NODATA)); /* - * Parents of gang children can have two flavors -- ones that - * allocated the gang header (will have ZIO_FLAG_IO_REWRITE set) - * and ones that allocated the constituent blocks. The allocation - * throttle needs to know the allocating parent zio so we must find - * it here. + * Parents of gang children can have two flavors -- ones that allocated + * the gang header (will have ZIO_FLAG_IO_REWRITE set) and ones that + * allocated the constituent blocks. The first use their parent as tag. */ - if (pio->io_child_type == ZIO_CHILD_GANG) { - /* - * If our parent is a rewrite gang child then our grandparent - * would have been the one that performed the allocation. - */ - if (pio->io_flags & ZIO_FLAG_IO_REWRITE) - pio = zio_unique_parent(pio); - flags |= METASLAB_GANG_CHILD; - } + if (pio->io_child_type == ZIO_CHILD_GANG && + (pio->io_flags & ZIO_FLAG_IO_REWRITE)) + tag = zio_unique_parent(pio); - ASSERT(IO_IS_ALLOCATING(pio)); + ASSERT(IO_IS_ALLOCATING(pio) || (pio->io_child_type == ZIO_CHILD_GANG && + (pio->io_flags & ZIO_FLAG_IO_REWRITE))); ASSERT(ZIO_HAS_ALLOCATOR(pio)); ASSERT3P(zio, !=, zio->io_logical); ASSERT(zio->io_logical != NULL); ASSERT(!(zio->io_flags & ZIO_FLAG_IO_REPAIR)); ASSERT0(zio->io_flags & ZIO_FLAG_NOPWRITE); ASSERT(zio->io_metaslab_class != NULL); + ASSERT(zio->io_metaslab_class->mc_alloc_throttle_enabled); - mutex_enter(&pio->io_lock); - metaslab_group_alloc_decrement(zio->io_spa, vd->vdev_id, pio, flags, - pio->io_allocator, B_TRUE); - mutex_exit(&pio->io_lock); + metaslab_group_alloc_decrement(zio->io_spa, vd->vdev_id, + pio->io_allocator, flags, pio->io_size, tag); - metaslab_class_throttle_unreserve(zio->io_metaslab_class, 1, - pio->io_allocator, pio); - - /* - * Call into the pipeline to see if there is more work that - * needs to be done. If there is work to be done it will be - * dispatched to another taskq thread. - */ - zio_allocate_dispatch(zio->io_spa, pio->io_allocator); + if (metaslab_class_throttle_unreserve(zio->io_metaslab_class, 1, pio)) { + zio_allocate_dispatch(zio->io_metaslab_class, + pio->io_allocator); + } } static zio_t * @@ -5285,28 +5260,8 @@ zio_done(zio_t *zio) * by the logical I/O but the actual write is done by child I/Os. */ if (zio->io_flags & ZIO_FLAG_IO_ALLOCATING && - zio->io_child_type == ZIO_CHILD_VDEV) { - ASSERT(zio->io_metaslab_class != NULL); - ASSERT(zio->io_metaslab_class->mc_alloc_throttle_enabled); + zio->io_child_type == ZIO_CHILD_VDEV) zio_dva_throttle_done(zio); - } - - /* - * If the allocation throttle is enabled, verify that - * we have decremented the refcounts for every I/O that was throttled. - */ - if (zio->io_flags & ZIO_FLAG_IO_ALLOCATING) { - ASSERT(zio->io_type == ZIO_TYPE_WRITE); - ASSERT(zio->io_priority == ZIO_PRIORITY_ASYNC_WRITE); - ASSERT(zio->io_bp != NULL); - ASSERT(ZIO_HAS_ALLOCATOR(zio)); - - metaslab_group_alloc_verify(zio->io_spa, zio->io_bp, zio, - zio->io_allocator); - VERIFY(zfs_refcount_not_held(&zio->io_metaslab_class-> - mc_allocator[zio->io_allocator].mca_alloc_slots, zio)); - } - for (int c = 0; c < ZIO_CHILD_TYPES; c++) for (int w = 0; w < ZIO_WAIT_TYPES; w++) From 530ddcd5f1310963dd36252f705f80584cf2d4b1 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 12 Mar 2025 18:56:23 +0000 Subject: [PATCH 39/51] Harmonize on American spelling in several places Most of the documentation is written in American English, so it makes sense to be consistent. Signed-off-by: Simon Howard Reviewed-by: Tony Hutter Reviewed-by: Alexander Motin --- man/man1/ztest.1 | 2 +- man/man4/zfs.4 | 6 +++--- man/man7/zpoolconcepts.7 | 2 +- man/man8/zed.8.in | 2 +- man/man8/zpool-attach.8 | 2 +- man/man8/zpool-remove.8 | 2 +- man/man8/zpool-replace.8 | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/man/man1/ztest.1 b/man/man1/ztest.1 index 6dad1937ebb..0cbb58e40dd 100644 --- a/man/man1/ztest.1 +++ b/man/man1/ztest.1 @@ -176,7 +176,7 @@ Max loops in .It Fl B , -alt-ztest Ns = Path to alternate ("older") .Nm ztest -to drive, which will be used to initialise the pool, and, a stochastic half the +to drive, which will be used to initialize the pool, and, a stochastic half the time, to run the tests. The parallel .Pa lib diff --git a/man/man4/zfs.4 b/man/man4/zfs.4 index e166efe86d7..a493e3f7a8e 100644 --- a/man/man4/zfs.4 +++ b/man/man4/zfs.4 @@ -1131,7 +1131,7 @@ Max memory to use for dedup logs, as a percentage of total memory. .Pp If .Sy zfs_dedup_log_mem_max -is not set, it will be initialised as a percentage of the total memory in the +is not set, it will be initialized as a percentage of the total memory in the system. . .It Sy zfs_delay_min_dirty_percent Ns = Ns Sy 60 Ns % Pq uint @@ -2003,7 +2003,7 @@ as it typically results in leaked space, or worse. .It Sy zfs_removal_ignore_errors Ns = Ns Sy 0 Ns | Ns 1 Pq int Ignore hard I/O errors during device removal. When set, if a device encounters a hard I/O error during the removal process -the removal will not be cancelled. +the removal will not be canceled. This can result in a normally recoverable block becoming permanently damaged and is hence not recommended. This should only be used as a last resort when the @@ -2659,7 +2659,7 @@ and limits. . .It Sy zvol_volmode Ns = Ns Sy 1 Pq uint -Defines zvol block devices behaviour when +Defines zvol block devices behavior when .Sy volmode Ns = Ns Sy default : .Bl -tag -compact -offset 4n -width "a" .It Sy 1 diff --git a/man/man7/zpoolconcepts.7 b/man/man7/zpoolconcepts.7 index 16afb175d37..87feb6d4124 100644 --- a/man/man7/zpoolconcepts.7 +++ b/man/man7/zpoolconcepts.7 @@ -356,7 +356,7 @@ and both pools suffer a device failure at the same time, both could attempt to use the spare at the same time. This may not be detected, resulting in data corruption. .Pp -An in-progress spare replacement can be cancelled by detaching the hot spare. +An in-progress spare replacement can be canceled by detaching the hot spare. If the original faulted device is detached, then the hot spare assumes its place in the configuration, and is removed from the spare list of all active pools. diff --git a/man/man8/zed.8.in b/man/man8/zed.8.in index a00a93c50da..c90a1834403 100644 --- a/man/man8/zed.8.in +++ b/man/man8/zed.8.in @@ -55,7 +55,7 @@ Force the daemon to run if at all possible, disabling security checks and throwing caution to the wind. Not recommended for use in production. .It Fl F -Don't daemonise: remain attached to the controlling terminal, +Don't daemonize: remain attached to the controlling terminal, log to the standard I/O streams. .It Fl M Lock all current and future pages in the virtual memory address space. diff --git a/man/man8/zpool-attach.8 b/man/man8/zpool-attach.8 index fc7022f0a7a..51d87676766 100644 --- a/man/man8/zpool-attach.8 +++ b/man/man8/zpool-attach.8 @@ -70,7 +70,7 @@ is part of a two-way mirror, attaching creates a three-way mirror, and so on. In either case, .Ar new_device -begins to resilver immediately and any running scrub is cancelled. +begins to resilver immediately and any running scrub is canceled. .Pp If the existing device is a RAID-Z device .Pq e.g. specified as Qq Ar raidz2-0 , diff --git a/man/man8/zpool-remove.8 b/man/man8/zpool-remove.8 index e8d6bdc699f..d10a92e49bb 100644 --- a/man/man8/zpool-remove.8 +++ b/man/man8/zpool-remove.8 @@ -70,7 +70,7 @@ command initiates the removal and returns, while the evacuation continues in the background. The removal progress can be monitored with .Nm zpool Cm status . -If an I/O error is encountered during the removal process it will be cancelled. +If an I/O error is encountered during the removal process it will be canceled. The .Sy device_removal feature flag must be enabled to remove a top-level vdev, see diff --git a/man/man8/zpool-replace.8 b/man/man8/zpool-replace.8 index a2a42f5df79..9f3156eeb3e 100644 --- a/man/man8/zpool-replace.8 +++ b/man/man8/zpool-replace.8 @@ -50,7 +50,7 @@ This is equivalent to attaching .Ar new-device , waiting for it to resilver, and then detaching .Ar device . -Any in progress scrub will be cancelled. +Any in progress scrub will be canceled. .Pp The size of .Ar new-device From 73494f33526193b32e7c7dee191eec1742619d87 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 12 Mar 2025 19:00:52 +0000 Subject: [PATCH 40/51] Make use of "i.e." (id est) consistent This is the most common way it is written throughout the manpages, but there are a few cases where it is written slightly differently. Signed-off-by: Simon Howard Reviewed-by: Tony Hutter Reviewed-by: Alexander Motin --- man/man4/spl.4 | 2 +- man/man4/zfs.4 | 2 +- man/man7/zpool-features.7 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/man4/spl.4 b/man/man4/spl.4 index 278e003e236..de11d2b4796 100644 --- a/man/man4/spl.4 +++ b/man/man4/spl.4 @@ -111,7 +111,7 @@ For this reason, can be used to set a maximum magazine size. When this value is set to 0 the magazine size will be automatically determined based on the object size. -Otherwise magazines will be limited to 2-256 objects per magazine (i.e per cpu). +Otherwise magazines will be limited to 2-256 objects per magazine (i.e. per CPU). Magazines may never be entirely disabled in this implementation. . .It Sy spl_hostid Ns = Ns Sy 0 Pq ulong diff --git a/man/man4/zfs.4 b/man/man4/zfs.4 index a493e3f7a8e..6d97a2363d4 100644 --- a/man/man4/zfs.4 +++ b/man/man4/zfs.4 @@ -152,7 +152,7 @@ transition to MRU, in which case the Setting it to 1 means to L2 cache only MFU data and metadata. .Pp Setting it to 2 means to L2 cache all metadata (MRU+MFU) but -only MFU data (ie: MRU data are not cached). This can be the right setting +only MFU data (i.e. MRU data are not cached). This can be the right setting to cache as much metadata as possible even when having high data turnover. .Pp Regardless of diff --git a/man/man7/zpool-features.7 b/man/man7/zpool-features.7 index 05293ecb42e..8ae1b2b3b92 100644 --- a/man/man7/zpool-features.7 +++ b/man/man7/zpool-features.7 @@ -583,7 +583,7 @@ dedup tables. This feature will be .Sy active when the first deduplicated block is written after a new dedup table is created -(ie after a new pool creation, or new checksum used on a dataset with +(i.e. after a new pool creation, or new checksum used on a dataset with .Sy dedup enabled). It will be returned to the From b386bf87c15212351c6ecc07efffbc11dadeb3a2 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 12 Mar 2025 19:12:50 +0000 Subject: [PATCH 41/51] Fix cases where "descendent" is used as a noun As per Wiktionary: "descendent" may be used as an adjective (e.g. "a descendent dataset") but for nouns (e.g. "descendants of this dataset"), "descendant" is the correct spelling. Signed-off-by: Simon Howard Reviewed-by: Tony Hutter Reviewed-by: Alexander Motin --- man/man7/zfsprops.7 | 22 +++++++++++----------- man/man8/zfs-allow.8 | 6 +++--- man/man8/zfs-send.8 | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/man/man7/zfsprops.7 b/man/man7/zfsprops.7 index 8626fa3d2d4..534d6c76205 100644 --- a/man/man7/zfsprops.7 +++ b/man/man7/zfsprops.7 @@ -220,7 +220,7 @@ This property can also be referred to by its shortened column name, .It Sy logicalused The amount of space that is .Qq logically -consumed by this dataset and all its descendents. +consumed by this dataset and all its descendants. See the .Sy used property. @@ -298,7 +298,7 @@ The type of dataset: or .Sy bookmark . .It Sy used -The amount of space consumed by this dataset and all its descendents. +The amount of space consumed by this dataset and all its descendants. This is the value that is checked against this dataset's quota and reservation. The space used does not include this dataset's reservation, but does take into account the reservations of any descendent datasets. @@ -361,7 +361,7 @@ The amount of space used by this dataset itself, which would be freed if the dataset were destroyed .Po after first removing any .Sy refreservation -and destroying any necessary snapshots or descendents +and destroying any necessary snapshots or descendants .Pc . .It Sy usedbyrefreservation The amount of space used by a @@ -1270,7 +1270,7 @@ Setting a .Sy filesystem_limit to .Sy on -a descendent of a filesystem that already has a +a descendant of a filesystem that already has a .Sy filesystem_limit does not override the ancestor's .Sy filesystem_limit , @@ -1362,11 +1362,11 @@ then only metadata is cached. The default value is .Sy all . .It Sy quota Ns = Ns Ar size Ns | Ns Sy none -Limits the amount of space a dataset and its descendents can consume. +Limits the amount of space a dataset and its descendants can consume. This property enforces a hard limit on the amount of space used. -This includes all space consumed by descendents, including file systems and +This includes all space consumed by descendants, including file systems and snapshots. -Setting a quota on a descendent of a dataset that already has a quota does not +Setting a quota on a descendant of a dataset that already has a quota does not override the ancestor's quota, but rather imposes an additional limit. .Pp Quotas cannot be set on volumes, as the @@ -1374,10 +1374,10 @@ Quotas cannot be set on volumes, as the property acts as an implicit quota. .It Sy snapshot_limit Ns = Ns Ar count Ns | Ns Sy none Limits the number of snapshots that can be created on a dataset and its -descendents. +descendants. Setting a .Sy snapshot_limit -on a descendent of a dataset that already has a +on a descendant of a dataset that already has a .Sy snapshot_limit does not override the ancestor's .Sy snapshot_limit , @@ -1608,11 +1608,11 @@ The default value is .It Sy refquota Ns = Ns Ar size Ns | Ns Sy none Limits the amount of space a dataset can consume. This property enforces a hard limit on the amount of space used. -This hard limit does not include space used by descendents, including file +This hard limit does not include space used by descendants, including file systems and snapshots. .It Sy refreservation Ns = Ns Ar size Ns | Ns Sy none Ns | Ns Sy auto The minimum amount of space guaranteed to a dataset, not including its -descendents. +descendants. When the amount of space used is below this value, the dataset is treated as if it were taking up the amount of space specified by .Sy refreservation . diff --git a/man/man8/zfs-allow.8 b/man/man8/zfs-allow.8 index 0ea9ea21601..22e98ad0927 100644 --- a/man/man8/zfs-allow.8 +++ b/man/man8/zfs-allow.8 @@ -188,7 +188,7 @@ form below for details. If neither of the .Fl dl options are specified, or both are, then the permissions are allowed for the -file system or volume, and all of its descendents. +file system or volume, and all of its descendants. .Pp Permissions are generally the ability to use a ZFS subcommand or change a ZFS property. @@ -311,7 +311,7 @@ to the creator of any newly-created descendent file system. Defines or adds permissions to a permission set. The set can be used by other .Nm zfs Cm allow -commands for the specified file system and its descendents. +commands for the specified file system and its descendants. Sets are evaluated dynamically, so changes to a set are immediately reflected. Permission sets follow the same naming restrictions as ZFS file systems, but the name must begin with @@ -371,7 +371,7 @@ command for a description of the options. .Bl -tag -width "-r" .It Fl r -Recursively remove the permissions from this file system and all descendents. +Recursively remove the permissions from this file system and all descendants. .El .It Xo .Nm zfs diff --git a/man/man8/zfs-send.8 b/man/man8/zfs-send.8 index a05e674586f..c920a5a4879 100644 --- a/man/man8/zfs-send.8 +++ b/man/man8/zfs-send.8 @@ -296,7 +296,7 @@ hierarchy. When a snapshot is missing, instead of throwing an error and aborting the send, a warning is printed to the standard error stream and the dataset to which it belongs -and its descendents are skipped. +and its descendants are skipped. This flag can only be used in conjunction with .Fl R . .It Fl v , -verbose From 1d4505d7a1a17f9d5f91e04e2fc0e0cd5b3e4342 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 12 Mar 2025 19:17:50 +0000 Subject: [PATCH 42/51] Capitalize in various places where appropriate These are mostly acronyms (CPUs; ZILs) but also proper nouns such as "Unix" and "Unicode" which should also be capitalized. Signed-off-by: Simon Howard Reviewed-by: Tony Hutter Reviewed-by: Alexander Motin --- man/man4/spl.4 | 6 +++--- man/man4/zfs.4 | 4 ++-- man/man7/zfsprops.7 | 6 +++--- man/man8/zfs-hold.8 | 2 +- man/man8/zpool.8 | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/man/man4/spl.4 b/man/man4/spl.4 index de11d2b4796..683f8e2b631 100644 --- a/man/man4/spl.4 +++ b/man/man4/spl.4 @@ -100,7 +100,7 @@ when exceeding this value. .It Sy spl_kmem_cache_magazine_size Ns = Ns Sy 0 Pq uint Cache magazines are an optimization designed to minimize the cost of allocating memory. -They do this by keeping a per-cpu cache of recently +They do this by keeping a per-CPU cache of recently freed objects, which can then be reallocated without taking a lock. This can improve performance on highly contended caches. However, because objects in magazines will prevent otherwise empty slabs @@ -111,8 +111,8 @@ For this reason, can be used to set a maximum magazine size. When this value is set to 0 the magazine size will be automatically determined based on the object size. -Otherwise magazines will be limited to 2-256 objects per magazine (i.e. per CPU). -Magazines may never be entirely disabled in this implementation. +Otherwise magazines will be limited to 2-256 objects per magazine (i.e. per +CPU). Magazines may never be entirely disabled in this implementation. . .It Sy spl_hostid Ns = Ns Sy 0 Pq ulong The system hostid, when set this can be used to uniquely identify a system. diff --git a/man/man4/zfs.4 b/man/man4/zfs.4 index 6d97a2363d4..fedb541f59f 100644 --- a/man/man4/zfs.4 +++ b/man/man4/zfs.4 @@ -1307,7 +1307,7 @@ This should be less than .Sy zfs_vdev_async_write_active_min_dirty_percent . . .It Sy zfs_wrlog_data_max Ns = Pq int -The upper limit of write-transaction zil log data size in bytes. +The upper limit of write-transaction ZIL log data size in bytes. Write operations are throttled when approaching the limit until log data is cleared out after transaction group sync. Because of some overhead, it should be set at least 2 times the size of @@ -2408,7 +2408,7 @@ This controls the number of threads used by .Sy dp_zil_clean_taskq . The default value of .Sy 100% -will create a maximum of one thread per cpu. +will create a maximum of one thread per CPU. . .It Sy zil_maxblocksize Ns = Ns Sy 131072 Ns B Po 128 KiB Pc Pq uint This sets the maximum block size used by the ZIL. diff --git a/man/man7/zfsprops.7 b/man/man7/zfsprops.7 index 534d6c76205..c9f94babbf5 100644 --- a/man/man7/zfsprops.7 +++ b/man/man7/zfsprops.7 @@ -263,10 +263,10 @@ this opaque token can be provided to to resume and complete the .Nm zfs Cm receive . .It Sy redact_snaps -For bookmarks, this is the list of snapshot guids the bookmark contains a +For bookmarks, this is the list of snapshot GUIDs the bookmark contains a redaction list for. -For snapshots, this is the list of snapshot guids the snapshot is redacted with +For snapshots, this is the list of snapshot GUIDs the snapshot is redacted with respect to. .It Sy referenced The amount of data that is accessible by this dataset, which may or may not be @@ -2098,7 +2098,7 @@ value behavior, see the "ZFS Administration Guide". .Sy formD Ns | Ns Sy formKC Ns | Ns Sy formKD .Xc Indicates whether the file system should perform a -.Sy unicode +.Sy Unicode normalization of file names whenever two file names are compared, and which normalization algorithm should be used. File names are always stored unmodified, names are normalized as part of any diff --git a/man/man8/zfs-hold.8 b/man/man8/zfs-hold.8 index 3895acab3fa..0c88937f0dc 100644 --- a/man/man8/zfs-hold.8 +++ b/man/man8/zfs-hold.8 @@ -88,7 +88,7 @@ listing the holds on the named snapshot. .It Fl H Do not print headers, use tab-delimited output. .It Fl p -Prints holds timestamps as unix epoch timestamps. +Prints holds timestamps as Unix epoch timestamps. .El .It Xo .Nm zfs diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index 115b5547174..b9694405059 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -535,7 +535,7 @@ The value is not used, only the presence or absence of the variable matters. .It Sy ZPOOL_VDEV_NAME_GUID Cause .Nm -subcommands to output vdev guids by default. +subcommands to output vdev GUIDs by default. This behavior is identical to the .Nm zpool Cm status Fl g command line option. From e759a86fa53f48c84c6e464908cc203199e25fd4 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 12 Mar 2025 19:24:57 +0000 Subject: [PATCH 43/51] Correct "umount" to "unmount" in a couple of places This is admittedly a nitpicky change, but `umount` is the command that performs an *unmount*. So if we are talking about unmounting something we should phrase it that way. Signed-off-by: Simon Howard Reviewed-by: Tony Hutter Reviewed-by: Alexander Motin --- man/man7/zfsprops.7 | 2 +- man/man8/zfs-allow.8 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/man7/zfsprops.7 b/man/man7/zfsprops.7 index c9f94babbf5..2041d0bba37 100644 --- a/man/man7/zfsprops.7 +++ b/man/man7/zfsprops.7 @@ -1329,7 +1329,7 @@ as it was before. Controls whether the file system should be mounted with .Sy nbmand .Pq Non-blocking mandatory locks . -Changes to this property only take effect when the file system is umounted and +Changes to this property only take effect when the file system is unmounted and remounted. This was only supported by Linux prior to 5.15, and was buggy there, and is not supported by diff --git a/man/man8/zfs-allow.8 b/man/man8/zfs-allow.8 index 22e98ad0927..5a8e80bf6a4 100644 --- a/man/man8/zfs-allow.8 +++ b/man/man8/zfs-allow.8 @@ -206,7 +206,7 @@ diff subcommand Allows lookup of paths within a dataset given an object number, hold subcommand Allows adding a user hold to a snapshot load-key subcommand Allows loading and unloading of encryption key (see \fBzfs load-key\fR and \fBzfs unload-key\fR). change-key subcommand Allows changing an encryption key via \fBzfs change-key\fR. -mount subcommand Allows mounting/umounting ZFS datasets +mount subcommand Allows mounting/unmounting ZFS datasets promote subcommand Must also have the \fBmount\fR and \fBpromote\fR ability in the origin file system receive subcommand Must also have the \fBmount\fR and \fBcreate\fR ability, required for \fBzfs receive -F\fR (see also \fBreceive:append\fR for limited, non forced receive) release subcommand Allows releasing a user hold which might destroy the snapshot From ef8181272639bee04b71d309b727052299e0ea28 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 12 Mar 2025 19:27:27 +0000 Subject: [PATCH 44/51] Fix spelling errors Unlike some of my other fixes which are more subtle, these are unambigously spelling errors. Signed-off-by: Simon Howard Reviewed-by: Tony Hutter Reviewed-by: Alexander Motin --- man/man4/zfs.4 | 8 ++++---- man/man7/vdevprops.7 | 4 ++-- man/man8/zpool-events.8 | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/man/man4/zfs.4 b/man/man4/zfs.4 index fedb541f59f..f5881d7faf5 100644 --- a/man/man4/zfs.4 +++ b/man/man4/zfs.4 @@ -237,7 +237,7 @@ in reading stored log metadata, or the metadata has become somehow fragmented/unusable). . .It Sy l2arc_rebuild_blocks_min_l2size Ns = Ns Sy 1073741824 Ns B Po 1 GiB Pc Pq u64 -Mininum size of an L2ARC device required in order to write log blocks in it. +Minimum size of an L2ARC device required in order to write log blocks in it. The log blocks are used upon importing the pool to rebuild the persistent L2ARC. .Pp For L2ARC devices less than 1 GiB, the amount of data @@ -582,16 +582,16 @@ most ZPL operations (e.g. write, create) will return .Sy ENOSPC . . .It Sy spa_num_allocators Ns = Ns Sy 4 Pq int -Determines the number of block alloctators to use per spa instance. +Determines the number of block allocators to use per spa instance. Capped by the number of actual CPUs in the system via .Sy spa_cpus_per_allocator . .Pp Note that setting this value too high could result in performance -degredation and/or excess fragmentation. +degradation and/or excess fragmentation. Set value only applies to pools imported/created after that. . .It Sy spa_cpus_per_allocator Ns = Ns Sy 4 Pq int -Determines the minimum number of CPUs in a system for block alloctator +Determines the minimum number of CPUs in a system for block allocator per spa instance. Set value only applies to pools imported/created after that. . diff --git a/man/man7/vdevprops.7 b/man/man7/vdevprops.7 index 209582e34d7..acabe6b6613 100644 --- a/man/man7/vdevprops.7 +++ b/man/man7/vdevprops.7 @@ -72,7 +72,7 @@ state of this vdev such as online, faulted, or offline .It Sy guid globally unique id of this vdev .It Sy asize -The allocable size of this vdev +The allocatable size of this vdev .It Sy psize The physical size of this vdev .It Sy ashift @@ -96,7 +96,7 @@ The physical path to the device .It Sy encpath The enclosure path to the device .It Sy fru -Field Replacable Unit, usually a model number +Field Replaceable Unit, usually a model number .It Sy parent Parent of this vdev .It Sy children diff --git a/man/man8/zpool-events.8 b/man/man8/zpool-events.8 index d4e820fc58d..a176e54a2b7 100644 --- a/man/man8/zpool-events.8 +++ b/man/man8/zpool-events.8 @@ -112,7 +112,7 @@ See .Xr zfs 4 for more details on the .Sy zfs_vdev_direct_write_verify -module paramter. +module parameter. .It Sy config Issued every time a vdev change have been done to the pool. .It Sy zpool From fd018248d5f70ad5dec92863ed2a9b5de649238b Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 12 Mar 2025 20:13:29 +0000 Subject: [PATCH 45/51] Disambiguate reference to kibibytes, not kilobytes A minor nitpick that is kind of obvious based on the surrounding context and reference to powers of two. It's better to be explicit, though. Signed-off-by: Simon Howard Reviewed-by: Tony Hutter Reviewed-by: Alexander Motin --- man/man7/zfsprops.7 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/man7/zfsprops.7 b/man/man7/zfsprops.7 index 2041d0bba37..cf925af9e9b 100644 --- a/man/man7/zfsprops.7 +++ b/man/man7/zfsprops.7 @@ -543,8 +543,8 @@ cannot be changed once the volume has been written, so it should be set at volume creation time. The default .Sy blocksize -for volumes is 16 Kbytes. -Any power of 2 from 512 bytes to 128 Kbytes is valid. +for volumes is 16 KiB. +Any power of 2 from 512 bytes to 128 KiB is valid. .Pp This property can also be referred to by its shortened column name, .Sy volblock . From 885f87fa3ef93757e59a72c96971f76f277a8b65 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Tue, 25 Mar 2025 10:30:48 -0700 Subject: [PATCH 46/51] ZTS: Fix zpool_status_features_001_pos local test (#17174) Update 'zfs-helpers.sh -i' to install the compatibility.d/ file symlinks. These are need to run the zpool_status_features_001_pos test from a local workspace (as opposed to running ZTS from a formal 'make install' or install from RPMs, which are unaffected). Signed-off-by: Tony Hutter Reviewed-by: @ImAwsumm Reviewed-by: Alexander Motin --- scripts/Makefile.am | 1 + scripts/zfs-helpers.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/scripts/Makefile.am b/scripts/Makefile.am index ee8fb8717ce..f623526307b 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -59,6 +59,7 @@ export INSTALL_UDEV_RULE_DIR=$(udevruledir) export INSTALL_MOUNT_HELPER_DIR=$(mounthelperdir) export INSTALL_SYSCONF_DIR=$(sysconfdir) export INSTALL_PYTHON_DIR=$(pythonsitedir) +export INSTALL_PKGDATA_DIR=$(pkgdatadir) export KMOD_SPL=$(abs_top_builddir)/module/spl.ko export KMOD_ZFS=$(abs_top_builddir)/module/zfs.ko diff --git a/scripts/zfs-helpers.sh b/scripts/zfs-helpers.sh index 8dcb0630126..b45384a9aa5 100755 --- a/scripts/zfs-helpers.sh +++ b/scripts/zfs-helpers.sh @@ -163,6 +163,7 @@ if [ "${INSTALL}" = "yes" ]; then install "$UDEV_RULE_DIR/$rule" "$INSTALL_UDEV_RULE_DIR/$rule" done install "$ZPOOL_SCRIPT_DIR" "$INSTALL_SYSCONF_DIR/zfs/zpool.d" + install "$ZPOOL_COMPAT_DIR" "$INSTALL_PKGDATA_DIR/compatibility.d" install "$CONTRIB_DIR/pyzfs/libzfs_core" "$INSTALL_PYTHON_DIR/libzfs_core" # Ideally we would install these in the configured ${libdir}, which is # by default "/usr/local/lib and unfortunately not included in the @@ -179,6 +180,7 @@ else remove "$INSTALL_UDEV_RULE_DIR/69-vdev.rules" remove "$INSTALL_UDEV_RULE_DIR/90-zfs.rules" remove "$INSTALL_SYSCONF_DIR/zfs/zpool.d" + remove "$INSTALL_PKGDATA_DIR/compatibility.d" remove "$INSTALL_PYTHON_DIR/libzfs_core" remove "/lib/libzfs_core.so" remove "/lib/libnvpair.so" From 9611dfdc70882ecdce14816d020f55dba05fbb69 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Tue, 25 Mar 2025 10:35:01 -0700 Subject: [PATCH 47/51] Linux 6.14 compat: META (#17098) (#17172) Update the META file to reflect compatibility with the 6.14 kernel. Signed-off-by: Tony Hutter Reviewed-by: Rob Norris Reviewed-by: Brian Behlendorf Reviewed-by: @ImAwsumm --- META | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/META b/META index 161bec0ce8a..6249d5ec245 100644 --- a/META +++ b/META @@ -6,5 +6,5 @@ Release: 1 Release-Tags: relext License: CDDL Author: OpenZFS -Linux-Maximum: 6.13 +Linux-Maximum: 6.14 Linux-Minimum: 4.18 From a0e62718cfcffd149b797ff9094ae2f009752f43 Mon Sep 17 00:00:00 2001 From: Pavel Snajdr Date: Tue, 25 Mar 2025 23:20:16 +0100 Subject: [PATCH 48/51] Linux: Fix zfs_prune panics v2 (#17121) It turns out that approach taken in the original version of the patch was wrong. So now, we're taking approach in-line with how kernel actually does it - when sb is being torn down, access to it is serialized via sb->s_umount rwsem, only when that lock is taken is it okay to work with s_flags - and the other mistake I was doing was trying to make SB_ACTIVE work, but apparently the kernel checks the negative variant - not SB_DYING and not SB_BORN. Kernels pre-6.6 don't have SB_DYING, but check if sb is hashed instead. Signed-off-by: Pavel Snajdr Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- config/kernel-sb-dying.m4 | 19 +++++++++++++++++++ config/kernel.m4 | 2 ++ module/os/linux/zfs/zpl_super.c | 26 +++++++++++++++++--------- 3 files changed, 38 insertions(+), 9 deletions(-) create mode 100644 config/kernel-sb-dying.m4 diff --git a/config/kernel-sb-dying.m4 b/config/kernel-sb-dying.m4 new file mode 100644 index 00000000000..882f3e54235 --- /dev/null +++ b/config/kernel-sb-dying.m4 @@ -0,0 +1,19 @@ +dnl # +dnl # SB_DYING exists since Linux 6.6 +dnl # +AC_DEFUN([ZFS_AC_KERNEL_SRC_SB_DYING], [ + ZFS_LINUX_TEST_SRC([sb_dying], [ + #include + ],[ + (void) SB_DYING; + ]) +]) + +AC_DEFUN([ZFS_AC_KERNEL_SB_DYING], [ + AC_MSG_CHECKING([whether SB_DYING is defined]) + ZFS_LINUX_TEST_RESULT([sb_dying], [ + AC_MSG_RESULT(yes) + ],[ + AC_MSG_RESULT(no) + ]) +]) diff --git a/config/kernel.m4 b/config/kernel.m4 index 9928ead1b6c..1716704de2a 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -73,6 +73,7 @@ AC_DEFUN([ZFS_AC_KERNEL_TEST_SRC], [ ZFS_AC_KERNEL_SRC_TRUNCATE_SETSIZE ZFS_AC_KERNEL_SRC_SECURITY_INODE ZFS_AC_KERNEL_SRC_FST_MOUNT + ZFS_AC_KERNEL_SRC_SB_DYING ZFS_AC_KERNEL_SRC_SET_NLINK ZFS_AC_KERNEL_SRC_SGET ZFS_AC_KERNEL_SRC_VFS_FILEMAP_DIRTY_FOLIO @@ -184,6 +185,7 @@ AC_DEFUN([ZFS_AC_KERNEL_TEST_RESULT], [ ZFS_AC_KERNEL_TRUNCATE_SETSIZE ZFS_AC_KERNEL_SECURITY_INODE ZFS_AC_KERNEL_FST_MOUNT + ZFS_AC_KERNEL_SB_DYING ZFS_AC_KERNEL_SET_NLINK ZFS_AC_KERNEL_SGET ZFS_AC_KERNEL_VFS_FILEMAP_DIRTY_FOLIO diff --git a/module/os/linux/zfs/zpl_super.c b/module/os/linux/zfs/zpl_super.c index 948fdf8428d..40c25e464c5 100644 --- a/module/os/linux/zfs/zpl_super.c +++ b/module/os/linux/zfs/zpl_super.c @@ -377,17 +377,25 @@ zpl_prune_sb(uint64_t nr_to_scan, void *arg) int objects = 0; /* - * deactivate_locked_super calls shrinker_free and only then - * sops->kill_sb cb, resulting in UAF on umount when trying to reach - * for the shrinker functions in zpl_prune_sb of in-umount dataset. - * Increment if s_active is not zero, but don't prune if it is - - * umount could be underway. + * Ensure the superblock is not in the process of being torn down. */ - if (atomic_inc_not_zero(&sb->s_active)) { - (void) -zfs_prune(sb, nr_to_scan, &objects); - atomic_dec(&sb->s_active); +#ifdef HAVE_SB_DYING + if (down_read_trylock(&sb->s_umount)) { + if (!(sb->s_flags & SB_DYING) && sb->s_root && + (sb->s_flags & SB_BORN)) { + (void) zfs_prune(sb, nr_to_scan, &objects); + } + up_read(&sb->s_umount); } - +#else + if (down_read_trylock(&sb->s_umount)) { + if (!hlist_unhashed(&sb->s_instances) && + sb->s_root && (sb->s_flags & SB_BORN)) { + (void) zfs_prune(sb, nr_to_scan, &objects); + } + up_read(&sb->s_umount); + } +#endif } const struct super_operations zpl_super_operations = { From 240fc4a6d15cc7e875809b1d2f3d702b7812fd01 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Wed, 26 Mar 2025 12:57:07 -0700 Subject: [PATCH 49/51] runners: Fix zfs-release RPM creation (#17173) The zfs-qemu-packages workflow was incorrectly copying the built zfs-release RPMs to ~/zfsonlinux.github.com rather than ~/zfs. This meant that the RPMs were not being correctly picked in the artifacts files. This fixes the issue. Signed-off-by: Tony Hutter Reviewed-by: Brian Behlendorf Reviewed-by: @ImAwsumm Reviewed-by: Tino Reichardt --- .github/workflows/scripts/qemu-4-build-vm.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/qemu-4-build-vm.sh b/.github/workflows/scripts/qemu-4-build-vm.sh index 766352ba824..9d3cd76ca1e 100755 --- a/.github/workflows/scripts/qemu-4-build-vm.sh +++ b/.github/workflows/scripts/qemu-4-build-vm.sh @@ -259,8 +259,9 @@ function rpm_build_and_install() { # ZFS release RPMs are built. Copy them to the ~/zfs directory just to # keep all the RPMs in the same place. - cp ~/rpmbuild/RPMS/noarch/*.rpm . - cp ~/rpmbuild/SRPMS/*.rpm . + cp ~/rpmbuild/RPMS/noarch/*.rpm ~/zfs + cp ~/rpmbuild/SRPMS/*.rpm ~/zfs + popd rm -fr ~/rpmbuild echo "##[endgroup]" From 50d87fed6a3a65c69579c37e1ba4045a49f241c7 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Wed, 26 Mar 2025 13:13:33 -0700 Subject: [PATCH 50/51] runners: Fix tarball build for zfs-qemu-packages workflow (#17158) The initial tarballs we built for for zfs-2.3.1 were incorrect since they did not have a ./configure script, and their files were not in a top level zfs-2.3.1/ directory. This commit copies the way we built them on buildbot so the tarballs are created as expected. Signed-off-by: Tony Hutter Reviewed-by: Tino Reichardt Reviewed-by: Brian Behlendorf --- .github/workflows/scripts/qemu-4-build-vm.sh | 28 +++++++++++++------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/scripts/qemu-4-build-vm.sh b/.github/workflows/scripts/qemu-4-build-vm.sh index 9d3cd76ca1e..7583c4ffa3a 100755 --- a/.github/workflows/scripts/qemu-4-build-vm.sh +++ b/.github/workflows/scripts/qemu-4-build-vm.sh @@ -301,6 +301,17 @@ function deb_build_and_install() { echo "##[endgroup]" } +function build_tarball { + if [ -n "$REPO" ] ; then + ./autogen.sh + ./configure --with-config=srpm + make dist + mkdir -p /tmp/repo/releases + # The tarball name is based off of 'Version' field in the META file. + mv *.tar.gz /tmp/repo/releases/ + fi +} + # Debug: show kernel cmdline if [ -f /proc/cmdline ] ; then cat /proc/cmdline || true @@ -340,6 +351,13 @@ case "$OS" in ;; fedora*) rpm_build_and_install "$extra" + + # Historically, we've always built the release tarballs on Fedora, since + # there was one instance long ago where we built them on CentOS 7, and they + # didn't work correctly for everyone. + if [ -n "$TARBALL" ] ; then + build_tarball + fi ;; debian*|ubuntu*) deb_build_and_install "$extra" @@ -349,16 +367,6 @@ case "$OS" in ;; esac -# Optionally build tarballs. The tarball's root directory name will be named -# after the current tag, like 'zfs-2.3.0' or 'master'. -if [ -n "$TARBALL" ] ; then - tag="$(git symbolic-ref -q --short HEAD || git describe --tags --exact-match)" - git archive --format=tar.gz -o $tag.tar.gz $tag - if [ -n "$REPO" ] ; then - mkdir -p /tmp/repo/releases - cp $tag.tar.gz /tmp/repo/releases - fi -fi # building the zfs module was ok echo 0 > /var/tmp/build-exitcode.txt From 4abc21b28c22d93c06e1e51c1f9019b4fa4e0d51 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Wed, 26 Mar 2025 19:45:34 -0400 Subject: [PATCH 51/51] Block remap for cloned blocks on device removal When after device removal we handle block pointers remap, skip blocks that might be cloned. BRTs are indexed by vdev id and offset from block pointer's DVA[0]. So if we start addressing the same block by some different DVA, we won't get the proper reference counter. As result, we might either remap the block twice, that may result in assertion during indirect mapping condense, or free it prematurely, that may result in data overwrite, or free it twice, that may result in assertion in spacemap code. Reviewed-by: Ameer Hamza Reviewed-by: Paul Dagnelie Reviewed-by: Brian Behlendorf Signed-off-by: Alexander Motin Sponsored by: iXsystems, Inc. Closes #15604 Closes #17180 --- module/zfs/metaslab.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/module/zfs/metaslab.c b/module/zfs/metaslab.c index e723d7640be..ec25855cdcd 100644 --- a/module/zfs/metaslab.c +++ b/module/zfs/metaslab.c @@ -28,6 +28,7 @@ */ #include +#include #include #include #include @@ -5536,6 +5537,13 @@ spa_remap_blkptr(spa_t *spa, blkptr_t *bp, spa_remap_cb_t callback, void *arg) if (BP_GET_NDVAS(bp) < 1) return (B_FALSE); + /* + * Cloned blocks can not be remapped since BRT depends on specific + * vdev id and offset in the DVA[0] for its reference counting. + */ + if (!BP_IS_METADATA(bp) && brt_maybe_exists(spa, bp)) + return (B_FALSE); + /* * Note: we only remap dva[0]. If we remapped other dvas, we * would no longer know what their phys birth txg is.