aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2020-08-24 22:48:19 +0000
committerMatt Macy <mmacy@FreeBSD.org>2020-08-24 22:48:19 +0000
commit3b0ce0e28db46d0403929aba45c682285e1ac217 (patch)
tree91721e6e5518bd0d8113dee535898f2225443411
downloadsrc-3b0ce0e28db46d0403929aba45c682285e1ac217.tar.gz
src-3b0ce0e28db46d0403929aba45c682285e1ac217.zip
Vendor import of openzfs master @ 184df27eef0abdc7ab2105b21257f753834b936bvendor/openzfs/2.0-rc0-g184df27
Sponsored by: iX Systems, Inc.
Notes
Notes: svn path=/vendor-sys/openzfs/dist/; revision=364736 svn path=/vendor-sys/openzfs/2.0-rc0-g184df27/; revision=364741; tag=vendor/openzfs/2.0-rc0-g184df27
-rw-r--r--AUTHORS308
-rw-r--r--CODE_OF_CONDUCT.md2
-rw-r--r--COPYRIGHT31
-rw-r--r--LICENSE384
-rw-r--r--META10
-rw-r--r--Makefile.am256
-rw-r--r--NEWS3
-rw-r--r--NOTICE16
-rw-r--r--README.md35
-rw-r--r--TEST50
-rwxr-xr-xautogen.sh4
-rw-r--r--cmd/Makefile.am10
-rw-r--r--cmd/arc_summary/.gitignore1
-rw-r--r--cmd/arc_summary/Makefile.am13
-rwxr-xr-xcmd/arc_summary/arc_summary21093
-rwxr-xr-xcmd/arc_summary/arc_summary3943
-rw-r--r--cmd/arcstat/.gitignore1
-rw-r--r--cmd/arcstat/Makefile.am5
-rwxr-xr-xcmd/arcstat/arcstat.in494
-rw-r--r--cmd/dbufstat/.gitignore1
-rw-r--r--cmd/dbufstat/Makefile.am5
-rwxr-xr-xcmd/dbufstat/dbufstat.in669
-rw-r--r--cmd/fsck_zfs/Makefile.am1
-rwxr-xr-xcmd/fsck_zfs/fsck.zfs9
-rw-r--r--cmd/mount_zfs/.gitignore1
-rw-r--r--cmd/mount_zfs/Makefile.am20
-rw-r--r--cmd/mount_zfs/mount_zfs.c408
-rw-r--r--cmd/raidz_test/.gitignore1
-rw-r--r--cmd/raidz_test/Makefile.am20
-rw-r--r--cmd/raidz_test/raidz_bench.c227
-rw-r--r--cmd/raidz_test/raidz_test.c782
-rw-r--r--cmd/raidz_test/raidz_test.h116
-rw-r--r--cmd/vdev_id/Makefile.am1
-rwxr-xr-xcmd/vdev_id/vdev_id605
-rw-r--r--cmd/zdb/.gitignore1
-rw-r--r--cmd/zdb/Makefile.am16
-rw-r--r--cmd/zdb/zdb.c8606
-rw-r--r--cmd/zdb/zdb.h33
-rw-r--r--cmd/zdb/zdb_il.c431
-rw-r--r--cmd/zed/.gitignore1
-rw-r--r--cmd/zed/Makefile.am49
-rw-r--r--cmd/zed/agents/README.md112
-rw-r--r--cmd/zed/agents/fmd_api.c760
-rw-r--r--cmd/zed/agents/fmd_api.h246
-rw-r--r--cmd/zed/agents/fmd_serd.c316
-rw-r--r--cmd/zed/agents/fmd_serd.h86
-rw-r--r--cmd/zed/agents/zfs_agents.c422
-rw-r--r--cmd/zed/agents/zfs_agents.h46
-rw-r--r--cmd/zed/agents/zfs_diagnosis.c981
-rw-r--r--cmd/zed/agents/zfs_mod.c956
-rw-r--r--cmd/zed/agents/zfs_retire.c557
-rw-r--r--cmd/zed/zed.c306
-rw-r--r--cmd/zed/zed.d/.gitignore1
-rw-r--r--cmd/zed/zed.d/Makefile.am53
-rw-r--r--cmd/zed/zed.d/README30
-rwxr-xr-xcmd/zed/zed.d/all-debug.sh26
-rwxr-xr-xcmd/zed/zed.d/all-syslog.sh14
-rwxr-xr-xcmd/zed/zed.d/data-notify.sh43
-rwxr-xr-xcmd/zed/zed.d/generic-notify.sh54
-rwxr-xr-xcmd/zed/zed.d/history_event-zfs-list-cacher.sh.in85
l---------cmd/zed/zed.d/pool_import-led.sh1
l---------cmd/zed/zed.d/resilver_finish-notify.sh1
-rwxr-xr-xcmd/zed/zed.d/resilver_finish-start-scrub.sh19
-rwxr-xr-xcmd/zed/zed.d/scrub_finish-notify.sh59
-rwxr-xr-xcmd/zed/zed.d/statechange-led.sh177
-rwxr-xr-xcmd/zed/zed.d/statechange-notify.sh74
-rwxr-xr-xcmd/zed/zed.d/trim_finish-notify.sh37
l---------cmd/zed/zed.d/vdev_attach-led.sh1
l---------cmd/zed/zed.d/vdev_clear-led.sh1
-rwxr-xr-xcmd/zed/zed.d/zed-functions.sh538
-rw-r--r--cmd/zed/zed.d/zed.rc122
-rw-r--r--cmd/zed/zed.h58
-rw-r--r--cmd/zed/zed_conf.c735
-rw-r--r--cmd/zed/zed_conf.h62
-rw-r--r--cmd/zed/zed_disk_event.c416
-rw-r--r--cmd/zed/zed_disk_event.h31
-rw-r--r--cmd/zed/zed_event.c965
-rw-r--r--cmd/zed/zed_event.h29
-rw-r--r--cmd/zed/zed_exec.c232
-rw-r--r--cmd/zed/zed_exec.h25
-rw-r--r--cmd/zed/zed_file.c217
-rw-r--r--cmd/zed/zed_file.h35
-rw-r--r--cmd/zed/zed_log.c256
-rw-r--r--cmd/zed/zed_log.h44
-rw-r--r--cmd/zed/zed_strings.c247
-rw-r--r--cmd/zed/zed_strings.h27
-rw-r--r--cmd/zfs/.gitignore1
-rw-r--r--cmd/zfs/Makefile.am23
-rw-r--r--cmd/zfs/zfs_iter.c512
-rw-r--r--cmd/zfs/zfs_iter.h61
-rw-r--r--cmd/zfs/zfs_main.c8620
-rw-r--r--cmd/zfs/zfs_project.c295
-rw-r--r--cmd/zfs/zfs_projectutil.h49
-rw-r--r--cmd/zfs/zfs_util.h42
-rw-r--r--cmd/zfs_ids_to_path/.gitignore1
-rw-r--r--cmd/zfs_ids_to_path/Makefile.am9
-rw-r--r--cmd/zfs_ids_to_path/zfs_ids_to_path.c96
-rw-r--r--cmd/zgenhostid/Makefile.am1
-rwxr-xr-xcmd/zgenhostid/zgenhostid61
-rw-r--r--cmd/zhack/.gitignore1
-rw-r--r--cmd/zhack/Makefile.am14
-rw-r--r--cmd/zhack/zhack.c532
-rw-r--r--cmd/zinject/.gitignore1
-rw-r--r--cmd/zinject/Makefile.am13
-rw-r--r--cmd/zinject/translate.c397
-rw-r--r--cmd/zinject/zinject.c1287
-rw-r--r--cmd/zinject/zinject.h70
-rw-r--r--cmd/zpool/.gitignore1
-rw-r--r--cmd/zpool/Makefile.am136
-rw-r--r--cmd/zpool/os/freebsd/zpool_vdev_os.c103
-rw-r--r--cmd/zpool/os/linux/zpool_vdev_os.c410
-rw-r--r--cmd/zpool/zpool.d/README9
l---------cmd/zpool/zpool.d/ata_err1
l---------cmd/zpool/zpool.d/cmd_to1
l---------cmd/zpool/zpool.d/defect1
-rwxr-xr-xcmd/zpool/zpool.d/dm-deps29
l---------cmd/zpool/zpool.d/enc1
l---------cmd/zpool/zpool.d/encdev1
l---------cmd/zpool/zpool.d/fault_led1
l---------cmd/zpool/zpool.d/health1
l---------cmd/zpool/zpool.d/hours_on1
-rwxr-xr-xcmd/zpool/zpool.d/iostat77
l---------cmd/zpool/zpool.d/iostat-10s1
l---------cmd/zpool/zpool.d/iostat-1s1
l---------cmd/zpool/zpool.d/label1
l---------cmd/zpool/zpool.d/locate_led1
-rwxr-xr-xcmd/zpool/zpool.d/lsblk83
-rwxr-xr-xcmd/zpool/zpool.d/media27
l---------cmd/zpool/zpool.d/model1
l---------cmd/zpool/zpool.d/nonmed1
l---------cmd/zpool/zpool.d/nvme_err1
l---------cmd/zpool/zpool.d/off_ucor1
l---------cmd/zpool/zpool.d/pend_sec1
l---------cmd/zpool/zpool.d/pwr_cyc1
l---------cmd/zpool/zpool.d/r_proc1
l---------cmd/zpool/zpool.d/r_ucor1
l---------cmd/zpool/zpool.d/realloc1
l---------cmd/zpool/zpool.d/rep_ucor1
l---------cmd/zpool/zpool.d/serial1
-rwxr-xr-xcmd/zpool/zpool.d/ses52
l---------cmd/zpool/zpool.d/size1
l---------cmd/zpool/zpool.d/slot1
-rwxr-xr-xcmd/zpool/zpool.d/smart243
l---------cmd/zpool/zpool.d/smart_test1
l---------cmd/zpool/zpool.d/smartx1
l---------cmd/zpool/zpool.d/temp1
l---------cmd/zpool/zpool.d/test_ended1
l---------cmd/zpool/zpool.d/test_progress1
l---------cmd/zpool/zpool.d/test_status1
l---------cmd/zpool/zpool.d/test_type1
-rwxr-xr-xcmd/zpool/zpool.d/upath7
l---------cmd/zpool/zpool.d/vendor1
l---------cmd/zpool/zpool.d/w_proc1
l---------cmd/zpool/zpool.d/w_ucor1
-rw-r--r--cmd/zpool/zpool_iter.c757
-rw-r--r--cmd/zpool/zpool_main.c10326
-rw-r--r--cmd/zpool/zpool_util.c125
-rw-r--r--cmd/zpool/zpool_util.h137
-rw-r--r--cmd/zpool/zpool_vdev.c1581
-rw-r--r--cmd/zstream/.gitignore1
-rw-r--r--cmd/zstream/Makefile.am15
-rw-r--r--cmd/zstream/zstream.c66
-rw-r--r--cmd/zstream/zstream.h36
-rw-r--r--cmd/zstream/zstream_dump.c799
-rw-r--r--cmd/zstream/zstream_redup.c469
-rw-r--r--cmd/zstream/zstream_token.c78
-rw-r--r--cmd/zstreamdump/Makefile.am1
-rwxr-xr-xcmd/zstreamdump/zstreamdump3
-rw-r--r--cmd/ztest/.gitignore1
-rw-r--r--cmd/ztest/Makefile.am23
-rw-r--r--cmd/ztest/ztest.c7818
-rw-r--r--cmd/zvol_id/.gitignore1
-rw-r--r--cmd/zvol_id/Makefile.am10
-rw-r--r--cmd/zvol_id/zvol_id_main.c110
-rw-r--r--cmd/zvol_wait/Makefile.am1
-rwxr-xr-xcmd/zvol_wait/zvol_wait116
-rw-r--r--config/.gitignore9
-rw-r--r--config/Rules.am62
-rw-r--r--config/Substfiles.am34
-rw-r--r--config/always-arch.m441
-rw-r--r--config/always-compiler-options.m4204
-rw-r--r--config/always-python.m470
-rw-r--r--config/always-pyzfs.m4105
-rw-r--r--config/always-sed.m416
-rw-r--r--config/always-system.m426
-rw-r--r--config/ax_code_coverage.m4268
-rw-r--r--config/ax_python_devel.m4345
-rw-r--r--config/ax_restore_flags.m431
-rw-r--r--config/ax_save_flags.m431
-rw-r--r--config/config.awk15
-rwxr-xr-xconfig/config.rpath684
-rw-r--r--config/deb.am74
-rw-r--r--config/find_system_library.m493
-rw-r--r--config/gettext.m4386
-rw-r--r--config/host-cpu-c-abi.m4644
-rw-r--r--config/iconv.m4287
-rw-r--r--config/intlmacosx.m472
-rw-r--r--config/kernel-access-ok-type.m427
-rw-r--r--config/kernel-acl.m4289
-rw-r--r--config/kernel-aio-fsync.m423
-rw-r--r--config/kernel-automount.m425
-rw-r--r--config/kernel-bdi.m479
-rw-r--r--config/kernel-bio.m4403
-rw-r--r--config/kernel-blk-queue.m4302
-rw-r--r--config/kernel-blkdev.m4212
-rw-r--r--config/kernel-block-device-operations.m463
-rw-r--r--config/kernel-clear-inode.m439
-rw-r--r--config/kernel-commit-metadata.m424
-rw-r--r--config/kernel-config-defined.m4183
-rw-r--r--config/kernel-current-time.m423
-rw-r--r--config/kernel-declare-event-class.m455
-rw-r--r--config/kernel-dentry-operations.m4190
-rw-r--r--config/kernel-dirty-inode.m429
-rw-r--r--config/kernel-discard-granularity.m421
-rw-r--r--config/kernel-encode-fh-inode.m427
-rw-r--r--config/kernel-evict-inode.m424
-rw-r--r--config/kernel-fallocate.m427
-rw-r--r--config/kernel-file-dentry.m424
-rw-r--r--config/kernel-file-inode.m423
-rw-r--r--config/kernel-fmode-t.m420
-rw-r--r--config/kernel-follow-down-one.m422
-rw-r--r--config/kernel-fpu.m4131
-rw-r--r--config/kernel-fst-mount.m430
-rw-r--r--config/kernel-fsync.m453
-rw-r--r--config/kernel-generic_io_acct.m464
-rw-r--r--config/kernel-generic_readlink.m425
-rw-r--r--config/kernel-get-disk-and-module.m424
-rw-r--r--config/kernel-get-disk-ro.m420
-rw-r--r--config/kernel-get-link.m4104
-rw-r--r--config/kernel-global_page_state.m4137
-rw-r--r--config/kernel-group-info.m422
-rw-r--r--config/kernel-in-compat-syscall.m424
-rw-r--r--config/kernel-inode-create.m426
-rw-r--r--config/kernel-inode-getattr.m453
-rw-r--r--config/kernel-inode-lock.m424
-rw-r--r--config/kernel-inode-lookup.m426
-rw-r--r--config/kernel-inode-set-flags.m422
-rw-r--r--config/kernel-inode-set-iversion.m423
-rw-r--r--config/kernel-inode-times.m450
-rw-r--r--config/kernel-insert-inode-locked.m421
-rw-r--r--config/kernel-is_owner_or_cap.m423
-rw-r--r--config/kernel-kmap-atomic-args.m422
-rw-r--r--config/kernel-kmem-cache.m441
-rw-r--r--config/kernel-kmem.m4108
-rw-r--r--config/kernel-kstrtoul.m421
-rw-r--r--config/kernel-ktime.m455
-rw-r--r--config/kernel-kuid-helpers.m424
-rw-r--r--config/kernel-kuidgid.m421
-rw-r--r--config/kernel-lseek-execute.m427
-rw-r--r--config/kernel-make-request-fn.m4101
-rw-r--r--config/kernel-misc-minor.m426
-rw-r--r--config/kernel-mkdir-umode-t.m432
-rw-r--r--config/kernel-mod-param.m433
-rw-r--r--config/kernel-objtool.m445
-rw-r--r--config/kernel-pde-data.m420
-rw-r--r--config/kernel-percpu.m434
-rw-r--r--config/kernel-proc-operations.m441
-rw-r--r--config/kernel-put-link.m461
-rw-r--r--config/kernel-rename.m429
-rw-r--r--config/kernel-rw.m469
-rw-r--r--config/kernel-rwsem.m488
-rw-r--r--config/kernel-sched.m482
-rw-r--r--config/kernel-security-inode-init.m436
-rw-r--r--config/kernel-set-nlink.m422
-rw-r--r--config/kernel-setattr-prepare.m427
-rw-r--r--config/kernel-sget-args.m425
-rw-r--r--config/kernel-show-options.m425
-rw-r--r--config/kernel-shrink.m4151
-rw-r--r--config/kernel-super-userns.m425
-rw-r--r--config/kernel-timer.m475
-rw-r--r--config/kernel-tmpfile.m425
-rw-r--r--config/kernel-totalhigh_pages.m421
-rw-r--r--config/kernel-totalram-pages-func.m423
-rw-r--r--config/kernel-truncate-setsize.m421
-rw-r--r--config/kernel-userns-capabilities.m4106
-rw-r--r--config/kernel-usleep_range.m423
-rw-r--r--config/kernel-vfs-direct_IO.m4109
-rw-r--r--config/kernel-vfs-fsync.m420
-rw-r--r--config/kernel-vfs-getattr.m486
-rw-r--r--config/kernel-vfs-iterate.m483
-rw-r--r--config/kernel-vfs-rw-iterate.m480
-rw-r--r--config/kernel-wait.m499
-rw-r--r--config/kernel-xattr-handler.m4397
-rw-r--r--config/kernel-zlib.m426
-rw-r--r--config/kernel.m4861
-rw-r--r--config/lib-ld.m4168
-rw-r--r--config/lib-link.m4774
-rw-r--r--config/lib-prefix.m4248
-rw-r--r--config/mount-helper.m48
-rw-r--r--config/nls.m432
-rw-r--r--config/pkg.m4275
-rw-r--r--config/po.m4450
-rw-r--r--config/progtest.m491
-rw-r--r--config/rpm.am93
-rw-r--r--config/tgz.am30
-rw-r--r--config/toolchain-simd.m4424
-rw-r--r--config/user-clock_gettime.m412
-rw-r--r--config/user-dracut.m422
-rw-r--r--config/user-gettext.m46
-rw-r--r--config/user-libaio.m46
-rw-r--r--config/user-libblkid.m49
-rw-r--r--config/user-libcrypto.m48
-rw-r--r--config/user-libexec.m49
-rw-r--r--config/user-libtirpc.m430
-rw-r--r--config/user-libudev.m417
-rw-r--r--config/user-libuuid.m48
-rw-r--r--config/user-makedev.m439
-rw-r--r--config/user-pam.m438
-rw-r--r--config/user-runstatedir.m46
-rw-r--r--config/user-systemd.m453
-rw-r--r--config/user-sysvinit.m411
-rw-r--r--config/user-udev.m429
-rw-r--r--config/user-zlib.m48
-rw-r--r--config/user.m445
-rw-r--r--config/zfs-build.m4554
-rw-r--r--config/zfs-meta.m4207
-rw-r--r--configure.ac409
-rw-r--r--contrib/Makefile.am8
-rw-r--r--contrib/bash_completion.d/Makefile.am5
-rw-r--r--contrib/bash_completion.d/zfs481
-rw-r--r--contrib/bpftrace/Makefile.am3
-rw-r--r--contrib/bpftrace/taskqlatency.bt54
-rwxr-xr-xcontrib/bpftrace/zfs-trace.sh10
-rw-r--r--contrib/dracut/02zfsexpandknowledge/.gitignore1
-rw-r--r--contrib/dracut/02zfsexpandknowledge/Makefile.am7
-rwxr-xr-xcontrib/dracut/02zfsexpandknowledge/module-setup.sh.in136
-rw-r--r--contrib/dracut/90zfs/.gitignore11
-rw-r--r--contrib/dracut/90zfs/Makefile.am19
-rwxr-xr-xcontrib/dracut/90zfs/export-zfs.sh.in30
-rwxr-xr-xcontrib/dracut/90zfs/module-setup.sh.in119
-rwxr-xr-xcontrib/dracut/90zfs/mount-zfs.sh.in86
-rwxr-xr-xcontrib/dracut/90zfs/parse-zfs.sh.in66
-rw-r--r--contrib/dracut/90zfs/zfs-env-bootfs.service.in14
-rwxr-xr-xcontrib/dracut/90zfs/zfs-generator.sh.in61
-rwxr-xr-xcontrib/dracut/90zfs/zfs-lib.sh.in174
-rwxr-xr-xcontrib/dracut/90zfs/zfs-load-key.sh.in58
-rwxr-xr-xcontrib/dracut/90zfs/zfs-needshutdown.sh.in10
-rw-r--r--contrib/dracut/90zfs/zfs-rollback-bootfs.service.in14
-rw-r--r--contrib/dracut/90zfs/zfs-snapshot-bootfs.service.in14
-rw-r--r--contrib/dracut/Makefile.am3
-rw-r--r--contrib/dracut/README.dracut.markdown225
-rw-r--r--contrib/initramfs/Makefile.am9
-rw-r--r--contrib/initramfs/README.initramfs.markdown84
-rw-r--r--contrib/initramfs/conf-hooks.d/Makefile.am4
-rw-r--r--contrib/initramfs/conf-hooks.d/zfs9
-rw-r--r--contrib/initramfs/conf.d/Makefile.am4
-rw-r--r--contrib/initramfs/conf.d/zfs8
-rw-r--r--contrib/initramfs/hooks/.gitignore2
-rw-r--r--contrib/initramfs/hooks/Makefile.am9
-rwxr-xr-xcontrib/initramfs/hooks/zfs.in109
-rw-r--r--contrib/initramfs/hooks/zfsunlock.in18
-rw-r--r--contrib/initramfs/scripts/.gitignore1
-rw-r--r--contrib/initramfs/scripts/Makefile.am6
-rw-r--r--contrib/initramfs/scripts/local-top/Makefile.am4
-rwxr-xr-xcontrib/initramfs/scripts/local-top/zfs60
-rw-r--r--contrib/initramfs/scripts/zfs1011
-rwxr-xr-xcontrib/initramfs/zfsunlock42
-rw-r--r--contrib/pam_zfs_key/Makefile.am19
-rw-r--r--contrib/pam_zfs_key/pam_zfs_key.c741
-rw-r--r--contrib/pam_zfs_key/zfs_key13
-rw-r--r--contrib/pyzfs/.gitignore3
-rw-r--r--contrib/pyzfs/LICENSE202
-rw-r--r--contrib/pyzfs/Makefile.am40
-rw-r--r--contrib/pyzfs/README28
-rw-r--r--contrib/pyzfs/docs/source/conf.py304
-rw-r--r--contrib/pyzfs/docs/source/index.rst44
-rw-r--r--contrib/pyzfs/libzfs_core/__init__.py154
-rw-r--r--contrib/pyzfs/libzfs_core/_constants.py114
-rw-r--r--contrib/pyzfs/libzfs_core/_error_translation.py840
-rw-r--r--contrib/pyzfs/libzfs_core/_libzfs_core.py1955
-rw-r--r--contrib/pyzfs/libzfs_core/_nvlist.py295
-rw-r--r--contrib/pyzfs/libzfs_core/bindings/__init__.py60
-rw-r--r--contrib/pyzfs/libzfs_core/bindings/libnvpair.py134
-rw-r--r--contrib/pyzfs/libzfs_core/bindings/libzfs_core.py146
-rw-r--r--contrib/pyzfs/libzfs_core/ctypes.py71
-rw-r--r--contrib/pyzfs/libzfs_core/exceptions.py601
-rw-r--r--contrib/pyzfs/libzfs_core/test/__init__.py1
-rw-r--r--contrib/pyzfs/libzfs_core/test/test_libzfs_core.py4380
-rw-r--r--contrib/pyzfs/libzfs_core/test/test_nvlist.py636
-rw-r--r--contrib/pyzfs/setup.py.in61
-rw-r--r--contrib/zcp/Makefile.am1
-rw-r--r--contrib/zcp/autosnap.lua75
-rwxr-xr-xcopy-builtin79
-rw-r--r--cppcheck-suppressions.txt8
-rw-r--r--etc/Makefile.am5
-rw-r--r--etc/default/.gitignore1
-rw-r--r--etc/default/Makefile.am5
-rw-r--r--etc/default/zfs.in103
-rw-r--r--etc/init.d/.gitignore5
-rw-r--r--etc/init.d/Makefile.am7
-rw-r--r--etc/init.d/README.md72
-rwxr-xr-xetc/init.d/zfs-import.in340
-rwxr-xr-xetc/init.d/zfs-mount.in227
-rwxr-xr-xetc/init.d/zfs-share.in85
-rwxr-xr-xetc/init.d/zfs-zed.in134
-rw-r--r--etc/modules-load.d/.gitignore1
-rw-r--r--etc/modules-load.d/Makefile.am2
-rw-r--r--etc/modules-load.d/zfs.conf3
-rw-r--r--etc/sudoers.d/Makefile.am5
-rw-r--r--etc/sudoers.d/zfs9
-rw-r--r--etc/systemd/Makefile.am1
-rw-r--r--etc/systemd/system-generators/.gitignore1
-rw-r--r--etc/systemd/system-generators/Makefile.am6
-rwxr-xr-xetc/systemd/system-generators/zfs-mount-generator.in450
-rw-r--r--etc/systemd/system/.gitignore3
-rw-r--r--etc/systemd/system/50-zfs.preset.in9
-rw-r--r--etc/systemd/system/Makefile.am21
-rw-r--r--etc/systemd/system/zfs-import-cache.service.in20
-rw-r--r--etc/systemd/system/zfs-import-scan.service.in19
-rw-r--r--etc/systemd/system/zfs-import.target.in6
-rw-r--r--etc/systemd/system/zfs-mount.service.in18
-rw-r--r--etc/systemd/system/zfs-share.service.in18
-rw-r--r--etc/systemd/system/zfs-volume-wait.service.in13
-rw-r--r--etc/systemd/system/zfs-volumes.target.in7
-rw-r--r--etc/systemd/system/zfs-zed.service.in11
-rw-r--r--etc/systemd/system/zfs.target.in5
-rw-r--r--etc/zfs/.gitignore1
-rw-r--r--etc/zfs/Makefile.am15
-rw-r--r--etc/zfs/vdev_id.conf.alias.example4
-rw-r--r--etc/zfs/vdev_id.conf.multipath.example7
-rw-r--r--etc/zfs/vdev_id.conf.sas_direct.example28
-rw-r--r--etc/zfs/vdev_id.conf.sas_switch.example7
-rw-r--r--etc/zfs/vdev_id.conf.scsi.example9
-rw-r--r--etc/zfs/zfs-functions.in434
-rw-r--r--include/.gitignore1
-rw-r--r--include/Makefile.am33
-rw-r--r--include/cityhash.h41
-rw-r--r--include/libnvpair.h196
-rw-r--r--include/libuutil.h384
-rw-r--r--include/libuutil_common.h35
-rw-r--r--include/libuutil_impl.h181
-rw-r--r--include/libzfs.h920
-rw-r--r--include/libzfs_core.h144
-rw-r--r--include/libzfs_impl.h261
-rw-r--r--include/libzutil.h166
-rw-r--r--include/os/Makefile.am6
-rw-r--r--include/os/freebsd/Makefile.am1
-rw-r--r--include/os/freebsd/linux/Makefile.am5
-rw-r--r--include/os/freebsd/linux/compiler.h101
-rw-r--r--include/os/freebsd/linux/types.h77
-rw-r--r--include/os/freebsd/spl/Makefile.am1
-rw-r--r--include/os/freebsd/spl/acl/Makefile.am4
-rw-r--r--include/os/freebsd/spl/acl/acl_common.h67
-rw-r--r--include/os/freebsd/spl/rpc/Makefile.am4
-rw-r--r--include/os/freebsd/spl/rpc/xdr.h71
-rw-r--r--include/os/freebsd/spl/sys/Makefile.am71
-rw-r--r--include/os/freebsd/spl/sys/acl.h216
-rw-r--r--include/os/freebsd/spl/sys/acl_impl.h61
-rw-r--r--include/os/freebsd/spl/sys/atomic.h182
-rw-r--r--include/os/freebsd/spl/sys/byteorder.h107
-rw-r--r--include/os/freebsd/spl/sys/callb.h213
-rw-r--r--include/os/freebsd/spl/sys/ccompat.h153
-rw-r--r--include/os/freebsd/spl/sys/ccompile.h271
-rw-r--r--include/os/freebsd/spl/sys/cmn_err.h100
-rw-r--r--include/os/freebsd/spl/sys/condvar.h205
-rw-r--r--include/os/freebsd/spl/sys/console.h35
-rw-r--r--include/os/freebsd/spl/sys/cred.h188
-rw-r--r--include/os/freebsd/spl/sys/ctype.h45
-rw-r--r--include/os/freebsd/spl/sys/debug.h168
-rw-r--r--include/os/freebsd/spl/sys/dirent.h45
-rw-r--r--include/os/freebsd/spl/sys/disp.h36
-rw-r--r--include/os/freebsd/spl/sys/dkio.h494
-rw-r--r--include/os/freebsd/spl/sys/extdirent.h73
-rw-r--r--include/os/freebsd/spl/sys/file.h51
-rw-r--r--include/os/freebsd/spl/sys/freebsd_rwlock.h34
-rw-r--r--include/os/freebsd/spl/sys/idmap.h97
-rw-r--r--include/os/freebsd/spl/sys/inttypes.h1
-rw-r--r--include/os/freebsd/spl/sys/isa_defs.h712
-rw-r--r--include/os/freebsd/spl/sys/kidmap.h41
-rw-r--r--include/os/freebsd/spl/sys/kmem.h97
-rw-r--r--include/os/freebsd/spl/sys/kmem_cache.h49
-rw-r--r--include/os/freebsd/spl/sys/kstat.h207
-rw-r--r--include/os/freebsd/spl/sys/list.h67
-rw-r--r--include/os/freebsd/spl/sys/list_impl.h53
-rw-r--r--include/os/freebsd/spl/sys/lock.h40
-rw-r--r--include/os/freebsd/spl/sys/misc.h56
-rw-r--r--include/os/freebsd/spl/sys/mod_os.h106
-rw-r--r--include/os/freebsd/spl/sys/mode.h1
-rw-r--r--include/os/freebsd/spl/sys/mount.h42
-rw-r--r--include/os/freebsd/spl/sys/mutex.h72
-rw-r--r--include/os/freebsd/spl/sys/param.h41
-rw-r--r--include/os/freebsd/spl/sys/policy.h78
-rw-r--r--include/os/freebsd/spl/sys/proc.h114
-rw-r--r--include/os/freebsd/spl/sys/processor.h63
-rw-r--r--include/os/freebsd/spl/sys/procfs_list.h64
-rw-r--r--include/os/freebsd/spl/sys/random.h48
-rw-r--r--include/os/freebsd/spl/sys/rwlock.h97
-rw-r--r--include/os/freebsd/spl/sys/sdt.h45
-rw-r--r--include/os/freebsd/spl/sys/sid.h86
-rw-r--r--include/os/freebsd/spl/sys/sig.h65
-rw-r--r--include/os/freebsd/spl/sys/simd.h43
-rw-r--r--include/os/freebsd/spl/sys/simd_x86.h300
-rw-r--r--include/os/freebsd/spl/sys/spl_condvar.h81
-rw-r--r--include/os/freebsd/spl/sys/string.h39
-rw-r--r--include/os/freebsd/spl/sys/strings.h1
-rw-r--r--include/os/freebsd/spl/sys/sunddi.h69
-rw-r--r--include/os/freebsd/spl/sys/sysmacros.h404
-rw-r--r--include/os/freebsd/spl/sys/systeminfo.h34
-rw-r--r--include/os/freebsd/spl/sys/systm.h43
-rw-r--r--include/os/freebsd/spl/sys/taskq.h115
-rw-r--r--include/os/freebsd/spl/sys/thread.h34
-rw-r--r--include/os/freebsd/spl/sys/time.h96
-rw-r--r--include/os/freebsd/spl/sys/timer.h38
-rw-r--r--include/os/freebsd/spl/sys/trace.h1
-rw-r--r--include/os/freebsd/spl/sys/trace_zfs.h1
-rw-r--r--include/os/freebsd/spl/sys/types.h108
-rw-r--r--include/os/freebsd/spl/sys/types32.h37
-rw-r--r--include/os/freebsd/spl/sys/uio.h110
-rw-r--r--include/os/freebsd/spl/sys/uuid.h99
-rw-r--r--include/os/freebsd/spl/sys/vfs.h127
-rw-r--r--include/os/freebsd/spl/sys/vm.h73
-rw-r--r--include/os/freebsd/spl/sys/vmsystm.h34
-rw-r--r--include/os/freebsd/spl/sys/vnode.h211
-rw-r--r--include/os/freebsd/spl/sys/vnode_impl.h268
-rw-r--r--include/os/freebsd/spl/sys/zmod.h68
-rw-r--r--include/os/freebsd/spl/sys/zone.h68
-rw-r--r--include/os/freebsd/zfs/Makefile.am1
-rw-r--r--include/os/freebsd/zfs/sys/Makefile.am14
-rw-r--r--include/os/freebsd/zfs/sys/freebsd_crypto.h98
-rw-r--r--include/os/freebsd/zfs/sys/sha2.h200
-rw-r--r--include/os/freebsd/zfs/sys/vdev_os.h33
-rw-r--r--include/os/freebsd/zfs/sys/zfs_context_os.h91
-rw-r--r--include/os/freebsd/zfs/sys/zfs_ctldir.h65
-rw-r--r--include/os/freebsd/zfs/sys/zfs_dir.h74
-rw-r--r--include/os/freebsd/zfs/sys/zfs_ioctl_compat.h160
-rw-r--r--include/os/freebsd/zfs/sys/zfs_vfsops.h177
-rw-r--r--include/os/freebsd/zfs/sys/zfs_vnops.h56
-rw-r--r--include/os/freebsd/zfs/sys/zfs_znode_impl.h183
-rw-r--r--include/os/freebsd/zfs/sys/zpl.h1
-rw-r--r--include/os/linux/Makefile.am1
-rw-r--r--include/os/linux/kernel/Makefile.am1
-rw-r--r--include/os/linux/kernel/linux/Makefile.am22
-rw-r--r--include/os/linux/kernel/linux/blkdev_compat.h506
-rw-r--r--include/os/linux/kernel/linux/compiler_compat.h35
-rw-r--r--include/os/linux/kernel/linux/dcache_compat.h64
-rw-r--r--include/os/linux/kernel/linux/kmap_compat.h43
-rw-r--r--include/os/linux/kernel/linux/mod_compat.h151
-rw-r--r--include/os/linux/kernel/linux/page_compat.h92
-rw-r--r--include/os/linux/kernel/linux/percpu_compat.h44
-rw-r--r--include/os/linux/kernel/linux/simd.h45
-rw-r--r--include/os/linux/kernel/linux/simd_aarch64.h54
-rw-r--r--include/os/linux/kernel/linux/simd_powerpc.h109
-rw-r--r--include/os/linux/kernel/linux/simd_x86.h646
-rw-r--r--include/os/linux/kernel/linux/utsname_compat.h29
-rw-r--r--include/os/linux/kernel/linux/vfs_compat.h439
-rw-r--r--include/os/linux/kernel/linux/xattr_compat.h184
-rw-r--r--include/os/linux/spl/Makefile.am1
-rw-r--r--include/os/linux/spl/rpc/Makefile.am7
-rw-r--r--include/os/linux/spl/rpc/xdr.h156
-rw-r--r--include/os/linux/spl/sys/Makefile.am64
-rw-r--r--include/os/linux/spl/sys/acl.h119
-rw-r--r--include/os/linux/spl/sys/atomic.h79
-rw-r--r--include/os/linux/spl/sys/byteorder.h87
-rw-r--r--include/os/linux/spl/sys/callb.h54
-rw-r--r--include/os/linux/spl/sys/callo.h52
-rw-r--r--include/os/linux/spl/sys/cmn_err.h42
-rw-r--r--include/os/linux/spl/sys/condvar.h113
-rw-r--r--include/os/linux/spl/sys/console.h31
-rw-r--r--include/os/linux/spl/sys/cred.h63
-rw-r--r--include/os/linux/spl/sys/ctype.h30
-rw-r--r--include/os/linux/spl/sys/debug.h169
-rw-r--r--include/os/linux/spl/sys/disp.h34
-rw-r--r--include/os/linux/spl/sys/dkio.h40
-rw-r--r--include/os/linux/spl/sys/errno.h57
-rw-r--r--include/os/linux/spl/sys/fcntl.h37
-rw-r--r--include/os/linux/spl/sys/file.h52
-rw-r--r--include/os/linux/spl/sys/inttypes.h28
-rw-r--r--include/os/linux/spl/sys/isa_defs.h254
-rw-r--r--include/os/linux/spl/sys/kmem.h211
-rw-r--r--include/os/linux/spl/sys/kmem_cache.h216
-rw-r--r--include/os/linux/spl/sys/kstat.h223
-rw-r--r--include/os/linux/spl/sys/list.h210
-rw-r--r--include/os/linux/spl/sys/mod_os.h28
-rw-r--r--include/os/linux/spl/sys/mutex.h185
-rw-r--r--include/os/linux/spl/sys/param.h36
-rw-r--r--include/os/linux/spl/sys/proc.h42
-rw-r--r--include/os/linux/spl/sys/processor.h32
-rw-r--r--include/os/linux/spl/sys/procfs_list.h72
-rw-r--r--include/os/linux/spl/sys/random.h40
-rw-r--r--include/os/linux/spl/sys/rwlock.h201
-rw-r--r--include/os/linux/spl/sys/shrinker.h110
-rw-r--r--include/os/linux/spl/sys/sid.h61
-rw-r--r--include/os/linux/spl/sys/signal.h55
-rw-r--r--include/os/linux/spl/sys/simd.h31
-rw-r--r--include/os/linux/spl/sys/stat.h30
-rw-r--r--include/os/linux/spl/sys/strings.h31
-rw-r--r--include/os/linux/spl/sys/sunddi.h58
-rw-r--r--include/os/linux/spl/sys/sysmacros.h206
-rw-r--r--include/os/linux/spl/sys/systeminfo.h36
-rw-r--r--include/os/linux/spl/sys/taskq.h164
-rw-r--r--include/os/linux/spl/sys/thread.h74
-rw-r--r--include/os/linux/spl/sys/time.h118
-rw-r--r--include/os/linux/spl/sys/timer.h86
-rw-r--r--include/os/linux/spl/sys/trace.h175
-rw-r--r--include/os/linux/spl/sys/trace_spl.h30
-rw-r--r--include/os/linux/spl/sys/trace_taskq.h89
-rw-r--r--include/os/linux/spl/sys/tsd.h46
-rw-r--r--include/os/linux/spl/sys/types.h58
-rw-r--r--include/os/linux/spl/sys/types32.h35
-rw-r--r--include/os/linux/spl/sys/uio.h144
-rw-r--r--include/os/linux/spl/sys/user.h42
-rw-r--r--include/os/linux/spl/sys/vfs.h51
-rw-r--r--include/os/linux/spl/sys/vmem.h102
-rw-r--r--include/os/linux/spl/sys/vmsystm.h103
-rw-r--r--include/os/linux/spl/sys/vnode.h107
-rw-r--r--include/os/linux/spl/sys/wait.h55
-rw-r--r--include/os/linux/spl/sys/zmod.h70
-rw-r--r--include/os/linux/spl/sys/zone.h36
-rw-r--r--include/os/linux/zfs/Makefile.am1
-rw-r--r--include/os/linux/zfs/sys/Makefile.am30
-rw-r--r--include/os/linux/zfs/sys/policy.h61
-rw-r--r--include/os/linux/zfs/sys/sha2.h151
-rw-r--r--include/os/linux/zfs/sys/trace_acl.h164
-rw-r--r--include/os/linux/zfs/sys/trace_arc.h419
-rw-r--r--include/os/linux/zfs/sys/trace_common.h112
-rw-r--r--include/os/linux/zfs/sys/trace_dbgmsg.h89
-rw-r--r--include/os/linux/zfs/sys/trace_dbuf.h169
-rw-r--r--include/os/linux/zfs/sys/trace_dmu.h136
-rw-r--r--include/os/linux/zfs/sys/trace_dnode.h129
-rw-r--r--include/os/linux/zfs/sys/trace_multilist.h89
-rw-r--r--include/os/linux/zfs/sys/trace_rrwlock.h31
-rw-r--r--include/os/linux/zfs/sys/trace_txg.h89
-rw-r--r--include/os/linux/zfs/sys/trace_vdev.h140
-rw-r--r--include/os/linux/zfs/sys/trace_zfs.h53
-rw-r--r--include/os/linux/zfs/sys/trace_zil.h229
-rw-r--r--include/os/linux/zfs/sys/trace_zio.h97
-rw-r--r--include/os/linux/zfs/sys/trace_zrlock.h94
-rw-r--r--include/os/linux/zfs/sys/zfs_context_os.h30
-rw-r--r--include/os/linux/zfs/sys/zfs_ctldir.h103
-rw-r--r--include/os/linux/zfs/sys/zfs_dir.h76
-rw-r--r--include/os/linux/zfs/sys/zfs_vfsops.h227
-rw-r--r--include/os/linux/zfs/sys/zfs_vnops.h91
-rw-r--r--include/os/linux/zfs/sys/zfs_znode_impl.h168
-rw-r--r--include/os/linux/zfs/sys/zpl.h183
-rw-r--r--include/sys/Makefile.am147
-rw-r--r--include/sys/abd.h162
-rw-r--r--include/sys/abd_impl.h150
-rw-r--r--include/sys/aggsum.h59
-rw-r--r--include/sys/arc.h335
-rw-r--r--include/sys/arc_impl.h928
-rw-r--r--include/sys/avl.h325
-rw-r--r--include/sys/avl_impl.h164
-rw-r--r--include/sys/bitops.h90
-rw-r--r--include/sys/blkptr.h39
-rw-r--r--include/sys/bplist.h59
-rw-r--r--include/sys/bpobj.h106
-rw-r--r--include/sys/bptree.h65
-rw-r--r--include/sys/bqueue.h56
-rw-r--r--include/sys/btree.h243
-rw-r--r--include/sys/crypto/Makefile.am16
-rw-r--r--include/sys/crypto/api.h425
-rw-r--r--include/sys/crypto/common.h583
-rw-r--r--include/sys/crypto/icp.h50
-rw-r--r--include/sys/dataset_kstats.h75
-rw-r--r--include/sys/dbuf.h472
-rw-r--r--include/sys/ddt.h257
-rw-r--r--include/sys/dmu.h1090
-rw-r--r--include/sys/dmu_impl.h264
-rw-r--r--include/sys/dmu_objset.h273
-rw-r--r--include/sys/dmu_recv.h88
-rw-r--r--include/sys/dmu_redact.h58
-rw-r--r--include/sys/dmu_send.h72
-rw-r--r--include/sys/dmu_traverse.h92
-rw-r--r--include/sys/dmu_tx.h177
-rw-r--r--include/sys/dmu_zfetch.h77
-rw-r--r--include/sys/dnode.h627
-rw-r--r--include/sys/dsl_bookmark.h157
-rw-r--r--include/sys/dsl_crypt.h225
-rw-r--r--include/sys/dsl_dataset.h508
-rw-r--r--include/sys/dsl_deadlist.h128
-rw-r--r--include/sys/dsl_deleg.h90
-rw-r--r--include/sys/dsl_destroy.h70
-rw-r--r--include/sys/dsl_dir.h227
-rw-r--r--include/sys/dsl_pool.h199
-rw-r--r--include/sys/dsl_prop.h126
-rw-r--r--include/sys/dsl_scan.h193
-rw-r--r--include/sys/dsl_synctask.h127
-rw-r--r--include/sys/dsl_userhold.h57
-rw-r--r--include/sys/edonr.h98
-rw-r--r--include/sys/efi_partition.h381
-rw-r--r--include/sys/fm/Makefile.am17
-rw-r--r--include/sys/fm/fs/Makefile.am14
-rw-r--r--include/sys/fm/fs/zfs.h121
-rw-r--r--include/sys/fm/protocol.h369
-rw-r--r--include/sys/fm/util.h118
-rw-r--r--include/sys/frame.h36
-rw-r--r--include/sys/fs/Makefile.am14
-rw-r--r--include/sys/fs/zfs.h1589
-rw-r--r--include/sys/hkdf.h29
-rw-r--r--include/sys/lua/Makefile.am17
-rw-r--r--include/sys/lua/lauxlib.h175
-rw-r--r--include/sys/lua/lua.h445
-rw-r--r--include/sys/lua/luaconf.h562
-rw-r--r--include/sys/lua/lualib.h57
-rw-r--r--include/sys/metaslab.h147
-rw-r--r--include/sys/metaslab_impl.h562
-rw-r--r--include/sys/mmp.h75
-rw-r--r--include/sys/mntent.h112
-rw-r--r--include/sys/mod.h41
-rw-r--r--include/sys/multilist.h107
-rw-r--r--include/sys/note.h56
-rw-r--r--include/sys/nvpair.h358
-rw-r--r--include/sys/nvpair_impl.h90
-rw-r--r--include/sys/objlist.h51
-rw-r--r--include/sys/pathname.h72
-rw-r--r--include/sys/qat.h199
-rw-r--r--include/sys/range_tree.h330
-rw-r--r--include/sys/rrwlock.h117
-rw-r--r--include/sys/sa.h174
-rw-r--r--include/sys/sa_impl.h289
-rw-r--r--include/sys/skein.h183
-rw-r--r--include/sys/spa.h1224
-rw-r--r--include/sys/spa_boot.h42
-rw-r--r--include/sys/spa_checkpoint.h44
-rw-r--r--include/sys/spa_checksum.h72
-rw-r--r--include/sys/spa_impl.h458
-rw-r--r--include/sys/spa_log_spacemap.h79
-rw-r--r--include/sys/space_map.h246
-rw-r--r--include/sys/space_reftree.h57
-rw-r--r--include/sys/sysevent.h36
-rw-r--r--include/sys/sysevent/Makefile.am15
-rw-r--r--include/sys/sysevent/dev.h261
-rw-r--r--include/sys/sysevent/eventdefs.h136
-rw-r--r--include/sys/txg.h153
-rw-r--r--include/sys/txg_impl.h125
-rw-r--r--include/sys/u8_textprep.h113
-rw-r--r--include/sys/u8_textprep_data.h35376
-rw-r--r--include/sys/uberblock.h50
-rw-r--r--include/sys/uberblock_impl.h145
-rw-r--r--include/sys/uio_impl.h49
-rw-r--r--include/sys/unique.h57
-rw-r--r--include/sys/uuid.h94
-rw-r--r--include/sys/vdev.h201
-rw-r--r--include/sys/vdev_disk.h46
-rw-r--r--include/sys/vdev_file.h47
-rw-r--r--include/sys/vdev_impl.h620
-rw-r--r--include/sys/vdev_indirect_births.h80
-rw-r--r--include/sys/vdev_indirect_mapping.h141
-rw-r--r--include/sys/vdev_initialize.h47
-rw-r--r--include/sys/vdev_raidz.h64
-rw-r--r--include/sys/vdev_raidz_impl.h375
-rw-r--r--include/sys/vdev_rebuild.h97
-rw-r--r--include/sys/vdev_removal.h96
-rw-r--r--include/sys/vdev_trim.h54
-rw-r--r--include/sys/xvattr.h338
-rw-r--r--include/sys/zap.h510
-rw-r--r--include/sys/zap_impl.h240
-rw-r--r--include/sys/zap_leaf.h255
-rw-r--r--include/sys/zcp.h194
-rw-r--r--include/sys/zcp_global.h35
-rw-r--r--include/sys/zcp_iter.h41
-rw-r--r--include/sys/zcp_prop.h34
-rw-r--r--include/sys/zcp_set.h44
-rw-r--r--include/sys/zfeature.h73
-rw-r--r--include/sys/zfs_acl.h248
-rw-r--r--include/sys/zfs_context.h763
-rw-r--r--include/sys/zfs_debug.h111
-rw-r--r--include/sys/zfs_delay.h41
-rw-r--r--include/sys/zfs_file.h62
-rw-r--r--include/sys/zfs_fuid.h132
-rw-r--r--include/sys/zfs_ioctl.h581
-rw-r--r--include/sys/zfs_ioctl_impl.h97
-rw-r--r--include/sys/zfs_onexit.h63
-rw-r--r--include/sys/zfs_project.h83
-rw-r--r--include/sys/zfs_quota.h45
-rw-r--r--include/sys/zfs_ratelimit.h44
-rw-r--r--include/sys/zfs_refcount.h126
-rw-r--r--include/sys/zfs_rlock.h83
-rw-r--r--include/sys/zfs_sa.h153
-rw-r--r--include/sys/zfs_stat.h56
-rw-r--r--include/sys/zfs_sysfs.h50
-rw-r--r--include/sys/zfs_znode.h295
-rw-r--r--include/sys/zil.h529
-rw-r--r--include/sys/zil_impl.h230
-rw-r--r--include/sys/zio.h710
-rw-r--r--include/sys/zio_checksum.h144
-rw-r--r--include/sys/zio_compress.h198
-rw-r--r--include/sys/zio_crypt.h160
-rw-r--r--include/sys/zio_impl.h270
-rw-r--r--include/sys/zio_priority.h43
-rw-r--r--include/sys/zrlock.h63
-rw-r--r--include/sys/zstd/Makefile.am18
-rw-r--r--include/sys/zstd/zstd.h98
-rw-r--r--include/sys/zthr.h42
-rw-r--r--include/sys/zvol.h65
-rw-r--r--include/sys/zvol_impl.h108
-rw-r--r--include/thread_pool.h72
-rw-r--r--include/zfeature_common.h135
-rw-r--r--include/zfs_comutil.h52
-rw-r--r--include/zfs_deleg.h99
-rw-r--r--include/zfs_fletcher.h158
-rw-r--r--include/zfs_namecheck.h71
-rw-r--r--include/zfs_prop.h133
-rw-r--r--lib/Makefile.am14
-rw-r--r--lib/libavl/Makefile.am14
-rw-r--r--lib/libefi/Makefile.am12
-rw-r--r--lib/libefi/rdwr_efi.c1655
-rw-r--r--lib/libicp/Makefile.am73
-rw-r--r--lib/libnvpair/Makefile.am44
-rw-r--r--lib/libnvpair/libnvpair.c1277
-rw-r--r--lib/libnvpair/libnvpair_json.c406
-rw-r--r--lib/libnvpair/nvpair_alloc_system.c65
-rw-r--r--lib/libshare/Makefile.am25
-rw-r--r--lib/libshare/libshare.c366
-rw-r--r--lib/libshare/libshare_impl.h61
-rw-r--r--lib/libshare/nfs.h27
-rw-r--r--lib/libshare/os/freebsd/nfs.c448
-rw-r--r--lib/libshare/os/freebsd/smb.c128
-rw-r--r--lib/libshare/os/linux/nfs.c712
-rw-r--r--lib/libshare/os/linux/smb.c453
-rw-r--r--lib/libshare/smb.h49
-rw-r--r--lib/libspl/Makefile.am56
-rw-r--r--lib/libspl/asm-generic/.gitignore1
-rw-r--r--lib/libspl/asm-generic/atomic.c450
-rw-r--r--lib/libspl/asm-i386/atomic.S840
-rw-r--r--lib/libspl/asm-x86_64/atomic.S691
-rw-r--r--lib/libspl/assert.c46
-rw-r--r--lib/libspl/include/Makefile.am22
-rw-r--r--lib/libspl/include/assert.h151
-rw-r--r--lib/libspl/include/atomic.h296
-rw-r--r--lib/libspl/include/ia32/Makefile.am1
-rw-r--r--lib/libspl/include/ia32/sys/Makefile.am3
-rw-r--r--lib/libspl/include/ia32/sys/asm_linkage.h302
-rw-r--r--lib/libspl/include/libdevinfo.h30
-rw-r--r--lib/libspl/include/libgen.h35
-rw-r--r--lib/libspl/include/libshare.h86
-rw-r--r--lib/libspl/include/limits.h40
-rw-r--r--lib/libspl/include/locale.h35
-rw-r--r--lib/libspl/include/os/Makefile.am7
-rw-r--r--lib/libspl/include/os/freebsd/Makefile.am1
-rw-r--r--lib/libspl/include/os/freebsd/sys/Makefile.am11
-rw-r--r--lib/libspl/include/os/freebsd/sys/byteorder.h192
-rw-r--r--lib/libspl/include/os/freebsd/sys/file.h42
-rw-r--r--lib/libspl/include/os/freebsd/sys/mnttab.h85
-rw-r--r--lib/libspl/include/os/freebsd/sys/mount.h108
-rw-r--r--lib/libspl/include/os/freebsd/sys/param.h66
-rw-r--r--lib/libspl/include/os/freebsd/sys/stat.h71
-rw-r--r--lib/libspl/include/os/freebsd/sys/sysmacros.h1
-rw-r--r--lib/libspl/include/os/freebsd/sys/vfs.h37
-rw-r--r--lib/libspl/include/os/freebsd/sys/zfs_context_os.h34
-rw-r--r--lib/libspl/include/os/linux/Makefile.am1
-rw-r--r--lib/libspl/include/os/linux/sys/Makefile.am10
-rw-r--r--lib/libspl/include/os/linux/sys/byteorder.h223
-rw-r--r--lib/libspl/include/os/linux/sys/errno.h46
-rw-r--r--lib/libspl/include/os/linux/sys/mnttab.h89
-rw-r--r--lib/libspl/include/os/linux/sys/mount.h98
-rw-r--r--lib/libspl/include/os/linux/sys/param.h67
-rw-r--r--lib/libspl/include/os/linux/sys/stat.h50
-rw-r--r--lib/libspl/include/os/linux/sys/sysmacros.h103
-rw-r--r--lib/libspl/include/os/linux/sys/zfs_context_os.h25
-rw-r--r--lib/libspl/include/rpc/Makefile.am3
-rw-r--r--lib/libspl/include/rpc/xdr.h68
-rw-r--r--lib/libspl/include/statcommon.h41
-rw-r--r--lib/libspl/include/stdio.h34
-rw-r--r--lib/libspl/include/stdlib.h34
-rw-r--r--lib/libspl/include/string.h40
-rw-r--r--lib/libspl/include/stropts.h25
-rw-r--r--lib/libspl/include/sys/Makefile.am47
-rw-r--r--lib/libspl/include/sys/acl.h287
-rw-r--r--lib/libspl/include/sys/acl_impl.h59
-rw-r--r--lib/libspl/include/sys/callb.h30
-rw-r--r--lib/libspl/include/sys/cmn_err.h30
-rw-r--r--lib/libspl/include/sys/cred.h32
-rw-r--r--lib/libspl/include/sys/debug.h40
-rw-r--r--lib/libspl/include/sys/dkio.h483
-rw-r--r--lib/libspl/include/sys/dklabel.h268
-rw-r--r--lib/libspl/include/sys/dktp/Makefile.am4
-rw-r--r--lib/libspl/include/sys/dktp/fdisk.h173
-rw-r--r--lib/libspl/include/sys/feature_tests.h32
-rw-r--r--lib/libspl/include/sys/int_limits.h30
-rw-r--r--lib/libspl/include/sys/int_types.h32
-rw-r--r--lib/libspl/include/sys/inttypes.h34
-rw-r--r--lib/libspl/include/sys/isa_defs.h264
-rw-r--r--lib/libspl/include/sys/kmem.h45
-rw-r--r--lib/libspl/include/sys/kstat.h822
-rw-r--r--lib/libspl/include/sys/list.h65
-rw-r--r--lib/libspl/include/sys/list_impl.h51
-rw-r--r--lib/libspl/include/sys/mhd.h159
-rw-r--r--lib/libspl/include/sys/mkdev.h30
-rw-r--r--lib/libspl/include/sys/policy.h26
-rw-r--r--lib/libspl/include/sys/poll.h41
-rw-r--r--lib/libspl/include/sys/priv.h30
-rw-r--r--lib/libspl/include/sys/processor.h34
-rw-r--r--lib/libspl/include/sys/sha2.h151
-rw-r--r--lib/libspl/include/sys/simd.h502
-rw-r--r--lib/libspl/include/sys/stack.h74
-rw-r--r--lib/libspl/include/sys/stdtypes.h54
-rw-r--r--lib/libspl/include/sys/strings.h33
-rw-r--r--lib/libspl/include/sys/stropts.h29
-rw-r--r--lib/libspl/include/sys/sunddi.h29
-rw-r--r--lib/libspl/include/sys/systeminfo.h38
-rw-r--r--lib/libspl/include/sys/time.h107
-rw-r--r--lib/libspl/include/sys/trace_spl.h24
-rw-r--r--lib/libspl/include/sys/trace_zfs.h24
-rw-r--r--lib/libspl/include/sys/types.h77
-rw-r--r--lib/libspl/include/sys/types32.h89
-rw-r--r--lib/libspl/include/sys/tzfile.h164
-rw-r--r--lib/libspl/include/sys/uio.h153
-rw-r--r--lib/libspl/include/sys/va_list.h32
-rw-r--r--lib/libspl/include/sys/varargs.h30
-rw-r--r--lib/libspl/include/sys/vnode.h30
-rw-r--r--lib/libspl/include/sys/vtoc.h350
-rw-r--r--lib/libspl/include/sys/zone.h30
-rw-r--r--lib/libspl/include/thread.h30
-rw-r--r--lib/libspl/include/tzfile.h32
-rw-r--r--lib/libspl/include/ucred.h32
-rw-r--r--lib/libspl/include/umem.h208
-rw-r--r--lib/libspl/include/unistd.h39
-rw-r--r--lib/libspl/include/util/Makefile.am3
-rw-r--r--lib/libspl/include/util/sscanf.h30
-rw-r--r--lib/libspl/include/zone.h53
-rw-r--r--lib/libspl/list.c243
-rw-r--r--lib/libspl/mkdirp.c212
-rw-r--r--lib/libspl/os/freebsd/getexecname.c71
-rw-r--r--lib/libspl/os/freebsd/gethostid.c36
-rw-r--r--lib/libspl/os/freebsd/getmntany.c67
-rw-r--r--lib/libspl/os/freebsd/mnttab.c216
-rw-r--r--lib/libspl/os/linux/getexecname.c59
-rw-r--r--lib/libspl/os/linux/gethostid.c86
-rw-r--r--lib/libspl/os/linux/getmntany.c165
-rw-r--r--lib/libspl/page.c34
-rw-r--r--lib/libspl/strlcat.c60
-rw-r--r--lib/libspl/strlcpy.c56
-rw-r--r--lib/libspl/timestamp.c63
-rw-r--r--lib/libspl/zone.c63
-rw-r--r--lib/libtpool/Makefile.am9
-rw-r--r--lib/libtpool/thread_pool.c599
-rw-r--r--lib/libtpool/thread_pool_impl.h93
-rw-r--r--lib/libunicode/Makefile.am15
-rw-r--r--lib/libuutil/Makefile.am34
-rw-r--r--lib/libuutil/uu_alloc.c135
-rw-r--r--lib/libuutil/uu_avl.c569
-rw-r--r--lib/libuutil/uu_dprintf.c130
-rw-r--r--lib/libuutil/uu_ident.c122
-rw-r--r--lib/libuutil/uu_list.c718
-rw-r--r--lib/libuutil/uu_misc.c281
-rw-r--r--lib/libuutil/uu_open.c70
-rw-r--r--lib/libuutil/uu_pname.c207
-rw-r--r--lib/libuutil/uu_string.c54
-rw-r--r--lib/libzfs/.gitignore1
-rw-r--r--lib/libzfs/Makefile.am93
-rw-r--r--lib/libzfs/THIRDPARTYLICENSE.openssl127
-rw-r--r--lib/libzfs/THIRDPARTYLICENSE.openssl.descrip1
-rw-r--r--lib/libzfs/libzfs.pc.in14
-rw-r--r--lib/libzfs/libzfs_changelist.c781
-rw-r--r--lib/libzfs/libzfs_config.c457
-rw-r--r--lib/libzfs/libzfs_crypto.c1621
-rw-r--r--lib/libzfs/libzfs_dataset.c5492
-rw-r--r--lib/libzfs/libzfs_diff.c797
-rw-r--r--lib/libzfs/libzfs_import.c472
-rw-r--r--lib/libzfs/libzfs_iter.c600
-rw-r--r--lib/libzfs/libzfs_mount.c1614
-rw-r--r--lib/libzfs/libzfs_pool.c4531
-rw-r--r--lib/libzfs/libzfs_sendrecv.c5170
-rw-r--r--lib/libzfs/libzfs_status.c508
-rw-r--r--lib/libzfs/libzfs_util.c2092
-rw-r--r--lib/libzfs/os/freebsd/libzfs_compat.c321
-rw-r--r--lib/libzfs/os/freebsd/libzfs_ioctl_compat.c432
-rw-r--r--lib/libzfs/os/freebsd/libzfs_zmount.c139
-rw-r--r--lib/libzfs/os/linux/libzfs_mount_os.c411
-rw-r--r--lib/libzfs/os/linux/libzfs_pool_os.c345
-rw-r--r--lib/libzfs/os/linux/libzfs_sendrecv_os.c52
-rw-r--r--lib/libzfs/os/linux/libzfs_util_os.c215
-rw-r--r--lib/libzfs_core/.gitignore1
-rw-r--r--lib/libzfs_core/Makefile.am29
-rw-r--r--lib/libzfs_core/libzfs_core.c1644
-rw-r--r--lib/libzfs_core/libzfs_core.pc.in13
-rw-r--r--lib/libzpool/Makefile.am230
-rw-r--r--lib/libzpool/kernel.c1410
-rw-r--r--lib/libzpool/taskq.c380
-rw-r--r--lib/libzpool/util.c257
-rw-r--r--lib/libzstd/Makefile.am21
-rw-r--r--lib/libzutil/Makefile.am50
-rw-r--r--lib/libzutil/os/freebsd/zutil_compat.c124
-rw-r--r--lib/libzutil/os/freebsd/zutil_device_path_os.c132
-rw-r--r--lib/libzutil/os/freebsd/zutil_import_os.c239
-rw-r--r--lib/libzutil/os/linux/zutil_compat.c30
-rw-r--r--lib/libzutil/os/linux/zutil_device_path_os.c506
-rw-r--r--lib/libzutil/os/linux/zutil_import_os.c871
-rw-r--r--lib/libzutil/zutil_device_path.c174
-rw-r--r--lib/libzutil/zutil_import.c1587
-rw-r--r--lib/libzutil/zutil_import.h76
-rw-r--r--lib/libzutil/zutil_nicenum.c172
-rw-r--r--lib/libzutil/zutil_pool.c145
-rw-r--r--man/Makefile.am1
-rw-r--r--man/man1/Makefile.am12
-rw-r--r--man/man1/arcstat.1502
-rw-r--r--man/man1/cstyle.1167
-rw-r--r--man/man1/raidz_test.197
-rw-r--r--man/man1/zhack.198
-rw-r--r--man/man1/ztest.1179
-rw-r--r--man/man1/zvol_wait.121
-rw-r--r--man/man5/Makefile.am16
-rw-r--r--man/man5/spl-module-parameters.5326
-rw-r--r--man/man5/vdev_id.conf.5222
-rw-r--r--man/man5/zfs-events.5965
-rw-r--r--man/man5/zfs-module-parameters.54084
-rw-r--r--man/man5/zpool-features.5985
-rw-r--r--man/man8/.gitignore2
-rw-r--r--man/man8/Makefile.am101
-rw-r--r--man/man8/fsck.zfs.867
-rw-r--r--man/man8/mount.zfs.8144
-rw-r--r--man/man8/vdev_id.877
-rw-r--r--man/man8/zdb.8478
-rw-r--r--man/man8/zed.8.in268
-rw-r--r--man/man8/zfs-allow.8372
-rw-r--r--man/man8/zfs-bookmark.869
l---------man/man8/zfs-change-key.81
-rw-r--r--man/man8/zfs-clone.877
-rw-r--r--man/man8/zfs-create.8244
-rw-r--r--man/man8/zfs-destroy.8178
-rw-r--r--man/man8/zfs-diff.891
l---------man/man8/zfs-get.81
l---------man/man8/zfs-groupspace.81
-rw-r--r--man/man8/zfs-hold.8110
l---------man/man8/zfs-inherit.81
-rw-r--r--man/man8/zfs-jail.8119
-rw-r--r--man/man8/zfs-list.8169
-rw-r--r--man/man8/zfs-load-key.8295
-rw-r--r--man/man8/zfs-mount-generator.8.in248
-rw-r--r--man/man8/zfs-mount.8128
-rw-r--r--man/man8/zfs-program.8634
-rw-r--r--man/man8/zfs-project.8153
l---------man/man8/zfs-projectspace.81
-rw-r--r--man/man8/zfs-promote.869
-rw-r--r--man/man8/zfs-receive.8375
l---------man/man8/zfs-recv.81
l---------man/man8/zfs-redact.81
l---------man/man8/zfs-release.81
-rw-r--r--man/man8/zfs-rename.891
-rw-r--r--man/man8/zfs-rollback.881
-rw-r--r--man/man8/zfs-send.8609
-rw-r--r--man/man8/zfs-set.8188
-rw-r--r--man/man8/zfs-share.888
-rw-r--r--man/man8/zfs-snapshot.883
l---------man/man8/zfs-unallow.81
l---------man/man8/zfs-unjail.81
l---------man/man8/zfs-unload-key.81
l---------man/man8/zfs-unmount.81
-rw-r--r--man/man8/zfs-upgrade.8106
-rw-r--r--man/man8/zfs-userspace.8186
-rw-r--r--man/man8/zfs-wait.871
-rw-r--r--man/man8/zfs.8741
-rw-r--r--man/man8/zfs_ids_to_path.850
-rw-r--r--man/man8/zfsconcepts.8198
-rw-r--r--man/man8/zfsprops.81988
-rw-r--r--man/man8/zgenhostid.871
-rw-r--r--man/man8/zinject.8198
-rw-r--r--man/man8/zpool-add.8102
-rw-r--r--man/man8/zpool-attach.8103
-rw-r--r--man/man8/zpool-checkpoint.882
-rw-r--r--man/man8/zpool-clear.860
-rw-r--r--man/man8/zpool-create.8207
-rw-r--r--man/man8/zpool-destroy.855
-rw-r--r--man/man8/zpool-detach.861
-rw-r--r--man/man8/zpool-events.871
-rw-r--r--man/man8/zpool-export.883
-rw-r--r--man/man8/zpool-get.8102
-rw-r--r--man/man8/zpool-history.864
-rw-r--r--man/man8/zpool-import.8388
-rw-r--r--man/man8/zpool-initialize.881
-rw-r--r--man/man8/zpool-iostat.8247
-rw-r--r--man/man8/zpool-labelclear.866
-rw-r--r--man/man8/zpool-list.8119
-rw-r--r--man/man8/zpool-offline.889
l---------man/man8/zpool-online.81
-rw-r--r--man/man8/zpool-reguid.853
-rw-r--r--man/man8/zpool-remove.8109
-rw-r--r--man/man8/zpool-reopen.855
-rw-r--r--man/man8/zpool-replace.8105
-rw-r--r--man/man8/zpool-resilver.859
-rw-r--r--man/man8/zpool-scrub.8105
l---------man/man8/zpool-set.81
-rw-r--r--man/man8/zpool-split.8124
-rw-r--r--man/man8/zpool-status.8138
-rw-r--r--man/man8/zpool-sync.857
-rw-r--r--man/man8/zpool-trim.894
-rw-r--r--man/man8/zpool-upgrade.896
-rw-r--r--man/man8/zpool-wait.8114
-rw-r--r--man/man8/zpool.8568
-rw-r--r--man/man8/zpoolconcepts.8414
-rw-r--r--man/man8/zpoolprops.8368
-rw-r--r--man/man8/zstream.8110
-rw-r--r--man/man8/zstreamdump.858
-rw-r--r--module/.gitignore26
-rw-r--r--module/Kbuild.in47
-rw-r--r--module/Makefile.bsd359
-rw-r--r--module/Makefile.in115
-rw-r--r--module/avl/Makefile.in10
-rw-r--r--module/avl/avl.c1093
-rw-r--r--module/icp/Makefile.in96
-rw-r--r--module/icp/algs/aes/aes_impl.c443
-rw-r--r--module/icp/algs/aes/aes_impl_aesni.c124
-rw-r--r--module/icp/algs/aes/aes_impl_generic.c1242
-rw-r--r--module/icp/algs/aes/aes_impl_x86-64.c63
-rw-r--r--module/icp/algs/aes/aes_modes.c135
-rw-r--r--module/icp/algs/edonr/edonr.c746
-rw-r--r--module/icp/algs/edonr/edonr_byteorder.h216
-rw-r--r--module/icp/algs/modes/cbc.c273
-rw-r--r--module/icp/algs/modes/ccm.c907
-rw-r--r--module/icp/algs/modes/ctr.c228
-rw-r--r--module/icp/algs/modes/ecb.c128
-rw-r--r--module/icp/algs/modes/gcm.c1543
-rw-r--r--module/icp/algs/modes/gcm_generic.c83
-rw-r--r--module/icp/algs/modes/gcm_pclmulqdq.c64
-rw-r--r--module/icp/algs/modes/modes.c157
-rw-r--r--module/icp/algs/sha1/sha1.c835
-rw-r--r--module/icp/algs/sha2/sha2.c956
-rw-r--r--module/icp/algs/skein/THIRDPARTYLICENSE3
-rw-r--r--module/icp/algs/skein/THIRDPARTYLICENSE.descrip1
-rw-r--r--module/icp/algs/skein/skein.c911
-rw-r--r--module/icp/algs/skein/skein_block.c790
-rw-r--r--module/icp/algs/skein/skein_impl.h292
-rw-r--r--module/icp/algs/skein/skein_iv.c185
-rw-r--r--module/icp/algs/skein/skein_port.h116
-rw-r--r--module/icp/api/kcf_cipher.c930
-rw-r--r--module/icp/api/kcf_ctxops.c151
-rw-r--r--module/icp/api/kcf_digest.c491
-rw-r--r--module/icp/api/kcf_mac.c645
-rw-r--r--module/icp/api/kcf_miscapi.c127
-rw-r--r--module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.gladman23
-rw-r--r--module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.gladman.descrip1
-rw-r--r--module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.openssl127
-rw-r--r--module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.openssl.descrip1
-rw-r--r--module/icp/asm-x86_64/aes/aes_aesni.S748
-rw-r--r--module/icp/asm-x86_64/aes/aes_amd64.S906
-rw-r--r--module/icp/asm-x86_64/aes/aeskey.c580
-rw-r--r--module/icp/asm-x86_64/aes/aesopt.h770
-rw-r--r--module/icp/asm-x86_64/aes/aestab.h165
-rw-r--r--module/icp/asm-x86_64/aes/aestab2.h594
-rw-r--r--module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.cryptogams36
-rw-r--r--module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.cryptogams.descrip1
-rw-r--r--module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.openssl177
-rw-r--r--module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.openssl.descrip1
-rw-r--r--module/icp/asm-x86_64/modes/aesni-gcm-x86_64.S1245
-rw-r--r--module/icp/asm-x86_64/modes/gcm_pclmulqdq.S254
-rw-r--r--module/icp/asm-x86_64/modes/ghash-x86_64.S714
-rw-r--r--module/icp/asm-x86_64/sha1/sha1-x86_64.S1353
-rw-r--r--module/icp/asm-x86_64/sha2/sha256_impl.S2063
-rw-r--r--module/icp/asm-x86_64/sha2/sha512_impl.S2088
-rw-r--r--module/icp/core/kcf_callprov.c1567
-rw-r--r--module/icp/core/kcf_mech_tabs.c791
-rw-r--r--module/icp/core/kcf_prov_lib.c227
-rw-r--r--module/icp/core/kcf_prov_tabs.c645
-rw-r--r--module/icp/core/kcf_sched.c1782
-rw-r--r--module/icp/illumos-crypto.c158
-rw-r--r--module/icp/include/aes/aes_impl.h227
-rw-r--r--module/icp/include/modes/gcm_impl.h75
-rw-r--r--module/icp/include/modes/modes.h411
-rw-r--r--module/icp/include/sha1/sha1.h61
-rw-r--r--module/icp/include/sha1/sha1_consts.h65
-rw-r--r--module/icp/include/sha1/sha1_impl.h73
-rw-r--r--module/icp/include/sha2/sha2_consts.h219
-rw-r--r--module/icp/include/sha2/sha2_impl.h64
-rw-r--r--module/icp/include/sys/asm_linkage.h46
-rw-r--r--module/icp/include/sys/bitmap.h183
-rw-r--r--module/icp/include/sys/crypto/elfsign.h137
-rw-r--r--module/icp/include/sys/crypto/impl.h1363
-rw-r--r--module/icp/include/sys/crypto/ioctl.h1480
-rw-r--r--module/icp/include/sys/crypto/ioctladmin.h136
-rw-r--r--module/icp/include/sys/crypto/ops_impl.h630
-rw-r--r--module/icp/include/sys/crypto/sched_impl.h531
-rw-r--r--module/icp/include/sys/crypto/spi.h726
-rw-r--r--module/icp/include/sys/ia32/asm_linkage.h307
-rw-r--r--module/icp/include/sys/ia32/stack.h160
-rw-r--r--module/icp/include/sys/ia32/trap.h107
-rw-r--r--module/icp/include/sys/modctl.h477
-rw-r--r--module/icp/include/sys/modhash.h147
-rw-r--r--module/icp/include/sys/modhash_impl.h108
-rw-r--r--module/icp/include/sys/stack.h36
-rw-r--r--module/icp/include/sys/trap.h36
-rw-r--r--module/icp/io/aes.c1439
-rw-r--r--module/icp/io/edonr_mod.c63
-rw-r--r--module/icp/io/sha1_mod.c1230
-rw-r--r--module/icp/io/sha2_mod.c1399
-rw-r--r--module/icp/io/skein_mod.c729
-rw-r--r--module/icp/os/modconf.c173
-rw-r--r--module/icp/os/modhash.c927
-rw-r--r--module/icp/spi/kcf_spi.c925
-rw-r--r--module/lua/Makefile.in39
-rw-r--r--module/lua/README.zfs80
-rw-r--r--module/lua/lapi.c1345
-rw-r--r--module/lua/lapi.h26
-rw-r--r--module/lua/lauxlib.c800
-rw-r--r--module/lua/lbaselib.c296
-rw-r--r--module/lua/lcode.c884
-rw-r--r--module/lua/lcode.h85
-rw-r--r--module/lua/lcompat.c101
-rw-r--r--module/lua/lcorolib.c159
-rw-r--r--module/lua/lctype.c52
-rw-r--r--module/lua/lctype.h94
-rw-r--r--module/lua/ldebug.c609
-rw-r--r--module/lua/ldebug.h36
-rw-r--r--module/lua/ldo.c748
-rw-r--r--module/lua/ldo.h47
-rw-r--r--module/lua/lfunc.c160
-rw-r--r--module/lua/lfunc.h35
-rw-r--r--module/lua/lgc.c1218
-rw-r--r--module/lua/lgc.h159
-rw-r--r--module/lua/llex.c531
-rw-r--r--module/lua/llex.h83
-rw-r--r--module/lua/llimits.h323
-rw-r--r--module/lua/lmem.c98
-rw-r--r--module/lua/lmem.h56
-rw-r--r--module/lua/lobject.c282
-rw-r--r--module/lua/lobject.h605
-rw-r--r--module/lua/lopcodes.c108
-rw-r--r--module/lua/lopcodes.h290
-rw-r--r--module/lua/lparser.c1643
-rw-r--r--module/lua/lparser.h121
-rw-r--r--module/lua/lstate.c320
-rw-r--r--module/lua/lstate.h230
-rw-r--r--module/lua/lstring.c186
-rw-r--r--module/lua/lstring.h48
-rw-r--r--module/lua/lstrlib.c1040
-rw-r--r--module/lua/ltable.c592
-rw-r--r--module/lua/ltable.h47
-rw-r--r--module/lua/ltablib.c289
-rw-r--r--module/lua/ltm.c76
-rw-r--r--module/lua/ltm.h59
-rw-r--r--module/lua/lvm.c932
-rw-r--r--module/lua/lvm.h46
-rw-r--r--module/lua/lzio.c74
-rw-r--r--module/lua/lzio.h67
-rw-r--r--module/lua/setjmp/setjmp.S19
-rw-r--r--module/lua/setjmp/setjmp_aarch64.S86
-rw-r--r--module/lua/setjmp/setjmp_arm.S84
-rw-r--r--module/lua/setjmp/setjmp_i386.S69
-rw-r--r--module/lua/setjmp/setjmp_mips.S105
-rw-r--r--module/lua/setjmp/setjmp_ppc.S165
-rw-r--r--module/lua/setjmp/setjmp_rv64g.S91
-rw-r--r--module/lua/setjmp/setjmp_s390x.S64
-rw-r--r--module/lua/setjmp/setjmp_sparc64.S105
-rw-r--r--module/lua/setjmp/setjmp_x86_64.S77
-rw-r--r--module/nvpair/Makefile.in13
-rw-r--r--module/nvpair/fnvpair.c660
-rw-r--r--module/nvpair/nvpair.c3729
-rw-r--r--module/nvpair/nvpair_alloc_fixed.c115
-rw-r--r--module/nvpair/nvpair_alloc_spl.c96
-rw-r--r--module/os/freebsd/spl/acl_common.c1709
-rw-r--r--module/os/freebsd/spl/callb.c373
-rw-r--r--module/os/freebsd/spl/list.c246
-rw-r--r--module/os/freebsd/spl/sha224.h96
-rw-r--r--module/os/freebsd/spl/sha256.h99
-rw-r--r--module/os/freebsd/spl/sha256c.c378
-rw-r--r--module/os/freebsd/spl/sha384.h96
-rw-r--r--module/os/freebsd/spl/sha512.h101
-rw-r--r--module/os/freebsd/spl/sha512c.c508
-rw-r--r--module/os/freebsd/spl/sha512t.h143
-rw-r--r--module/os/freebsd/spl/spl_acl.c223
-rw-r--r--module/os/freebsd/spl/spl_atomic.c123
-rw-r--r--module/os/freebsd/spl/spl_cmn_err.c77
-rw-r--r--module/os/freebsd/spl/spl_dtrace.c38
-rw-r--r--module/os/freebsd/spl/spl_kmem.c352
-rw-r--r--module/os/freebsd/spl/spl_kstat.c351
-rw-r--r--module/os/freebsd/spl/spl_misc.c113
-rw-r--r--module/os/freebsd/spl/spl_policy.c437
-rw-r--r--module/os/freebsd/spl/spl_procfs_list.c79
-rw-r--r--module/os/freebsd/spl/spl_string.c107
-rw-r--r--module/os/freebsd/spl/spl_sunddi.c75
-rw-r--r--module/os/freebsd/spl/spl_sysevent.c262
-rw-r--r--module/os/freebsd/spl/spl_taskq.c409
-rw-r--r--module/os/freebsd/spl/spl_uio.c92
-rw-r--r--module/os/freebsd/spl/spl_vfs.c285
-rw-r--r--module/os/freebsd/spl/spl_vm.c75
-rw-r--r--module/os/freebsd/spl/spl_zlib.c242
-rw-r--r--module/os/freebsd/spl/spl_zone.c266
-rw-r--r--module/os/freebsd/zfs/abd_os.c498
-rw-r--r--module/os/freebsd/zfs/arc_os.c245
-rw-r--r--module/os/freebsd/zfs/crypto_os.c611
-rw-r--r--module/os/freebsd/zfs/dmu_os.c349
-rw-r--r--module/os/freebsd/zfs/hkdf.c102
-rw-r--r--module/os/freebsd/zfs/kmod_core.c381
-rw-r--r--module/os/freebsd/zfs/spa_os.c281
-rw-r--r--module/os/freebsd/zfs/spa_stats.c114
-rw-r--r--module/os/freebsd/zfs/sysctl_os.c693
-rw-r--r--module/os/freebsd/zfs/vdev_file.c328
-rw-r--r--module/os/freebsd/zfs/vdev_geom.c1206
-rw-r--r--module/os/freebsd/zfs/vdev_label_os.c74
-rw-r--r--module/os/freebsd/zfs/zfs_acl.c2700
-rw-r--r--module/os/freebsd/zfs/zfs_ctldir.c1350
-rw-r--r--module/os/freebsd/zfs/zfs_debug.c251
-rw-r--r--module/os/freebsd/zfs/zfs_dir.c967
-rw-r--r--module/os/freebsd/zfs/zfs_file_os.c309
-rw-r--r--module/os/freebsd/zfs/zfs_ioctl_compat.c361
-rw-r--r--module/os/freebsd/zfs/zfs_ioctl_os.c161
-rw-r--r--module/os/freebsd/zfs/zfs_onexit_os.c70
-rw-r--r--module/os/freebsd/zfs/zfs_vfsops.c2482
-rw-r--r--module/os/freebsd/zfs/zfs_vnops.c6629
-rw-r--r--module/os/freebsd/zfs/zfs_znode.c2067
-rw-r--r--module/os/freebsd/zfs/zio_crypt.c1882
-rw-r--r--module/os/freebsd/zfs/zvol_os.c1454
-rw-r--r--module/os/linux/spl/Makefile.in17
-rw-r--r--module/os/linux/spl/README.md16
-rw-r--r--module/os/linux/spl/THIRDPARTYLICENSE.gplv2339
-rw-r--r--module/os/linux/spl/THIRDPARTYLICENSE.gplv2.descrip1
-rw-r--r--module/os/linux/spl/spl-atomic.c36
-rw-r--r--module/os/linux/spl/spl-condvar.c466
-rw-r--r--module/os/linux/spl/spl-cred.c196
-rw-r--r--module/os/linux/spl/spl-err.c124
-rw-r--r--module/os/linux/spl/spl-generic.c844
-rw-r--r--module/os/linux/spl/spl-kmem-cache.c1469
-rw-r--r--module/os/linux/spl/spl-kmem.c618
-rw-r--r--module/os/linux/spl/spl-kstat.c778
-rw-r--r--module/os/linux/spl/spl-proc.c791
-rw-r--r--module/os/linux/spl/spl-procfs-list.c264
-rw-r--r--module/os/linux/spl/spl-taskq.c1308
-rw-r--r--module/os/linux/spl/spl-thread.c161
-rw-r--r--module/os/linux/spl/spl-trace.c33
-rw-r--r--module/os/linux/spl/spl-tsd.c720
-rw-r--r--module/os/linux/spl/spl-vmem.c91
-rw-r--r--module/os/linux/spl/spl-xdr.c513
-rw-r--r--module/os/linux/spl/spl-zlib.c218
-rw-r--r--module/os/linux/zfs/Makefile.in37
-rw-r--r--module/os/linux/zfs/abd_os.c1074
-rw-r--r--module/os/linux/zfs/arc_os.c465
-rw-r--r--module/os/linux/zfs/mmp_os.c41
-rw-r--r--module/os/linux/zfs/policy.c374
-rw-r--r--module/os/linux/zfs/qat.c105
-rw-r--r--module/os/linux/zfs/qat_compress.c569
-rw-r--r--module/os/linux/zfs/qat_crypt.c630
-rw-r--r--module/os/linux/zfs/spa_misc_os.c110
-rw-r--r--module/os/linux/zfs/spa_stats.c1047
-rw-r--r--module/os/linux/zfs/trace.c55
-rw-r--r--module/os/linux/zfs/vdev_disk.c873
-rw-r--r--module/os/linux/zfs/vdev_file.c348
-rw-r--r--module/os/linux/zfs/zfs_acl.c2932
-rw-r--r--module/os/linux/zfs/zfs_ctldir.c1241
-rw-r--r--module/os/linux/zfs/zfs_debug.c254
-rw-r--r--module/os/linux/zfs/zfs_dir.c1224
-rw-r--r--module/os/linux/zfs/zfs_file_os.c440
-rw-r--r--module/os/linux/zfs/zfs_ioctl_os.c329
-rw-r--r--module/os/linux/zfs/zfs_sysfs.c662
-rw-r--r--module/os/linux/zfs/zfs_vfsops.c2165
-rw-r--r--module/os/linux/zfs/zfs_vnops.c5031
-rw-r--r--module/os/linux/zfs/zfs_znode.c2249
-rw-r--r--module/os/linux/zfs/zio_crypt.c2036
-rw-r--r--module/os/linux/zfs/zpl_ctldir.c551
-rw-r--r--module/os/linux/zfs/zpl_export.c154
-rw-r--r--module/os/linux/zfs/zpl_file.c1079
-rw-r--r--module/os/linux/zfs/zpl_inode.c747
-rw-r--r--module/os/linux/zfs/zpl_super.c326
-rw-r--r--module/os/linux/zfs/zpl_xattr.c1480
-rw-r--r--module/os/linux/zfs/zvol_os.c1125
-rw-r--r--module/spl/Makefile.in13
-rw-r--r--module/unicode/Makefile.in11
-rw-r--r--module/unicode/u8_textprep.c2151
-rw-r--r--module/unicode/uconv.c863
-rw-r--r--module/zcommon/Makefile.in29
-rw-r--r--module/zcommon/cityhash.c67
-rw-r--r--module/zcommon/zfeature_common.c602
-rw-r--r--module/zcommon/zfs_comutil.c263
-rw-r--r--module/zcommon/zfs_deleg.c249
-rw-r--r--module/zcommon/zfs_fletcher.c940
-rw-r--r--module/zcommon/zfs_fletcher_aarch64_neon.c215
-rw-r--r--module/zcommon/zfs_fletcher_avx512.c225
-rw-r--r--module/zcommon/zfs_fletcher_intel.c173
-rw-r--r--module/zcommon/zfs_fletcher_sse.c232
-rw-r--r--module/zcommon/zfs_fletcher_superscalar.c163
-rw-r--r--module/zcommon/zfs_fletcher_superscalar4.c229
-rw-r--r--module/zcommon/zfs_namecheck.c471
-rw-r--r--module/zcommon/zfs_prop.c1052
-rw-r--r--module/zcommon/zfs_uio.c287
-rw-r--r--module/zcommon/zpool_prop.c275
-rw-r--r--module/zcommon/zprop_common.c480
-rw-r--r--module/zfs/Makefile.in153
-rw-r--r--module/zfs/THIRDPARTYLICENSE.cityhash19
-rw-r--r--module/zfs/THIRDPARTYLICENSE.cityhash.descrip1
-rw-r--r--module/zfs/abd.c1213
-rw-r--r--module/zfs/aggsum.c237
-rw-r--r--module/zfs/arc.c10565
-rw-r--r--module/zfs/blkptr.c153
-rw-r--r--module/zfs/bplist.c91
-rw-r--r--module/zfs/bpobj.c943
-rw-r--r--module/zfs/bptree.c303
-rw-r--r--module/zfs/bqueue.c155
-rw-r--r--module/zfs/btree.c2124
-rw-r--r--module/zfs/dataset_kstats.c215
-rw-r--r--module/zfs/dbuf.c4741
-rw-r--r--module/zfs/dbuf_stats.c231
-rw-r--r--module/zfs/ddt.c1187
-rw-r--r--module/zfs/ddt_zap.c168
-rw-r--r--module/zfs/dmu.c2482
-rw-r--r--module/zfs/dmu_diff.c240
-rw-r--r--module/zfs/dmu_object.c525
-rw-r--r--module/zfs/dmu_objset.c2992
-rw-r--r--module/zfs/dmu_recv.c3386
-rw-r--r--module/zfs/dmu_redact.c1186
-rw-r--r--module/zfs/dmu_send.c3091
-rw-r--r--module/zfs/dmu_traverse.c786
-rw-r--r--module/zfs/dmu_tx.c1404
-rw-r--r--module/zfs/dmu_zfetch.c384
-rw-r--r--module/zfs/dnode.c2575
-rw-r--r--module/zfs/dnode_sync.c846
-rw-r--r--module/zfs/dsl_bookmark.c1742
-rw-r--r--module/zfs/dsl_crypt.c2872
-rw-r--r--module/zfs/dsl_dataset.c5027
-rw-r--r--module/zfs/dsl_deadlist.c1012
-rw-r--r--module/zfs/dsl_deleg.c774
-rw-r--r--module/zfs/dsl_destroy.c1286
-rw-r--r--module/zfs/dsl_dir.c2414
-rw-r--r--module/zfs/dsl_pool.c1384
-rw-r--r--module/zfs/dsl_prop.c1287
-rw-r--r--module/zfs/dsl_scan.c4426
-rw-r--r--module/zfs/dsl_synctask.c261
-rw-r--r--module/zfs/dsl_userhold.c691
-rw-r--r--module/zfs/edonr_zfs.c115
-rw-r--r--module/zfs/fm.c1674
-rw-r--r--module/zfs/gzip.c106
-rw-r--r--module/zfs/hkdf.c171
-rw-r--r--module/zfs/lz4.c1031
-rw-r--r--module/zfs/lzjb.c132
-rw-r--r--module/zfs/metaslab.c6236
-rw-r--r--module/zfs/mmp.c728
-rw-r--r--module/zfs/multilist.c431
-rw-r--r--module/zfs/objlist.c84
-rw-r--r--module/zfs/pathname.c96
-rw-r--r--module/zfs/range_tree.c921
-rw-r--r--module/zfs/refcount.c327
-rw-r--r--module/zfs/rrwlock.c396
-rw-r--r--module/zfs/sa.c2258
-rw-r--r--module/zfs/sha256.c105
-rw-r--r--module/zfs/skein_zfs.c102
-rw-r--r--module/zfs/spa.c9754
-rw-r--r--module/zfs/spa_boot.c50
-rw-r--r--module/zfs/spa_checkpoint.c636
-rw-r--r--module/zfs/spa_config.c620
-rw-r--r--module/zfs/spa_errlog.c416
-rw-r--r--module/zfs/spa_history.c629
-rw-r--r--module/zfs/spa_log_spacemap.c1322
-rw-r--r--module/zfs/spa_misc.c2921
-rw-r--r--module/zfs/space_map.c1105
-rw-r--r--module/zfs/space_reftree.c152
-rw-r--r--module/zfs/txg.c1059
-rw-r--r--module/zfs/uberblock.c74
-rw-r--r--module/zfs/unique.c112
-rw-r--r--module/zfs/vdev.c5090
-rw-r--r--module/zfs/vdev_cache.c437
-rw-r--r--module/zfs/vdev_indirect.c1890
-rw-r--r--module/zfs/vdev_indirect_births.c226
-rw-r--r--module/zfs/vdev_indirect_mapping.c616
-rw-r--r--module/zfs/vdev_initialize.c750
-rw-r--r--module/zfs/vdev_label.c1901
-rw-r--r--module/zfs/vdev_mirror.c863
-rw-r--r--module/zfs/vdev_missing.c113
-rw-r--r--module/zfs/vdev_queue.c1070
-rw-r--r--module/zfs/vdev_raidz.c2421
-rw-r--r--module/zfs/vdev_raidz_math.c666
-rw-r--r--module/zfs/vdev_raidz_math_aarch64_neon.c2279
-rw-r--r--module/zfs/vdev_raidz_math_aarch64_neon_common.h684
-rw-r--r--module/zfs/vdev_raidz_math_aarch64_neonx2.c232
-rw-r--r--module/zfs/vdev_raidz_math_avx2.c413
-rw-r--r--module/zfs/vdev_raidz_math_avx512bw.c413
-rw-r--r--module/zfs/vdev_raidz_math_avx512f.c494
-rw-r--r--module/zfs/vdev_raidz_math_impl.h1477
-rw-r--r--module/zfs/vdev_raidz_math_powerpc_altivec.c4337
-rw-r--r--module/zfs/vdev_raidz_math_powerpc_altivec_common.h690
-rw-r--r--module/zfs/vdev_raidz_math_scalar.c337
-rw-r--r--module/zfs/vdev_raidz_math_sse2.c631
-rw-r--r--module/zfs/vdev_raidz_math_ssse3.c2477
-rw-r--r--module/zfs/vdev_rebuild.c1108
-rw-r--r--module/zfs/vdev_removal.c2340
-rw-r--r--module/zfs/vdev_root.c158
-rw-r--r--module/zfs/vdev_trim.c1701
-rw-r--r--module/zfs/zap.c1384
-rw-r--r--module/zfs/zap_leaf.c849
-rw-r--r--module/zfs/zap_micro.c1697
-rw-r--r--module/zfs/zcp.c1456
-rw-r--r--module/zfs/zcp_get.c813
-rw-r--r--module/zfs/zcp_global.c89
-rw-r--r--module/zfs/zcp_iter.c751
-rw-r--r--module/zfs/zcp_set.c100
-rw-r--r--module/zfs/zcp_synctask.c544
-rw-r--r--module/zfs/zfeature.c526
-rw-r--r--module/zfs/zfs_byteswap.c211
-rw-r--r--module/zfs/zfs_fm.c1083
-rw-r--r--module/zfs/zfs_fuid.c815
-rw-r--r--module/zfs/zfs_ioctl.c7629
-rw-r--r--module/zfs/zfs_log.c774
-rw-r--r--module/zfs/zfs_onexit.c173
-rw-r--r--module/zfs/zfs_quota.c476
-rw-r--r--module/zfs/zfs_ratelimit.c99
-rw-r--r--module/zfs/zfs_replay.c992
-rw-r--r--module/zfs/zfs_rlock.c691
-rw-r--r--module/zfs/zfs_sa.c445
-rw-r--r--module/zfs/zil.c3688
-rw-r--r--module/zfs/zio.c4969
-rw-r--r--module/zfs/zio_checksum.c570
-rw-r--r--module/zfs/zio_compress.c220
-rw-r--r--module/zfs/zio_inject.c966
-rw-r--r--module/zfs/zle.c91
-rw-r--r--module/zfs/zrlock.c188
-rw-r--r--module/zfs/zthr.c536
-rw-r--r--module/zfs/zvol.c1729
-rw-r--r--module/zstd/Makefile.in35
-rw-r--r--module/zstd/README.md65
-rw-r--r--module/zstd/include/aarch64_compat.h37
-rw-r--r--module/zstd/include/limits.h63
-rw-r--r--module/zstd/include/stddef.h62
-rw-r--r--module/zstd/include/stdint.h62
-rw-r--r--module/zstd/include/stdio.h54
-rw-r--r--module/zstd/include/stdlib.h58
-rw-r--r--module/zstd/include/string.h62
-rw-r--r--module/zstd/include/zstd_compat_wrapper.h460
-rw-r--r--module/zstd/lib/zstd.c27826
-rw-r--r--module/zstd/lib/zstd.h2115
-rw-r--r--module/zstd/lib/zstd_errors.h94
-rw-r--r--module/zstd/zfs_zstd.c738
-rw-r--r--module/zstd/zstd-in.c68
-rw-r--r--rpm/Makefile.am1
-rw-r--r--rpm/generic/.gitignore3
-rw-r--r--rpm/generic/Makefile.am1
-rw-r--r--rpm/generic/zfs-dkms.spec.in102
-rw-r--r--rpm/generic/zfs-kmod.spec.in164
-rw-r--r--rpm/generic/zfs.spec.in523
-rw-r--r--rpm/redhat/.gitignore3
-rw-r--r--rpm/redhat/Makefile.am1
l---------rpm/redhat/zfs-dkms.spec.in1
-rw-r--r--rpm/redhat/zfs-kmod.spec.in88
l---------rpm/redhat/zfs.spec.in1
-rw-r--r--scripts/.gitignore1
-rw-r--r--scripts/Makefile.am77
-rwxr-xr-xscripts/commitcheck.sh218
-rw-r--r--scripts/common.sh.in21
-rwxr-xr-xscripts/cstyle.pl1018
-rwxr-xr-xscripts/dkms.mkconf120
-rwxr-xr-xscripts/dkms.postbuild24
-rwxr-xr-xscripts/enum-extract.pl58
-rwxr-xr-xscripts/kmodtool611
-rwxr-xr-xscripts/make_gitrev.sh78
-rwxr-xr-xscripts/man-dates.sh12
-rwxr-xr-xscripts/paxcheck.sh44
-rwxr-xr-xscripts/zfs-helpers.sh194
-rwxr-xr-xscripts/zfs-tests.sh706
-rwxr-xr-xscripts/zfs.sh279
-rwxr-xr-xscripts/zfs2zol-patch.sed32
-rwxr-xr-xscripts/zimport.sh517
-rwxr-xr-xscripts/zloop.sh304
-rwxr-xr-xscripts/zol2zfs-patch.sed20
-rw-r--r--tests/Makefile.am3
-rw-r--r--tests/README.md152
-rw-r--r--tests/runfiles/Makefile.am8
-rw-r--r--tests/runfiles/common.run900
-rw-r--r--tests/runfiles/freebsd.run27
-rw-r--r--tests/runfiles/linux.run179
-rw-r--r--tests/runfiles/longevity.run23
-rw-r--r--tests/runfiles/perf-regression.run33
-rw-r--r--tests/runfiles/sunos.run53
-rw-r--r--tests/test-runner/Makefile.am1
-rw-r--r--tests/test-runner/bin/.gitignore2
-rw-r--r--tests/test-runner/bin/Makefile.am8
-rwxr-xr-xtests/test-runner/bin/test-runner.py.in1056
-rwxr-xr-xtests/test-runner/bin/zts-report.py.in390
-rw-r--r--tests/test-runner/include/Makefile.am5
-rw-r--r--tests/test-runner/include/logapi.shlib530
-rw-r--r--tests/test-runner/include/stf.shlib57
-rw-r--r--tests/test-runner/man/Makefile.am4
-rw-r--r--tests/test-runner/man/test-runner.1386
-rw-r--r--tests/zfs-tests/Makefile.am1
-rw-r--r--tests/zfs-tests/callbacks/Makefile.am6
-rwxr-xr-xtests/zfs-tests/callbacks/zfs_dbgmsg.ksh29
-rwxr-xr-xtests/zfs-tests/callbacks/zfs_dmesg.ksh30
-rwxr-xr-xtests/zfs-tests/callbacks/zfs_failsafe.ksh8
-rwxr-xr-xtests/zfs-tests/callbacks/zfs_mmp.ksh37
-rw-r--r--tests/zfs-tests/cmd/Makefile.am34
-rw-r--r--tests/zfs-tests/cmd/btree_test/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/btree_test/Makefile.am32
-rw-r--r--tests/zfs-tests/cmd/btree_test/btree_test.c554
-rw-r--r--tests/zfs-tests/cmd/chg_usr_exec/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/chg_usr_exec/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/chg_usr_exec/chg_usr_exec.c77
-rw-r--r--tests/zfs-tests/cmd/devname2devid/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/devname2devid/Makefile.am10
-rw-r--r--tests/zfs-tests/cmd/devname2devid/devname2devid.c160
-rw-r--r--tests/zfs-tests/cmd/dir_rd_update/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/dir_rd_update/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/dir_rd_update/dir_rd_update.c136
-rw-r--r--tests/zfs-tests/cmd/file_check/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/file_check/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/file_check/file_check.c86
-rw-r--r--tests/zfs-tests/cmd/file_common.h70
-rw-r--r--tests/zfs-tests/cmd/file_trunc/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/file_trunc/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/file_trunc/file_trunc.c240
-rw-r--r--tests/zfs-tests/cmd/file_write/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/file_write/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/file_write/file_write.c258
-rw-r--r--tests/zfs-tests/cmd/get_diff/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/get_diff/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/get_diff/get_diff.c109
-rw-r--r--tests/zfs-tests/cmd/largest_file/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/largest_file/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/largest_file/largest_file.c145
-rw-r--r--tests/zfs-tests/cmd/libzfs_input_check/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/libzfs_input_check/Makefile.am10
-rw-r--r--tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c1060
-rw-r--r--tests/zfs-tests/cmd/mkbusy/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/mkbusy/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/mkbusy/mkbusy.c177
-rw-r--r--tests/zfs-tests/cmd/mkfile/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/mkfile/Makefile.am8
-rw-r--r--tests/zfs-tests/cmd/mkfile/mkfile.c282
-rw-r--r--tests/zfs-tests/cmd/mkfiles/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/mkfiles/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/mkfiles/mkfiles.c66
-rw-r--r--tests/zfs-tests/cmd/mktree/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/mktree/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/mktree/mktree.c191
-rw-r--r--tests/zfs-tests/cmd/mmap_exec/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/mmap_exec/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/mmap_exec/mmap_exec.c72
-rw-r--r--tests/zfs-tests/cmd/mmap_libaio/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/mmap_libaio/Makefile.am10
-rw-r--r--tests/zfs-tests/cmd/mmap_libaio/mmap_libaio.c88
-rw-r--r--tests/zfs-tests/cmd/mmapwrite/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/mmapwrite/Makefile.am7
-rw-r--r--tests/zfs-tests/cmd/mmapwrite/mmapwrite.c162
-rw-r--r--tests/zfs-tests/cmd/nvlist_to_lua/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/nvlist_to_lua/Makefile.am10
-rw-r--r--tests/zfs-tests/cmd/nvlist_to_lua/nvlist_to_lua.c305
-rw-r--r--tests/zfs-tests/cmd/randfree_file/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/randfree_file/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/randfree_file/randfree_file.c125
-rw-r--r--tests/zfs-tests/cmd/randwritecomp/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/randwritecomp/Makefile.am9
-rw-r--r--tests/zfs-tests/cmd/randwritecomp/randwritecomp.c194
-rw-r--r--tests/zfs-tests/cmd/readmmap/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/readmmap/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/readmmap/readmmap.c138
-rw-r--r--tests/zfs-tests/cmd/rename_dir/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/rename_dir/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/rename_dir/rename_dir.c88
-rw-r--r--tests/zfs-tests/cmd/rm_lnkcnt_zero_file/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/rm_lnkcnt_zero_file/Makefile.am7
-rw-r--r--tests/zfs-tests/cmd/rm_lnkcnt_zero_file/rm_lnkcnt_zero_file.c159
-rw-r--r--tests/zfs-tests/cmd/stride_dd/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/stride_dd/Makefile.am7
-rw-r--r--tests/zfs-tests/cmd/stride_dd/stride_dd.c214
-rw-r--r--tests/zfs-tests/cmd/threadsappend/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/threadsappend/Makefile.am7
-rw-r--r--tests/zfs-tests/cmd/threadsappend/threadsappend.c135
-rw-r--r--tests/zfs-tests/cmd/user_ns_exec/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/user_ns_exec/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/user_ns_exec/user_ns_exec.c179
-rw-r--r--tests/zfs-tests/cmd/xattrtest/.gitignore1
-rw-r--r--tests/zfs-tests/cmd/xattrtest/Makefile.am6
-rw-r--r--tests/zfs-tests/cmd/xattrtest/xattrtest.c718
-rw-r--r--tests/zfs-tests/include/.gitignore1
-rw-r--r--tests/zfs-tests/include/Makefile.am14
-rw-r--r--tests/zfs-tests/include/blkdev.shlib621
-rw-r--r--tests/zfs-tests/include/commands.cfg218
-rw-r--r--tests/zfs-tests/include/default.cfg.in223
-rw-r--r--tests/zfs-tests/include/libtest.shlib4194
-rw-r--r--tests/zfs-tests/include/math.shlib144
-rw-r--r--tests/zfs-tests/include/properties.shlib155
-rw-r--r--tests/zfs-tests/include/tunables.cfg89
-rw-r--r--tests/zfs-tests/include/zpool_script.shlib49
-rw-r--r--tests/zfs-tests/tests/Makefile.am1
-rw-r--r--tests/zfs-tests/tests/functional/Makefile.am90
-rw-r--r--tests/zfs-tests/tests/functional/acl/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/acl/acl.cfg64
-rw-r--r--tests/zfs-tests/tests/functional/acl/acl_common.kshlib630
-rw-r--r--tests/zfs-tests/tests/functional/acl/posix/Makefile.am7
-rwxr-xr-xtests/zfs-tests/tests/functional/acl/posix/cleanup.ksh33
-rwxr-xr-xtests/zfs-tests/tests/functional/acl/posix/posix_001_pos.ksh97
-rwxr-xr-xtests/zfs-tests/tests/functional/acl/posix/posix_002_pos.ksh76
-rwxr-xr-xtests/zfs-tests/tests/functional/acl/posix/posix_003_pos.ksh60
-rwxr-xr-xtests/zfs-tests/tests/functional/acl/posix/setup.ksh52
-rw-r--r--tests/zfs-tests/tests/functional/alloc_class/Makefile.am21
-rw-r--r--tests/zfs-tests/tests/functional/alloc_class/alloc_class.cfg31
-rw-r--r--tests/zfs-tests/tests/functional/alloc_class/alloc_class.kshlib67
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_001_pos.ksh43
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_002_neg.ksh48
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_003_pos.ksh57
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_004_pos.ksh67
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_005_pos.ksh71
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_006_pos.ksh41
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_007_pos.ksh41
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_008_pos.ksh56
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_009_pos.ksh69
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_010_pos.ksh50
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_011_neg.ksh44
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_012_pos.ksh122
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/alloc_class_013_pos.ksh63
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/cleanup.ksh27
-rwxr-xr-xtests/zfs-tests/tests/functional/alloc_class/setup.ksh26
-rw-r--r--tests/zfs-tests/tests/functional/arc/Makefile.am8
-rwxr-xr-xtests/zfs-tests/tests/functional/arc/arcstats_runtime_tuning.ksh46
-rwxr-xr-xtests/zfs-tests/tests/functional/arc/cleanup.ksh29
-rwxr-xr-xtests/zfs-tests/tests/functional/arc/dbufstats_001_pos.ksh84
-rwxr-xr-xtests/zfs-tests/tests/functional/arc/dbufstats_002_pos.ksh80
-rwxr-xr-xtests/zfs-tests/tests/functional/arc/dbufstats_003_pos.ksh43
-rwxr-xr-xtests/zfs-tests/tests/functional/arc/setup.ksh30
-rw-r--r--tests/zfs-tests/tests/functional/atime/Makefile.am14
-rw-r--r--tests/zfs-tests/tests/functional/atime/atime.cfg30
-rwxr-xr-xtests/zfs-tests/tests/functional/atime/atime_001_pos.ksh75
-rwxr-xr-xtests/zfs-tests/tests/functional/atime/atime_002_neg.ksh71
-rwxr-xr-xtests/zfs-tests/tests/functional/atime/atime_003_pos.ksh70
-rw-r--r--tests/zfs-tests/tests/functional/atime/atime_common.kshlib102
-rwxr-xr-xtests/zfs-tests/tests/functional/atime/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/atime/root_atime_off.ksh74
-rwxr-xr-xtests/zfs-tests/tests/functional/atime/root_atime_on.ksh78
-rwxr-xr-xtests/zfs-tests/tests/functional/atime/root_relatime_on.ksh76
-rwxr-xr-xtests/zfs-tests/tests/functional/atime/setup.ksh31
-rw-r--r--tests/zfs-tests/tests/functional/bootfs/Makefile.am12
-rwxr-xr-xtests/zfs-tests/tests/functional/bootfs/bootfs_001_pos.ksh86
-rwxr-xr-xtests/zfs-tests/tests/functional/bootfs/bootfs_002_neg.ksh86
-rwxr-xr-xtests/zfs-tests/tests/functional/bootfs/bootfs_003_pos.ksh86
-rwxr-xr-xtests/zfs-tests/tests/functional/bootfs/bootfs_004_neg.ksh95
-rwxr-xr-xtests/zfs-tests/tests/functional/bootfs/bootfs_005_neg.ksh79
-rwxr-xr-xtests/zfs-tests/tests/functional/bootfs/bootfs_006_pos.ksh156
-rwxr-xr-xtests/zfs-tests/tests/functional/bootfs/bootfs_007_pos.ksh69
-rwxr-xr-xtests/zfs-tests/tests/functional/bootfs/bootfs_008_pos.ksh83
-rwxr-xr-xtests/zfs-tests/tests/functional/bootfs/cleanup.ksh34
-rwxr-xr-xtests/zfs-tests/tests/functional/bootfs/setup.ksh34
-rw-r--r--tests/zfs-tests/tests/functional/btree/Makefile.am20
-rwxr-xr-xtests/zfs-tests/tests/functional/btree/btree_negative.ksh38
-rwxr-xr-xtests/zfs-tests/tests/functional/btree/btree_positive.ksh35
-rw-r--r--tests/zfs-tests/tests/functional/cache/Makefile.am20
-rw-r--r--tests/zfs-tests/tests/functional/cache/cache.cfg71
-rw-r--r--tests/zfs-tests/tests/functional/cache/cache.kshlib154
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_001_pos.ksh65
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_002_pos.ksh65
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_003_pos.ksh69
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_004_neg.ksh64
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_005_neg.ksh65
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_006_pos.ksh85
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_007_neg.ksh63
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_008_neg.ksh67
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_009_pos.ksh69
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_010_pos.ksh104
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_011_pos.ksh68
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cache_012_pos.ksh110
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/cleanup.ksh46
-rwxr-xr-xtests/zfs-tests/tests/functional/cache/setup.ksh41
-rw-r--r--tests/zfs-tests/tests/functional/cachefile/Makefile.am12
-rw-r--r--tests/zfs-tests/tests/functional/cachefile/cachefile.cfg37
-rw-r--r--tests/zfs-tests/tests/functional/cachefile/cachefile.kshlib46
-rwxr-xr-xtests/zfs-tests/tests/functional/cachefile/cachefile_001_pos.ksh94
-rwxr-xr-xtests/zfs-tests/tests/functional/cachefile/cachefile_002_pos.ksh82
-rwxr-xr-xtests/zfs-tests/tests/functional/cachefile/cachefile_003_pos.ksh100
-rwxr-xr-xtests/zfs-tests/tests/functional/cachefile/cachefile_004_pos.ksh124
-rwxr-xr-xtests/zfs-tests/tests/functional/cachefile/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cachefile/setup.ksh46
-rw-r--r--tests/zfs-tests/tests/functional/casenorm/Makefile.am25
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/case_all_values.ksh42
-rw-r--r--tests/zfs-tests/tests/functional/casenorm/casenorm.cfg35
-rw-r--r--tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib131
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/cleanup.ksh20
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/insensitive_formd_delete.ksh53
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/insensitive_formd_lookup.ksh51
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/insensitive_none_delete.ksh71
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/insensitive_none_lookup.ksh66
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh136
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/mixed_formd_delete.ksh59
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/mixed_formd_lookup.ksh56
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/mixed_formd_lookup_ci.ksh51
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/mixed_none_delete.ksh56
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/mixed_none_lookup.ksh53
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/mixed_none_lookup_ci.ksh66
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/norm_all_values.ksh61
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/sensitive_formd_delete.ksh59
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/sensitive_formd_lookup.ksh56
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/sensitive_none_delete.ksh56
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/sensitive_none_lookup.ksh53
-rwxr-xr-xtests/zfs-tests/tests/functional/casenorm/setup.ksh27
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/Makefile.am6
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/channel_common.kshlib230
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile.am46
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/cleanup.ksh19
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/setup.ksh21
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.ksh30
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.out1
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.zcp25
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.err4
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.ksh30
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.zcp16
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.ksh45
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.zcp26
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_illegal.ksh41
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_overflow.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_neg.ksh52
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_pos.ksh42
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.ksh30
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.out1
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.zcp280
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_base.lua469
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_coroutine.lua362
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_strings.lua241
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_table.lua252
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.libraries.ksh31
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.memory_limit.ksh77
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.ksh30
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.zcp770
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.ksh23
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.zcp71
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.nvlist_to_lua.ksh30
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive.zcp31
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_neg.ksh24
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_pos.ksh23
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.ksh54
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.zcp24
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_neg.ksh63
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_pos.ksh57
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.ksh31
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.zcp21
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.err18
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.ksh33
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.zcp20
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.ksh55
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.zcp22
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile.am53
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh22
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/setup.ksh25
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.ksh45
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.zcp32
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.ksh43
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.zcp26
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_fs.ksh45
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_snap.ksh44
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_count_and_limit.ksh89
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.ksh41
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.out4
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.zcp77
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_mountpoint.ksh88
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_neg.ksh43
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.ksh52
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.out5
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.zcp101
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.ksh45
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.out5
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.zcp73
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_type.ksh54
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_userquota.ksh80
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_written.ksh57
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.inherit.ksh39
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_bookmarks.ksh120
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_children.ksh125
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_clones.ksh116
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_holds.ksh121
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_snapshots.ksh112
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_system_props.ksh54
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_user_props.ksh147
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.parse_args_neg.ksh50
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.ksh55
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.zcp23
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_multiple.ksh71
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_simple.ksh47
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_mult.ksh60
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_one.ksh49
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.ksh39
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.zcp109
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.ksh39
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.zcp24
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.ksh45
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.zcp35
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.ksh61
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.zcp28
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.ksh40
-rw-r--r--tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.zcp26
-rwxr-xr-xtests/zfs-tests/tests/functional/channel_program/synctask_core/tst.terminate_by_signal.ksh98
-rw-r--r--tests/zfs-tests/tests/functional/chattr/Makefile.am6
-rwxr-xr-xtests/zfs-tests/tests/functional/chattr/chattr_001_pos.ksh94
-rwxr-xr-xtests/zfs-tests/tests/functional/chattr/chattr_002_neg.ksh81
-rwxr-xr-xtests/zfs-tests/tests/functional/chattr/cleanup.ksh37
-rwxr-xr-xtests/zfs-tests/tests/functional/chattr/setup.ksh56
-rw-r--r--tests/zfs-tests/tests/functional/checksum/.gitignore4
-rw-r--r--tests/zfs-tests/tests/functional/checksum/Makefile.am32
-rwxr-xr-xtests/zfs-tests/tests/functional/checksum/cleanup.ksh38
-rw-r--r--tests/zfs-tests/tests/functional/checksum/default.cfg36
-rw-r--r--tests/zfs-tests/tests/functional/checksum/edonr_test.c218
-rwxr-xr-xtests/zfs-tests/tests/functional/checksum/filetest_001_pos.ksh117
-rwxr-xr-xtests/zfs-tests/tests/functional/checksum/run_edonr_test.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/checksum/run_sha2_test.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/checksum/run_skein_test.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/checksum/setup.ksh36
-rw-r--r--tests/zfs-tests/tests/functional/checksum/sha2_test.c250
-rw-r--r--tests/zfs-tests/tests/functional/checksum/skein_test.c340
-rw-r--r--tests/zfs-tests/tests/functional/clean_mirror/Makefile.am12
-rwxr-xr-xtests/zfs-tests/tests/functional/clean_mirror/clean_mirror_001_pos.ksh53
-rwxr-xr-xtests/zfs-tests/tests/functional/clean_mirror/clean_mirror_002_pos.ksh53
-rwxr-xr-xtests/zfs-tests/tests/functional/clean_mirror/clean_mirror_003_pos.ksh53
-rwxr-xr-xtests/zfs-tests/tests/functional/clean_mirror/clean_mirror_004_pos.ksh53
-rw-r--r--tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_common.kshlib83
-rwxr-xr-xtests/zfs-tests/tests/functional/clean_mirror/cleanup.ksh41
-rw-r--r--tests/zfs-tests/tests/functional/clean_mirror/default.cfg37
-rwxr-xr-xtests/zfs-tests/tests/functional/clean_mirror/setup.ksh41
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/Makefile.am66
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/cli_common.kshlib90
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zdb/Makefile.am17
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_002_pos.ksh51
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_003_pos.ksh72
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_004_pos.ksh93
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_005_pos.ksh78
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_006_pos.ksh64
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_neg.ksh83
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_args_pos.ksh104
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh272
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_checksum.ksh64
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress.ksh119
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress_zstd.ksh114
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_display_block.ksh128
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_neg.ksh72
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_pos.ksh171
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_objset_id.ksh96
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs/Makefile.am7
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs/setup.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs/zfs_001_neg.ksh82
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs/zfs_002_pos.ksh123
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs/zfs_003_neg.ksh68
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/Makefile.am5
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_bookmark/cleanup.ksh31
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_bookmark/setup.ksh35
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_bookmark/zfs_bookmark_cliargs.ksh238
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_change-key/Makefile.am12
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_change-key/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_change-key/setup.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key.ksh62
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_child.ksh91
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_clones.ksh80
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_format.ksh72
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_inherit.ksh78
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_load.ksh58
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_location.ksh65
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_pbkdf2iters.ksh75
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_clone/Makefile.am17
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/setup.ksh36
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_001_neg.ksh126
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_002_pos.ksh89
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_003_pos.ksh76
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_004_pos.ksh87
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_005_pos.ksh78
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_006_pos.ksh86
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_007_pos.ksh85
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_008_neg.ksh80
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_009_neg.ksh80
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh229
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_deeply_nested.ksh69
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_encrypted.ksh83
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_rm_nested.ksh77
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile.am14
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_copies/cleanup.ksh44
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_copies/setup.ksh31
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.cfg37
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib158
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_001_pos.ksh116
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh119
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_003_pos.ksh68
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_004_neg.ksh58
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_005_neg.ksh80
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_006_pos.ksh77
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile.am27
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/cleanup.ksh30
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_create/properties.kshlib73
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/setup.ksh32
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create.cfg65
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_001_pos.ksh71
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_002_pos.ksh93
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh69
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_004_pos.ksh73
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_005_pos.ksh85
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh84
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_007_pos.ksh91
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_008_neg.ksh113
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh130
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh149
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_011_pos.ksh70
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_012_pos.ksh71
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh82
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_014_pos.ksh59
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_common.kshlib54
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_crypt_combos.ksh99
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_dryrun.ksh169
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_encrypted.ksh136
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_verbose.ksh165
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile.am29
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/setup.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_and_disable.ksh125
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_races.ksh117
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy.cfg39
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_001_pos.ksh235
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_002_pos.ksh95
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_003_pos.ksh156
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_004_pos.ksh126
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_005_neg.ksh204
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_006_neg.ksh67
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_007_neg.ksh76
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_008_pos.ksh64
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_009_pos.ksh73
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_010_pos.ksh77
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_011_pos.ksh63
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_012_pos.ksh75
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_013_neg.ksh62
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_014_pos.ksh79
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_015_pos.ksh161
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_016_pos.ksh186
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_clone_livelist.ksh164
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_common.kshlib174
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh68
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh94
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_diff/.gitignore1
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_diff/Makefile.am17
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_diff/cleanup.ksh19
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_diff/setup.ksh21
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_diff/socket.c58
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_changes.ksh96
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_cliargs.ksh80
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_encrypted.ksh63
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_timestamp.ksh104
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_types.ksh134
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile.am18
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/setup.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_001_pos.ksh163
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_002_pos.ksh97
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_003_pos.ksh65
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_004_pos.ksh227
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_005_neg.ksh156
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_006_neg.ksh68
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_007_neg.ksh64
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_008_pos.ksh117
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_009_pos.ksh112
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_010_neg.ksh59
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_common.kshlib106
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_list_d.kshlib84
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/Makefile.am5
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/cleanup.ksh29
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/setup.ksh31
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/zfs_ids_to_path_001_pos.ksh96
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_inherit/Makefile.am8
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_inherit/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_inherit/setup.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh82
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_002_neg.ksh107
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_003_pos.ksh90
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_mountpoint.ksh62
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_jail/Makefile.am6
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_jail/cleanup.ksh30
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_jail/jail.conf9
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_jail/setup.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_jail/zfs_jail_001_pos.ksh84
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am14
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_load-key/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_load-key/setup.ksh32
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg26
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.ksh85
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_all.ksh77
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib101
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_file.ksh58
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_location.ksh73
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_noop.ksh54
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_recursive.ksh66
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile.am27
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/setup.ksh32
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.cfg39
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib134
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_001_pos.ksh67
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_002_pos.ksh78
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_003_pos.ksh90
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_004_pos.ksh83
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_005_pos.ksh99
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_006_pos.ksh147
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_007_pos.ksh163
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_008_pos.ksh97
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_009_neg.ksh111
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_010_neg.ksh75
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_011_neg.ksh81
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_012_pos.ksh53
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_001_pos.ksh202
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh105
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_mountpoints.ksh162
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_encrypted.ksh69
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh171
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh116
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_multi_mount.ksh109
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_program/Makefile.am5
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_program/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_program/setup.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_program/zfs_program_json.ksh148
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile.am16
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_promote/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_promote/setup.ksh32
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote.cfg43
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_001_pos.ksh127
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_002_pos.ksh102
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_003_pos.ksh134
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_004_pos.ksh140
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_005_pos.ksh73
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_006_neg.ksh90
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_007_neg.ksh78
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_008_pos.ksh84
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_encryptionroot.ksh93
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_property/Makefile.am5
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_property/cleanup.ksh34
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_property/setup.ksh36
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_property/zfs_written_property_001_pos.ksh230
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_receive/Makefile.am31
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/cleanup.ksh33
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_override.ksh320
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/setup.ksh36
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-e.ksh106
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_001_pos.ksh176
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_002_pos.ksh108
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_003_pos.ksh93
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_004_neg.ksh110
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_005_neg.ksh99
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_006_pos.ksh108
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_007_neg.ksh84
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_008_pos.ksh148
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_009_neg.ksh118
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_010_pos.ksh177
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_011_pos.ksh88
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_012_pos.ksh83
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_013_pos.ksh75
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_014_pos.ksh122
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_015_pos.ksh83
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_016_pos.ksh85
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_encrypted.ksh83
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_zstd.ksh112
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw.ksh94
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_-d.ksh62
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_incremental.ksh96
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_to_encrypted.ksh77
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_receive/zstd_test_data.txt1
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile.am25
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/cleanup.ksh43
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/setup.ksh49
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.cfg39
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.kshlib129
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_001_pos.ksh109
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_002_pos.ksh92
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_003_pos.ksh68
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_004_neg.ksh112
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_005_neg.ksh91
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_006_pos.ksh85
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_007_pos.ksh155
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_008_pos.ksh88
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_009_neg.ksh86
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_010_neg.ksh73
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_011_pos.ksh78
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_012_neg.ksh67
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_013_pos.ksh85
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_014_neg.ksh110
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_encrypted_child.ksh78
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_mountpoint.ksh88
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_to_encrypted.ksh53
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_reservation/Makefile.am6
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_reservation/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_reservation/setup.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_001_pos.ksh64
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_002_pos.ksh88
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile.am12
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rollback/cleanup.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rollback/setup.ksh31
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback.cfg45
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_001_pos.ksh174
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_002_pos.ksh68
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_003_neg.ksh84
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_004_neg.ksh86
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_common.kshlib321
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile.am19
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/cleanup.ksh33
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/setup.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send-b.ksh102
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send.cfg32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_001_pos.ksh127
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_002_pos.ksh139
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_003_pos.ksh69
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_004_neg.ksh109
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_005_pos.ksh66
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_006_pos.ksh202
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_007_pos.ksh100
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted.ksh76
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted_unloaded.ksh59
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_raw.ksh79
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_sparse.ksh83
-rw-r--r--tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile.am35
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/cache_001_pos.ksh63
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/cache_002_neg.ksh67
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_001_pos.ksh123
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_002_pos.ksh161
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_003_pos.ksh111
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_004_pos.ksh96
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/checksum_001_pos.ksh68
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/cleanup.ksh30
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/compression_001_pos.ksh64
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_001_pos.ksh100
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_002_pos.ksh98
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_003_pos.ksh145
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/onoffs_001_pos.ksh108
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/property_alias_001_pos.ksh142
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/readonly_001_pos.ksh160
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/reservation_001_neg.ksh101
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/ro_props_001_pos.ksh124
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/setup.ksh32
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/share_mount_001_neg.ksh64
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/snapdir_001_pos.ksh112
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_001_pos.ksh84
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_002_pos.ksh120
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_003_neg.ksh82
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/user_property_004_pos.ksh101
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_set/version_001_neg.ksh91