From 1966e959cab25d6e535eeb88e0b2ad9590881eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Mon, 3 May 2021 21:21:21 +0200 Subject: [PATCH] Replace ZoL with OpenZFS where applicable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Afterward, git grep ZoL matches: * README.md: * [ZoL Site](https://zfsonlinux.org) - Correct * etc/default/zfs.in:# ZoL userland configuration. - Changing this would induce a needless upgrade-check, if the user has modified the configuration; this can be updated the next time the defaults change * module/zfs/dmu_send.c: * ZoL < 0.7 does not handle [...] - Before 0.7 is ZoL, so fair enough Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Issue #11956 --- cmd/zed/zed.c | 2 +- cmd/zed/zed.h | 2 +- cmd/zed/zed_conf.c | 2 +- cmd/zed/zed_conf.h | 2 +- cmd/zed/zed_event.c | 2 +- cmd/zed/zed_event.h | 2 +- cmd/zed/zed_exec.c | 2 +- cmd/zed/zed_exec.h | 2 +- cmd/zed/zed_file.c | 2 +- cmd/zed/zed_file.h | 2 +- cmd/zed/zed_log.c | 2 +- cmd/zed/zed_log.h | 2 +- cmd/zed/zed_strings.c | 2 +- cmd/zed/zed_strings.h | 2 +- contrib/initramfs/hooks/zfs.in | 4 ++-- contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 4 ++-- include/os/linux/kernel/linux/blkdev_compat.h | 2 +- man/man8/zed.8.in | 2 +- module/icp/algs/edonr/edonr.c | 2 +- rpm/generic/zfs.spec.in | 4 ++-- scripts/zimport.sh | 6 +++--- .../zfs-tests/tests/functional/atime/root_atime_off.ksh | 2 +- tests/zfs-tests/tests/functional/atime/root_atime_on.ksh | 2 +- .../tests/functional/atime/root_relatime_on.ksh | 2 +- .../cli_root/zfs_mount/zfs_mount_test_race.ksh | 9 +++++---- .../tests/functional/rsend/send_encrypted_files.ksh | 2 +- 26 files changed, 35 insertions(+), 34 deletions(-) diff --git a/cmd/zed/zed.c b/cmd/zed/zed.c index e56b45fa72..0aa03fded4 100644 --- a/cmd/zed/zed.c +++ b/cmd/zed/zed.c @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed.h b/cmd/zed/zed.h index 8f2767d74d..94f13c2c9d 100644 --- a/cmd/zed/zed.h +++ b/cmd/zed/zed.h @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_conf.c b/cmd/zed/zed_conf.c index b95108fd2f..2cf2311dbb 100644 --- a/cmd/zed/zed_conf.c +++ b/cmd/zed/zed_conf.c @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_conf.h b/cmd/zed/zed_conf.h index b2dc09c51a..0b30a1503c 100644 --- a/cmd/zed/zed_conf.h +++ b/cmd/zed/zed_conf.h @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_event.c b/cmd/zed/zed_event.c index 232b88a138..9eaad0e92f 100644 --- a/cmd/zed/zed_event.c +++ b/cmd/zed/zed_event.c @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_event.h b/cmd/zed/zed_event.h index 264c377ed9..5606f14a21 100644 --- a/cmd/zed/zed_event.h +++ b/cmd/zed/zed_event.h @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_exec.c b/cmd/zed/zed_exec.c index 0a6782f020..1eecfa0a92 100644 --- a/cmd/zed/zed_exec.c +++ b/cmd/zed/zed_exec.c @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_exec.h b/cmd/zed/zed_exec.h index 2a7f721f00..e4c8d86335 100644 --- a/cmd/zed/zed_exec.h +++ b/cmd/zed/zed_exec.h @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_file.c b/cmd/zed/zed_file.c index 0e7086d9e8..b62f68b261 100644 --- a/cmd/zed/zed_file.c +++ b/cmd/zed/zed_file.c @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_file.h b/cmd/zed/zed_file.h index 5cb5e88047..7e3a0efcaf 100644 --- a/cmd/zed/zed_file.h +++ b/cmd/zed/zed_file.h @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_log.c b/cmd/zed/zed_log.c index 948dad52ad..0c4ab6f47d 100644 --- a/cmd/zed/zed_log.c +++ b/cmd/zed/zed_log.c @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_log.h b/cmd/zed/zed_log.h index 0daaad11df..ed88ad41d7 100644 --- a/cmd/zed/zed_log.h +++ b/cmd/zed/zed_log.h @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_strings.c b/cmd/zed/zed_strings.c index 89964317e4..52a86e9296 100644 --- a/cmd/zed/zed_strings.c +++ b/cmd/zed/zed_strings.c @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/cmd/zed/zed_strings.h b/cmd/zed/zed_strings.h index 63d776f9b4..804639592f 100644 --- a/cmd/zed/zed_strings.h +++ b/cmd/zed/zed_strings.h @@ -3,7 +3,7 @@ * * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. - * Refer to the ZoL git commit log for authoritative copyright attribution. + * Refer to the OpenZFS git commit log for authoritative copyright attribution. * * The contents of this file are subject to the terms of the * Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/contrib/initramfs/hooks/zfs.in b/contrib/initramfs/hooks/zfs.in index 67d27a7649..0a9cc87720 100755 --- a/contrib/initramfs/hooks/zfs.in +++ b/contrib/initramfs/hooks/zfs.in @@ -1,9 +1,9 @@ #!/bin/sh # -# Add ZoL filesystem capabilities to an initrd, usually for a native ZFS root. +# Add OpenZFS filesystem capabilities to an initrd, usually for a native ZFS root. # -# This hook installs udev rules for ZoL. +# This hook installs udev rules for OpenZFS. PREREQ="udev" # These prerequisites are provided by the zfsutils package. The zdb utility is diff --git a/contrib/pyzfs/libzfs_core/test/test_libzfs_core.py b/contrib/pyzfs/libzfs_core/test/test_libzfs_core.py index 87138b305f..d949d88d5a 100644 --- a/contrib/pyzfs/libzfs_core/test/test_libzfs_core.py +++ b/contrib/pyzfs/libzfs_core/test/test_libzfs_core.py @@ -252,9 +252,9 @@ def skipUnlessBookmarksSupported(f): def snap_always_unmounted_before_destruction(): - # Apparently ZoL automatically unmounts the snapshot + # Apparently OpenZFS automatically unmounts the snapshot # only if it is mounted at its default .zfs/snapshot - # mountpoint. + # mountpoint under Linux. return ( platform.system() != 'Linux', 'snapshot is not auto-unmounted') diff --git a/include/os/linux/kernel/linux/blkdev_compat.h b/include/os/linux/kernel/linux/blkdev_compat.h index b57d0a896d..fe809176fb 100644 --- a/include/os/linux/kernel/linux/blkdev_compat.h +++ b/include/os/linux/kernel/linux/blkdev_compat.h @@ -366,7 +366,7 @@ bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags) * * 4.8 - 4.9 API, * REQ_FLUSH was renamed to REQ_PREFLUSH. For consistency with previous - * ZoL releases, prefer the WRITE_FLUSH_FUA flag set if it's available. + * OpenZFS releases, prefer the WRITE_FLUSH_FUA flag set if it's available. * * 4.10 API, * The read/write flags and their modifiers, including WRITE_FLUSH, diff --git a/man/man8/zed.8.in b/man/man8/zed.8.in index 57e2dc4dac..38f8b663d3 100644 --- a/man/man8/zed.8.in +++ b/man/man8/zed.8.in @@ -2,7 +2,7 @@ .\" This file is part of the ZFS Event Daemon (ZED). .\" Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). .\" Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. -.\" Refer to the ZoL git commit log for authoritative copyright attribution. +.\" Refer to the OpenZFS git commit log for authoritative copyright attribution. .\" .\" The contents of this file are subject to the terms of the .\" Common Development and Distribution License Version 1.0 (CDDL-1.0). diff --git a/module/icp/algs/edonr/edonr.c b/module/icp/algs/edonr/edonr.c index 7c677095f1..ee96e692ef 100644 --- a/module/icp/algs/edonr/edonr.c +++ b/module/icp/algs/edonr/edonr.c @@ -337,7 +337,7 @@ Q256(size_t bitlen, const uint32_t *data, uint32_t *restrict p) * * Checksum functions like this one can go over the stack frame size check * Linux imposes on 32-bit platforms (-Wframe-larger-than=1024). We can - * safely ignore the compiler error since we know that in ZoL, that + * safely ignore the compiler error since we know that in OpenZFS, that * the function will be called from a worker thread that won't be using * much stack. The only function that goes over the 1k limit is Q512(), * which only goes over it by a hair (1248 bytes on ARM32). diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 6dcce63291..b1750942f5 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -128,8 +128,8 @@ Requires: %{name}-kmod = %{version} Provides: %{name}-kmod-common = %{version} Obsoletes: spl -# zfs-fuse provides the same commands and man pages that ZoL does. Renaming -# those on either side would conflict with all available documentation. +# zfs-fuse provides the same commands and man pages that OpenZFS does. +# Renaming those on either side would conflict with all available documentation. Conflicts: zfs-fuse %if 0%{?rhel}%{?fedora}%{?suse_version} diff --git a/scripts/zimport.sh b/scripts/zimport.sh index 56dfbadae4..6c3b415ffc 100755 --- a/scripts/zimport.sh +++ b/scripts/zimport.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash # # Verify that an assortment of known good reference pools can be imported -# using different versions of the ZoL code. +# using different versions of OpenZFS code. # # By default references pools for the major ZFS implementation will be -# checked against the most recent ZoL tags and the master development branch. +# checked against the most recent OpenZFS tags and the master development branch. # Alternate tags or branches may be verified with the '-s option. # Passing the keyword "installed" will instruct the script to test whatever # version is installed. @@ -98,7 +98,7 @@ OPTIONS: -c No color -k Keep temporary directory -r Source repository ($REPO) - -s ... Verify ZoL versions with the listed tags + -s ... Verify OpenZFS versions with the listed tags -i Pool image directory -p ... Verify pools created with the listed tags -f Temporary directory to use diff --git a/tests/zfs-tests/tests/functional/atime/root_atime_off.ksh b/tests/zfs-tests/tests/functional/atime/root_atime_off.ksh index 2fbf06b137..7eb2ed9372 100755 --- a/tests/zfs-tests/tests/functional/atime/root_atime_off.ksh +++ b/tests/zfs-tests/tests/functional/atime/root_atime_off.ksh @@ -53,7 +53,7 @@ log_onexit cleanup # # Create $TESTFILE, snapshot and clone. -# Same as 002 except that atime applies to root dataset (ZoL#8675). +# Same as 002 except that atime applies to root dataset (OpenZFS#8675). # setup_snap_clone reset_atime diff --git a/tests/zfs-tests/tests/functional/atime/root_atime_on.ksh b/tests/zfs-tests/tests/functional/atime/root_atime_on.ksh index 3976523b0b..44d471a212 100755 --- a/tests/zfs-tests/tests/functional/atime/root_atime_on.ksh +++ b/tests/zfs-tests/tests/functional/atime/root_atime_on.ksh @@ -52,7 +52,7 @@ log_onexit cleanup # # Create $TESTFILE, snapshot and clone. -# Same as 001 except that atime/relatime applies to root dataset (ZoL#8675). +# Same as 001 except that atime/relatime applies to root dataset (OpenZFS#8675). # setup_snap_clone reset_atime diff --git a/tests/zfs-tests/tests/functional/atime/root_relatime_on.ksh b/tests/zfs-tests/tests/functional/atime/root_relatime_on.ksh index c919e9f298..120129425a 100755 --- a/tests/zfs-tests/tests/functional/atime/root_relatime_on.ksh +++ b/tests/zfs-tests/tests/functional/atime/root_relatime_on.ksh @@ -53,7 +53,7 @@ log_onexit cleanup # # Create $TESTFILE, snapshot and clone. -# Same as 003 except that atime/relatime applies to root dataset (ZoL#8675). +# Same as 003 except that atime/relatime applies to root dataset (OpenZFS#8675). # setup_snap_clone reset_atime diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh index 135b31354f..3a5793d070 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh @@ -87,10 +87,11 @@ log_must zfs set mountpoint=$MNTPT $TESTPOOL2 # At this point, layout of datasets in two pools will look like below. # Previously, on next `zfs mount -a`, pthreads assigned to TESTFS1 and TESTFS2 -# could race, and TESTFS2 usually (actually always) won in ZoL. Note that the -# problem is how two or more threads could initially be assigned to the same -# top level directory, not this specific layout. This layout is just an example -# that can reproduce race, and is also the layout reported in #8833. +# could race, and TESTFS2 usually (actually always) won in OpenZFS. +# Note that the problem is how two or more threads could initially be assigned +# to the same top level directory, not this specific layout. +# This layout is just an example that can reproduce race, +# and is also the layout reported in #8833. # # NAME MOUNTED MOUNTPOINT # ---------------------------------------------- diff --git a/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh b/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh index f89cb3b31b..1fd21cbf7e 100755 --- a/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh +++ b/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh @@ -84,7 +84,7 @@ log_must mkdir -p /$TESTPOOL/$TESTFS2/xattrsadir log_must zfs set xattr=sa $TESTPOOL/$TESTFS2 log_must xattrtest -f 10 -x 3 -s 32768 -r -k -p /$TESTPOOL/$TESTFS2/xattrsadir -# ZoL issue #7432 +# OpenZFS issue #7432 log_must zfs set compression=on xattr=sa $TESTPOOL/$TESTFS2 log_must touch /$TESTPOOL/$TESTFS2/attrs log_must eval "python -c 'print \"a\" * 4096' | \