From nobody Fri Jul 01 00:29:06 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B12858A2DBC; Fri, 1 Jul 2022 00:29:08 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LYx044Xxwz3qtZ; Fri, 1 Jul 2022 00:29:08 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656635348; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pV9LOIqdmkC1MGrzQ8BuFCQbKLUhXo5vg2fcSJHkpEU=; b=or9ix3gSnz2kQqji1RyKxZuuxH2/kxNrNzhb3DSFdSV/wpxyrq3wxOSY5h8rRLpHSrcjfk grPnaW0DjmDgJscdbPSIf0c7VDMuWbeVjk2oxerQKiNsZH5JwJcef0dM/J3/9TpkkgdIyw Wz4gsaglzPlWPJlZRcEg7PIXyvsVoiI/t43I74G+/jqczorWFU1gBLTC37g+Er2Zg1Iwhy PSpfyOnN+LoRtYCGxFulv7IoxEKW/aBgydJIVCSwMSiiqJw+xAQxwx95LiSinV6bsz8Ycg MNlJFAKzW/VZrLiqMUT2GIy+hYjCsBm898Lt0QRUhHidWlnZA4FhmwcVBb3k0Q== Received: from [10.0.1.4] (ralph.baldwin.cx [66.234.199.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 752032EDB9; Fri, 1 Jul 2022 00:29:07 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: Date: Thu, 30 Jun 2022 17:29:06 -0700 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: git: 1f1e2261e341 - main - zfs: merge openzfs/zfs@deb121309 Content-Language: en-US To: Jessica Clarke , Martin Matuska Cc: "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" References: <202206231550.25NFoBPQ012478@gitrepo.freebsd.org> <46C9AB26-0266-4E59-867F-3D57177E4AED@freebsd.org> From: John Baldwin In-Reply-To: <46C9AB26-0266-4E59-867F-3D57177E4AED@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656635348; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pV9LOIqdmkC1MGrzQ8BuFCQbKLUhXo5vg2fcSJHkpEU=; b=fJ9NbJWIBon5j0tfAo2ZJRq5lyMp1rWe5J1/KdZXwCLjh/jEKirnfk/K3Urk4V2N3qhLHf yjMsVGeElIazfeLhc5K83gZkx8/qu9U9IC6S8xfJwU0bO5gfE9NB7iuv47UBjNjCjrVdVe EFl6n8aBHe15ztTrHxAidOKkzbmSj8IFvwvx2p3EhEEcXVoubgakaV1l91uH4kW6/gLje/ fWqsKsnU/LiomCsnAHkJy8K2j0TlGZMCB4MjzBez3Kwy6CekqwT82ldZKDfB+adqjvmLTw 7uEtpGvxjMDIimdS/A+iCfpt5sc8H+duECFEmDjuMU4zjsvJB6zmvE9D251P/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656635348; a=rsa-sha256; cv=none; b=clR/pnoom6DZKYeS0lSJf/Esw4w1Svg7vadkhtcWWVsQJEeFwlYM/71zDUTlLXY/vFGAdL wT2SrHe70UjI80Fti3FHjbSn3uOtlS0+LaW5wlBMFtTBt0tMlx3WLnhzNWNqYfLW4M2vRI RnJ53VPhv0uShuDzKc3axEmgVfguvHwfWXUOYPG/r3+bQcvcFrW6nhRMzoQXvnghE++e0q FmOMIHigerlQoq+Lhnfki4SEmE3z9l/49IbnwqecOb6BYLLPevMFtSgpkv2ER/9j+b99Sk z9ojOxjsH65LmAoWE1mhV3k3+3RpE7oS+qVNju7HayK65E8pbTb7TUAbk1jIWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 6/30/22 4:22 PM, Jessica Clarke wrote: > On 23 Jun 2022, at 16:50, Martin Matuska wrote: >> >> The branch main has been updated by mm: >> >> URL: https://cgit.FreeBSD.org/src/commit/?id=1f1e2261e341e6ca6862f82261066ef1705f0a7a >> >> commit 1f1e2261e341e6ca6862f82261066ef1705f0a7a >> Merge: a320e9dd51e6 deb1213098e2 >> Author: Martin Matuska >> AuthorDate: 2022-06-23 15:47:42 +0000 >> Commit: Martin Matuska >> CommitDate: 2022-06-23 15:49:33 +0000 >> >> zfs: merge openzfs/zfs@deb121309 >> >> Notable upstream pull request merges: >> #12918 Introduce BLAKE3 checksums as an OpenZFS feature >> #13553 Reduce ZIO io_lock contention on sorted scrub >> #13537 Improve sorted scan memory accounting >> #13540 AVL: Remove obsolete branching optimizations >> #13563 FreeBSD: Improve crypto_dispatch() handling >> >> Obtained from: OpenZFS >> OpenZFS commit: deb1213098e2dc10e6eee5e5c57bb40584e096a6 >> >> cddl/lib/libicp/Makefile | 29 +- >> cddl/lib/libicp_rescue/Makefile | 29 +- >> cddl/lib/libzpool/Makefile | 2 + >> sys/contrib/openzfs/AUTHORS | 1 + >> sys/contrib/openzfs/cmd/zfs/zfs_iter.c | 6 +- >> sys/contrib/openzfs/cmd/zfs/zfs_main.c | 68 +- >> sys/contrib/openzfs/cmd/zpool/zpool_main.c | 4 +- >> sys/contrib/openzfs/cmd/ztest.c | 89 + >> sys/contrib/openzfs/config/always-arch.m4 | 2 + >> sys/contrib/openzfs/config/kernel-add-disk.m4 | 3 +- >> sys/contrib/openzfs/config/kernel-blk-queue.m4 | 32 + >> sys/contrib/openzfs/config/kernel-user-ns-inum.m4 | 23 + >> sys/contrib/openzfs/config/kernel.m4 | 2 + >> .../contrib/dracut/90zfs/module-setup.sh.in | 3 +- >> .../contrib/pyzfs/libzfs_core/_constants.py | 1 + >> sys/contrib/openzfs/etc/Makefile.am | 3 + >> .../etc/systemd/system/zfs-trim-monthly@.timer.in | 12 + >> .../etc/systemd/system/zfs-trim-weekly@.timer.in | 12 + >> .../etc/systemd/system/zfs-trim@.service.in | 15 + >> sys/contrib/openzfs/include/Makefile.am | 2 + >> sys/contrib/openzfs/include/libzfs.h | 10 + >> .../openzfs/include/os/freebsd/spl/sys/ccompile.h | 2 + >> .../include/os/linux/kernel/linux/blkdev_compat.h | 111 + >> .../include/os/linux/kernel/linux/simd_powerpc.h | 34 +- >> .../include/os/linux/kernel/linux/vfs_compat.h | 16 - >> sys/contrib/openzfs/include/os/linux/spl/sys/uio.h | 39 +- >> .../openzfs/include/os/linux/spl/sys/zone.h | 31 +- >> .../include/os/linux/zfs/sys/zfs_context_os.h | 5 + >> sys/contrib/openzfs/include/sys/blake3.h | 125 + >> sys/contrib/openzfs/include/sys/fs/zfs.h | 6 +- >> sys/contrib/openzfs/include/sys/zfs_chksum.h | 48 + >> sys/contrib/openzfs/include/sys/zfs_ioctl.h | 3 +- >> sys/contrib/openzfs/include/sys/zio.h | 1 + >> sys/contrib/openzfs/include/sys/zio_checksum.h | 12 +- >> sys/contrib/openzfs/include/zfeature_common.h | 1 + >> sys/contrib/openzfs/lib/libicp/Makefile.am | 25 +- >> sys/contrib/openzfs/lib/libspl/include/sys/simd.h | 18 + >> sys/contrib/openzfs/lib/libspl/include/sys/types.h | 2 +- >> sys/contrib/openzfs/lib/libspl/include/zone.h | 12 +- >> sys/contrib/openzfs/lib/libspl/os/linux/zone.c | 32 +- >> sys/contrib/openzfs/lib/libuutil/libuutil.abi | 2 +- >> sys/contrib/openzfs/lib/libzfs/libzfs.abi | 18 +- >> sys/contrib/openzfs/lib/libzfs/libzfs_crypto.c | 10 +- >> sys/contrib/openzfs/lib/libzfs/libzfs_dataset.c | 64 +- >> sys/contrib/openzfs/lib/libzfs/libzfs_diff.c | 2 +- >> sys/contrib/openzfs/lib/libzfs/libzfs_impl.h | 4 +- >> sys/contrib/openzfs/lib/libzfs/libzfs_pool.c | 299 +- >> sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c | 36 +- >> sys/contrib/openzfs/lib/libzfs/libzfs_util.c | 12 +- >> .../openzfs/lib/libzfs/os/freebsd/libzfs_compat.c | 2 - >> .../openzfs/lib/libzfs/os/linux/libzfs_pool_os.c | 2 +- >> .../openzfs/lib/libzfs/os/linux/libzfs_util_os.c | 71 + >> .../openzfs/lib/libzfs_core/libzfs_core.abi | 2 +- >> sys/contrib/openzfs/lib/libzpool/Makefile.am | 2 + >> sys/contrib/openzfs/man/Makefile.am | 2 + >> sys/contrib/openzfs/man/man4/zfs.4 | 69 +- >> sys/contrib/openzfs/man/man7/zfsprops.7 | 10 +- >> sys/contrib/openzfs/man/man7/zpool-features.7 | 8 + >> sys/contrib/openzfs/man/man8/zfs-unzone.8 | 1 + >> sys/contrib/openzfs/man/man8/zfs-zone.8 | 116 + >> sys/contrib/openzfs/man/man8/zpool-trim.8 | 21 + >> sys/contrib/openzfs/module/Kbuild.in | 38 +- >> sys/contrib/openzfs/module/Makefile.bsd | 34 +- >> sys/contrib/openzfs/module/avl/avl.c | 24 +- >> .../openzfs/module/icp/algs/blake3/blake3.c | 732 +++++ >> .../module/icp/algs/blake3/blake3_generic.c | 202 ++ >> .../openzfs/module/icp/algs/blake3/blake3_impl.c | 284 ++ >> .../openzfs/module/icp/algs/blake3/blake3_impl.h | 213 ++ >> .../openzfs/module/icp/algs/blake3/blake3_x86-64.c | 248 ++ >> .../icp/asm-aarch64/blake3/b3_aarch64_sse2.S | 2450 ++++++++++++++++ >> .../icp/asm-aarch64/blake3/b3_aarch64_sse41.S | 2463 ++++++++++++++++ >> .../module/icp/asm-ppc64/blake3/b3_ppc64le_sse2.S | 2823 ++++++++++++++++++ >> .../module/icp/asm-ppc64/blake3/b3_ppc64le_sse41.S | 3064 ++++++++++++++++++++ >> .../module/icp/asm-x86_64/blake3/blake3_avx2.S | 1845 ++++++++++++ >> .../module/icp/asm-x86_64/blake3/blake3_avx512.S | 2618 +++++++++++++++++ >> .../module/icp/asm-x86_64/blake3/blake3_sse2.S | 2323 +++++++++++++++ >> .../module/icp/asm-x86_64/blake3/blake3_sse41.S | 2058 +++++++++++++ >> .../openzfs/module/os/freebsd/zfs/crypto_os.c | 41 +- >> .../openzfs/module/os/linux/spl/spl-generic.c | 6 + >> sys/contrib/openzfs/module/os/linux/spl/spl-zone.c | 424 +++ >> sys/contrib/openzfs/module/os/linux/zfs/policy.c | 2 +- >> .../openzfs/module/os/linux/zfs/zfs_ioctl_os.c | 47 + >> sys/contrib/openzfs/module/os/linux/zfs/zfs_uio.c | 154 +- >> .../openzfs/module/os/linux/zfs/zfs_vfsops.c | 20 + >> .../openzfs/module/os/linux/zfs/zpl_ctldir.c | 17 + >> .../openzfs/module/os/linux/zfs/zpl_super.c | 1 + >> .../openzfs/module/os/linux/zfs/zpl_xattr.c | 5 +- >> sys/contrib/openzfs/module/os/linux/zfs/zvol_os.c | 632 +++- >> .../openzfs/module/zcommon/zfeature_common.c | 31 +- >> sys/contrib/openzfs/module/zcommon/zfs_prop.c | 8 +- >> sys/contrib/openzfs/module/zfs/blake3_zfs.c | 117 + >> sys/contrib/openzfs/module/zfs/dsl_prop.c | 10 +- >> sys/contrib/openzfs/module/zfs/dsl_scan.c | 26 +- >> sys/contrib/openzfs/module/zfs/spa_misc.c | 3 + >> sys/contrib/openzfs/module/zfs/vdev.c | 6 +- >> sys/contrib/openzfs/module/zfs/zcp_synctask.c | 2 +- >> sys/contrib/openzfs/module/zfs/zfs_chksum.c | 323 +++ >> sys/contrib/openzfs/module/zfs/zfs_ioctl.c | 14 +- >> sys/contrib/openzfs/module/zfs/zio_checksum.c | 6 + >> sys/contrib/openzfs/tests/runfiles/common.run | 10 +- >> sys/contrib/openzfs/tests/runfiles/linux.run | 8 +- >> sys/contrib/openzfs/tests/zfs-tests/cmd/.gitignore | 1 + >> .../openzfs/tests/zfs-tests/cmd/Makefile.am | 6 +- >> .../tests/zfs-tests/cmd/checksum/blake3_test.c | 575 ++++ >> .../tests/zfs-tests/cmd/checksum/edonr_test.c | 3 - >> .../tests/zfs-tests/cmd/checksum/sha2_test.c | 3 - >> .../tests/zfs-tests/cmd/checksum/skein_test.c | 3 - >> .../openzfs/tests/zfs-tests/include/commands.cfg | 5 + >> .../openzfs/tests/zfs-tests/include/libtest.shlib | 45 +- >> .../tests/zfs-tests/include/properties.shlib | 2 +- >> .../openzfs/tests/zfs-tests/include/tunables.cfg | 1 + >> .../openzfs/tests/zfs-tests/tests/Makefile.am | 9 + >> .../tests/functional/checksum/default.cfg | 2 +- >> .../tests/functional/checksum/run_blake3_test.ksh | 30 + >> .../cli_root/zfs_set/checksum_001_pos.ksh | 2 +- >> .../functional/cli_root/zpool_get/zpool_get.cfg | 1 + >> .../user_namespace/user_namespace_001.ksh | 5 + >> .../user_namespace/user_namespace_002.ksh | 115 + >> .../user_namespace/user_namespace_003.ksh | 97 + >> .../user_namespace/user_namespace_004.ksh | 67 + >> .../tests/functional/zvol/zvol_common.shlib | 11 + >> .../functional/zvol/zvol_misc/zvol_misc_fua.ksh | 96 + >> .../functional/zvol/zvol_misc/zvol_misc_trim.ksh | 136 + >> .../tests/functional/zvol/zvol_stress/cleanup.ksh | 36 + >> .../tests/functional/zvol/zvol_stress/setup.ksh | 36 + >> .../functional/zvol/zvol_stress/zvol_stress.ksh | 169 ++ >> sys/modules/zfs/Makefile | 30 +- >> sys/modules/zfs/zfs_config.h | 10 +- >> sys/modules/zfs/zfs_gitrev.h | 2 +- >> 129 files changed, 25938 insertions(+), 516 deletions(-) >> >> diff --cc cddl/lib/libicp/Makefile >> index 6a8e979ea836,000000000000..5b316453af9a >> mode 100644,000000..100644 >> --- a/cddl/lib/libicp/Makefile >> +++ b/cddl/lib/libicp/Makefile >> @@@ -1,92 -1,0 +1,119 @@@ >> +# $FreeBSD$ >> + >> +.PATH: ${SRCTOP}/sys/contrib/openzfs/module/icp >> + >> +PACKAGE= utilities >> +LIB= icp >> +LIBADD= >> + >> + >> +.if ${MACHINE_ARCH} == "amd64" >> +ASM_SOURCES_C = asm-x86_64/aes/aeskey.c >> +ASM_SOURCES_AS = \ >> + asm-x86_64/aes/aes_amd64.S \ >> + asm-x86_64/aes/aes_aesni.S \ >> + asm-x86_64/modes/gcm_pclmulqdq.S \ >> + asm-x86_64/modes/aesni-gcm-x86_64.S \ >> + asm-x86_64/modes/ghash-x86_64.S \ >> + asm-x86_64/sha2/sha256_impl.S \ >> - asm-x86_64/sha2/sha512_impl.S >> ++ asm-x86_64/sha2/sha512_impl.S \ >> ++ asm-x86_64/blake3/blake3_avx2.S \ >> ++ asm-x86_64/blake3/blake3_avx512.S \ >> ++ asm-x86_64/blake3/blake3_sse2.S \ >> ++ asm-x86_64/blake3/blake3_sse41.S >> + >> +CFLAGS+= -D__amd64 -D_SYS_STACK_H -UHAVE_AES >> ++.elif ${MACHINE_ARCH} == "aarch64" >> ++ASM_SOURCES_C = >> ++ASM_SOURCES_AS = \ >> ++ asm-aarch64/blake3/b3_aarch64_sse2.S \ >> ++ asm-aarch64/blake3/b3_aarch64_sse41.S >> ++.elif ${MACHINE_ARCH} == "powerpc64" > > This should be powerpc64le, as it’s for little-endian not big-endian. > The powerpc64le build has been broken since this commit. Just commit it. It's a trivial fix and the build breakage spam for all the commmits since this went in isn't worth waiting on further. -- John Baldwin