git: 53b70c86d93c - main - zfs: merge openzfs/zfs at 4a1195ca5 (master) into main

Martin Matuska mm at FreeBSD.org
Wed Sep 15 15:31:45 UTC 2021


The branch main has been updated by mm:

URL: https://cgit.FreeBSD.org/src/commit/?id=53b70c86d93c1e4d3c76f1282e94154e88780d7e

commit 53b70c86d93c1e4d3c76f1282e94154e88780d7e
Merge: 6e8272f317b8 4a1195ca5041
Author:     Martin Matuska <mm at FreeBSD.org>
AuthorDate: 2021-09-15 15:30:07 +0000
Commit:     Martin Matuska <mm at FreeBSD.org>
CommitDate: 2021-09-15 15:30:53 +0000

    zfs: merge openzfs/zfs at 4a1195ca5 (master) into main
    
    Notable upstream pull request merges:
      #11312 Temporarily use root credentials to mount snapshots in .zfs
      #12246 arc: Drop an incorrect assert
      #12443 Fixed data integrity issue when underlying disk returns error
             to zfs
      #12522 Compressed receive with different ashift can result in incorrect
             PSIZE on disk
      #12535 Verify embedded blkptr's in arc_read()
      #12541 Allow sending corrupt snapshots even if metadata is corrupted
    
    Obtained from:  OpenZFS
    OpenZFS commit: 4a1195ca5041cbff2a6b025a31937fef84876c52

 .../openzfs/.github/workflows/checkstyle.yaml      |    6 +-
 sys/contrib/openzfs/Makefile.am                    |   14 +-
 sys/contrib/openzfs/cmd/mount_zfs/mount_zfs.c      |    2 +-
 sys/contrib/openzfs/cmd/zdb/zdb.c                  |   13 +-
 sys/contrib/openzfs/cmd/zed/agents/zfs_retire.c    |    1 +
 sys/contrib/openzfs/cmd/zed/zed.c                  |    2 +-
 sys/contrib/openzfs/cmd/zed/zed_conf.c             |    1 +
 sys/contrib/openzfs/cmd/zed/zed_exec.c             |    2 +
 sys/contrib/openzfs/cmd/zfs/zfs_main.c             |    1 +
 sys/contrib/openzfs/cmd/zpool/zpool.d/media        |    9 +-
 .../openzfs/cmd/zpool_influxdb/zpool_influxdb.c    |    2 +-
 sys/contrib/openzfs/config/Abigail.am              |    2 +
 sys/contrib/openzfs/config/Rules.am                |    1 +
 .../openzfs/config/always-compiler-options.m4      |   23 +
 sys/contrib/openzfs/config/kernel-acl.m4           |   23 +-
 sys/contrib/openzfs/config/kernel-blk-queue.m4     |   40 +
 sys/contrib/openzfs/config/kernel-stdarg.m4        |   32 +
 sys/contrib/openzfs/config/kernel.m4               |    2 +
 sys/contrib/openzfs/config/zfs-build.m4            |    1 +
 sys/contrib/openzfs/config/zfs-meta.m4             |    4 +-
 sys/contrib/openzfs/include/libzfs.h               |    4 +-
 .../openzfs/include/os/freebsd/linux/compiler.h    |    1 +
 .../include/os/linux/kernel/linux/blkdev_compat.h  |    3 +
 .../os/linux/kernel/linux/compiler_compat.h        |    8 +
 .../openzfs/include/os/linux/spl/sys/cmn_err.h     |    4 +
 .../include/os/linux/zfs/sys/zfs_context_os.h      |    1 +
 sys/contrib/openzfs/include/os/linux/zfs/sys/zpl.h |    4 +
 sys/contrib/openzfs/include/sys/fm/fs/zfs.h        |    9 +
 sys/contrib/openzfs/include/sys/spa.h              |    2 +
 sys/contrib/openzfs/include/sys/zfs_context.h      |    1 -
 sys/contrib/openzfs/include/sys/zio.h              |    2 +
 sys/contrib/openzfs/lib/libnvpair/libnvpair.abi    | 5257 +++++++-------
 .../openzfs/lib/libspl/include/sys/feature_tests.h |   11 +-
 sys/contrib/openzfs/lib/libuutil/libuutil.abi      | 2778 ++++---
 sys/contrib/openzfs/lib/libzfs/libzfs.abi          | 7642 ++++++++------------
 sys/contrib/openzfs/lib/libzfs/libzfs_dataset.c    |    5 +-
 sys/contrib/openzfs/lib/libzfs/libzfs_mount.c      |    4 +
 sys/contrib/openzfs/lib/libzfs/libzfs_pool.c       |    4 +-
 sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c   |    2 +-
 sys/contrib/openzfs/lib/libzfs/libzfs_util.c       |    2 +-
 .../openzfs/lib/libzfs/os/freebsd/libzfs_zmount.c  |   12 +
 .../openzfs/lib/libzfs/os/linux/libzfs_mount_os.c  |   12 +
 .../openzfs/lib/libzfs_core/libzfs_core.abi        | 5040 ++++++-------
 .../openzfs/lib/libzfsbootenv/libzfsbootenv.abi    |  361 +-
 .../openzfs/lib/libzfsbootenv/lzbe_device.c        |    2 +-
 sys/contrib/openzfs/lib/libzutil/zutil_import.c    |    3 +-
 .../openzfs/module/icp/core/kcf_prov_tabs.c        |    2 +-
 sys/contrib/openzfs/module/icp/io/aes.c            |    2 +-
 sys/contrib/openzfs/module/lua/lcode.c             |    4 +
 sys/contrib/openzfs/module/lua/lgc.c               |    2 +-
 sys/contrib/openzfs/module/lua/llex.c              |    2 +-
 sys/contrib/openzfs/module/lua/lstrlib.c           |    2 +-
 sys/contrib/openzfs/module/lua/ltable.c            |    2 +-
 .../openzfs/module/os/freebsd/spl/spl_vfs.c        |   10 +-
 .../openzfs/module/os/freebsd/zfs/zfs_acl.c        |    4 +-
 .../openzfs/module/os/freebsd/zfs/zfs_vnops_os.c   |    2 +-
 sys/contrib/openzfs/module/os/linux/zfs/zfs_acl.c  |    4 +-
 .../openzfs/module/os/linux/zfs/zfs_znode.c        |    2 +-
 .../openzfs/module/os/linux/zfs/zpl_xattr.c        |   34 +-
 sys/contrib/openzfs/module/zfs/abd.c               |    8 +-
 sys/contrib/openzfs/module/zfs/arc.c               |   20 +-
 sys/contrib/openzfs/module/zfs/dmu_send.c          |    2 +
 sys/contrib/openzfs/module/zfs/dsl_prop.c          |    2 +-
 sys/contrib/openzfs/module/zfs/spa.c               |    2 +-
 sys/contrib/openzfs/module/zfs/vdev_label.c        |    2 +-
 .../openzfs/module/zfs/vdev_raidz_math_scalar.c    |    2 +-
 sys/contrib/openzfs/module/zfs/zfs_fm.c            |   52 +
 sys/contrib/openzfs/module/zfs/zfs_replay.c        |    8 +-
 sys/contrib/openzfs/module/zfs/zil.c               |   34 +-
 sys/contrib/openzfs/module/zfs/zio.c               |   14 +-
 sys/contrib/openzfs/module/zfs/zio_compress.c      |    2 +-
 sys/contrib/openzfs/module/zfs/zvol.c              |   64 +
 .../openzfs/tests/test-runner/bin/zts-report.py.in |    7 -
 .../openzfs/tests/zfs-tests/cmd/mkbusy/mkbusy.c    |    2 +-
 .../cli_root/zfs_copies/zfs_copies.kshlib          |    7 +-
 .../cli_root/zfs_rename/zfs_rename_006_pos.ksh     |    2 +-
 .../cli_root/zpool_import/zpool_import_errata3.ksh |    4 +-
 .../zvol/zvol_misc/zvol_misc_volmode.ksh           |    2 +
 sys/modules/zfs/zfs_config.h                       |    4 +-
 sys/modules/zfs/zfs_gitrev.h                       |    2 +-
 80 files changed, 9815 insertions(+), 11854 deletions(-)

diff --cc sys/contrib/openzfs/config/kernel-stdarg.m4
index 000000000000,5bc8dd859d6b..5bc8dd859d6b
mode 000000,100644..100644
--- a/sys/contrib/openzfs/config/kernel-stdarg.m4
+++ b/sys/contrib/openzfs/config/kernel-stdarg.m4
diff --cc sys/contrib/openzfs/lib/libspl/include/sys/feature_tests.h
index 1a68b75f0cdc,000000000000..c9564b2c3269
mode 100644,000000..100644
--- a/sys/contrib/openzfs/lib/libspl/include/sys/feature_tests.h
+++ b/sys/contrib/openzfs/lib/libspl/include/sys/feature_tests.h
@@@ -1,32 -1,0 +1,41 @@@
 +/*
 + * CDDL HEADER START
 + *
 + * The contents of this file are subject to the terms of the
 + * Common Development and Distribution License, Version 1.0 only
 + * (the "License").  You may not use this file except in compliance
 + * with the License.
 + *
 + * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 + * or http://www.opensolaris.org/os/licensing.
 + * See the License for the specific language governing permissions
 + * and limitations under the License.
 + *
 + * When distributing Covered Code, include this CDDL HEADER in each
 + * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
 + * If applicable, add the following below this CDDL HEADER, with the
 + * fields enclosed by brackets "[]" replaced with your own identifying
 + * information: Portions Copyright [yyyy] [name of copyright owner]
 + *
 + * CDDL HEADER END
 + */
 +/*
 + * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 + * Use is subject to license terms.
 + */
 +
 +#ifndef _SYS_FEATURE_TESTS_H
 +#define	_SYS_FEATURE_TESTS_H
 +
- #define	__NORETURN	__attribute__((__noreturn__))
++#define	____cacheline_aligned
++#define	__NORETURN		__attribute__((__noreturn__))
++
++#if !defined(fallthrough) && !defined(_LIBCPP_VERSION)
++#if defined(HAVE_IMPLICIT_FALLTHROUGH)
++#define	fallthrough		__attribute__((__fallthrough__))
++#else
++#define	fallthrough		((void)0)
++#endif
++#endif
 +
 +#endif
diff --cc sys/modules/zfs/zfs_config.h
index ecc1e2940105,000000000000..82f6d415f966
mode 100644,000000..100644
--- a/sys/modules/zfs/zfs_config.h
+++ b/sys/modules/zfs/zfs_config.h
@@@ -1,849 -1,0 +1,849 @@@
 +/*
 + * $FreeBSD$
 + */
 +
 +/* zfs_config.h.  Generated from zfs_config.h.in by configure.  */
 +/* zfs_config.h.in.  Generated from configure.ac by autoheader.  */
 +
 +/* Define to 1 if translation of program messages to the user's native
 +   language is requested. */
 +/* #undef ENABLE_NLS */
 +
 +/* bio_end_io_t wants 1 arg */
 +/* #undef HAVE_1ARG_BIO_END_IO_T */
 +
 +/* lookup_bdev() wants 1 arg */
 +/* #undef HAVE_1ARG_LOOKUP_BDEV */
 +
 +/* submit_bio() wants 1 arg */
 +/* #undef HAVE_1ARG_SUBMIT_BIO */
 +
 +/* bdi_setup_and_register() wants 2 args */
 +/* #undef HAVE_2ARGS_BDI_SETUP_AND_REGISTER */
 +
 +/* vfs_getattr wants 2 args */
 +/* #undef HAVE_2ARGS_VFS_GETATTR */
 +
 +/* zlib_deflate_workspacesize() wants 2 args */
 +/* #undef HAVE_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE */
 +
 +/* bdi_setup_and_register() wants 3 args */
 +/* #undef HAVE_3ARGS_BDI_SETUP_AND_REGISTER */
 +
 +/* vfs_getattr wants 3 args */
 +/* #undef HAVE_3ARGS_VFS_GETATTR */
 +
 +/* vfs_getattr wants 4 args */
 +/* #undef HAVE_4ARGS_VFS_GETATTR */
 +
 +/* kernel has access_ok with 'type' parameter */
 +/* #undef HAVE_ACCESS_OK_TYPE */
 +
 +/* posix_acl has refcount_t */
 +/* #undef HAVE_ACL_REFCOUNT */
 +
 +/* Define if host toolchain supports AES */
 +#define HAVE_AES 1
 +
 +#ifdef __amd64__
 +#ifndef RESCUE
 +/* Define if host toolchain supports AVX */
 +#define HAVE_AVX 1
 +#endif
 +
 +/* Define if host toolchain supports AVX2 */
 +#define HAVE_AVX2 1
 +
 +/* Define if host toolchain supports AVX512BW */
 +#define HAVE_AVX512BW 1
 +
 +/* Define if host toolchain supports AVX512CD */
 +#define HAVE_AVX512CD 1
 +
 +/* Define if host toolchain supports AVX512DQ */
 +#define HAVE_AVX512DQ 1
 +
 +/* Define if host toolchain supports AVX512ER */
 +#define HAVE_AVX512ER 1
 +
 +/* Define if host toolchain supports AVX512F */
 +#define HAVE_AVX512F 1
 +
 +/* Define if host toolchain supports AVX512IFMA */
 +#define HAVE_AVX512IFMA 1
 +
 +/* Define if host toolchain supports AVX512PF */
 +#define HAVE_AVX512PF 1
 +
 +/* Define if host toolchain supports AVX512VBMI */
 +#define HAVE_AVX512VBMI 1
 +
 +/* Define if host toolchain supports AVX512VL */
 +#define HAVE_AVX512VL 1
 +#endif
 +
 +/* bdev_check_media_change() exists */
 +/* #undef HAVE_BDEV_CHECK_MEDIA_CHANGE */
 +
 +/* bdev_whole() is available */
 +/* #undef HAVE_BDEV_WHOLE */
 +
 +/* bio->bi_bdev->bd_disk exists */
 +/* #undef HAVE_BIO_BDEV_DISK */
 +
 +/* bio->bi_opf is defined */
 +/* #undef HAVE_BIO_BI_OPF */
 +
 +/* bio->bi_status exists */
 +/* #undef HAVE_BIO_BI_STATUS */
 +
 +/* bio has bi_iter */
 +/* #undef HAVE_BIO_BVEC_ITER */
 +
 +/* bio_*_io_acct() available */
 +/* #undef HAVE_BIO_IO_ACCT */
 +
 +/* bio_max_segs() is implemented */
 +/* #undef HAVE_BIO_MAX_SEGS */
 +
 +/* bio_set_dev() is available */
 +/* #undef HAVE_BIO_SET_DEV */
 +
 +/* bio_set_dev() GPL-only */
 +/* #undef HAVE_BIO_SET_DEV_GPL_ONLY */
 +
 +/* bio_set_op_attrs is available */
 +/* #undef HAVE_BIO_SET_OP_ATTRS */
 +
 +/* blkdev_reread_part() exists */
 +/* #undef HAVE_BLKDEV_REREAD_PART */
 +
 +/* blkg_tryget() is available */
 +/* #undef HAVE_BLKG_TRYGET */
 +
 +/* blkg_tryget() GPL-only */
 +/* #undef HAVE_BLKG_TRYGET_GPL_ONLY */
 +
 +/* blk_alloc_disk() exists */
 +/* #undef HAVE_BLK_ALLOC_DISK */
 +
 +/* blk_alloc_queue() expects request function */
 +/* #undef HAVE_BLK_ALLOC_QUEUE_REQUEST_FN */
 +
 +/* blk_alloc_queue_rh() expects request function */
 +/* #undef HAVE_BLK_ALLOC_QUEUE_REQUEST_FN_RH */
 +
 +/* blk queue backing_dev_info is dynamic */
 +/* #undef HAVE_BLK_QUEUE_BDI_DYNAMIC */
 +
 +/* blk_queue_flag_clear() exists */
 +/* #undef HAVE_BLK_QUEUE_FLAG_CLEAR */
 +
 +/* blk_queue_flag_set() exists */
 +/* #undef HAVE_BLK_QUEUE_FLAG_SET */
 +
 +/* blk_queue_flush() is available */
 +/* #undef HAVE_BLK_QUEUE_FLUSH */
 +
 +/* blk_queue_flush() is GPL-only */
 +/* #undef HAVE_BLK_QUEUE_FLUSH_GPL_ONLY */
 +
 +/* blk_queue_secdiscard() is available */
 +/* #undef HAVE_BLK_QUEUE_SECDISCARD */
 +
 +/* blk_queue_secure_erase() is available */
 +/* #undef HAVE_BLK_QUEUE_SECURE_ERASE */
 +
 +/* blk_queue_write_cache() exists */
 +/* #undef HAVE_BLK_QUEUE_WRITE_CACHE */
 +
 +/* blk_queue_write_cache() is GPL-only */
 +/* #undef HAVE_BLK_QUEUE_WRITE_CACHE_GPL_ONLY */
 +
 +/* Define if revalidate_disk() in block_device_operations */
 +/* #undef HAVE_BLOCK_DEVICE_OPERATIONS_REVALIDATE_DISK */
 +
 +/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
 +   CoreFoundation framework. */
 +/* #undef HAVE_CFLOCALECOPYCURRENT */
 +
 +/* Define to 1 if you have the Mac OS X function
 +   CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
 +/* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */
 +
 +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
 +   the CoreFoundation framework. */
 +/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
 +
 +/* check_disk_change() exists */
 +/* #undef HAVE_CHECK_DISK_CHANGE */
 +
 +/* clear_inode() is available */
 +/* #undef HAVE_CLEAR_INODE */
 +
 +/* dentry uses const struct dentry_operations */
 +/* #undef HAVE_CONST_DENTRY_OPERATIONS */
 +
 +/* copy_from_iter() is available */
 +/* #undef HAVE_COPY_FROM_ITER */
 +
 +/* copy_to_iter() is available */
 +/* #undef HAVE_COPY_TO_ITER */
 +
 +/* yes */
 +/* #undef HAVE_CPU_HOTPLUG */
 +
 +/* current_time() exists */
 +/* #undef HAVE_CURRENT_TIME */
 +
 +/* Define if the GNU dcgettext() function is already present or preinstalled.
 +   */
 +/* #undef HAVE_DCGETTEXT */
 +
 +/* DECLARE_EVENT_CLASS() is available */
 +/* #undef HAVE_DECLARE_EVENT_CLASS */
 +
 +/* lookup_bdev() wants dev_t arg */
 +/* #undef HAVE_DEVT_LOOKUP_BDEV */
 +
 +/* sops->dirty_inode() wants flags */
 +/* #undef HAVE_DIRTY_INODE_WITH_FLAGS */
 +
 +/* disk_*_io_acct() available */
 +/* #undef HAVE_DISK_IO_ACCT */
 +
 +/* Define to 1 if you have the <dlfcn.h> header file. */
 +#define HAVE_DLFCN_H 1
 +
 +/* d_make_root() is available */
 +/* #undef HAVE_D_MAKE_ROOT */
 +
 +/* d_prune_aliases() is available */
 +/* #undef HAVE_D_PRUNE_ALIASES */
 +
 +/* dops->d_revalidate() operation takes nameidata */
 +/* #undef HAVE_D_REVALIDATE_NAMEIDATA */
 +
 +/* eops->encode_fh() wants child and parent inodes */
 +/* #undef HAVE_ENCODE_FH_WITH_INODE */
 +
 +/* sops->evict_inode() exists */
 +/* #undef HAVE_EVICT_INODE */
 +
 +/* fops->aio_fsync() exists */
 +/* #undef HAVE_FILE_AIO_FSYNC */
 +
 +/* file_dentry() is available */
 +/* #undef HAVE_FILE_DENTRY */
 +
 +/* file_inode() is available */
 +/* #undef HAVE_FILE_INODE */
 +
 +/* iops->follow_link() cookie */
 +/* #undef HAVE_FOLLOW_LINK_COOKIE */
 +
 +/* iops->follow_link() nameidata */
 +/* #undef HAVE_FOLLOW_LINK_NAMEIDATA */
 +
 +/* fops->fsync() with range */
 +/* #undef HAVE_FSYNC_RANGE */
 +
 +/* fops->fsync() without dentry */
 +/* #undef HAVE_FSYNC_WITHOUT_DENTRY */
 +
 +/* generic_fillattr requires struct user_namespace* */
 +/* #undef HAVE_GENERIC_FILLATTR_USERNS */
 +
 +/* generic_*_io_acct() 3 arg available */
 +/* #undef HAVE_GENERIC_IO_ACCT_3ARG */
 +
 +/* generic_*_io_acct() 4 arg available */
 +/* #undef HAVE_GENERIC_IO_ACCT_4ARG */
 +
 +/* generic_readlink is global */
 +/* #undef HAVE_GENERIC_READLINK */
 +
 +/* generic_setxattr() exists */
 +/* #undef HAVE_GENERIC_SETXATTR */
 +
 +/* generic_write_checks() takes kiocb */
 +/* #undef HAVE_GENERIC_WRITE_CHECKS_KIOCB */
 +
 +/* Define if the GNU gettext() function is already present or preinstalled. */
 +/* #undef HAVE_GETTEXT */
 +
 +/* iops->get_link() cookie */
 +/* #undef HAVE_GET_LINK_COOKIE */
 +
 +/* iops->get_link() delayed */
 +/* #undef HAVE_GET_LINK_DELAYED */
 +
 +/* group_info->gid exists */
 +/* #undef HAVE_GROUP_INFO_GID */
 +
 +/* has_capability() is available */
 +/* #undef HAVE_HAS_CAPABILITY */
 +
 +/* Define if you have the iconv() function and it works. */
 +#define HAVE_ICONV 1
 +
 +/* yes */
 +/* #undef HAVE_INODE_LOCK_SHARED */
 +
 +/* inode_owner_or_capable() exists */
 +/* #undef HAVE_INODE_OWNER_OR_CAPABLE */
 +
 +/* inode_owner_or_capable() takes user_ns */
 +/* #undef HAVE_INODE_OWNER_OR_CAPABLE_IDMAPPED */
 +
 +/* inode_set_flags() exists */
 +/* #undef HAVE_INODE_SET_FLAGS */
 +
 +/* inode_set_iversion() exists */
 +/* #undef HAVE_INODE_SET_IVERSION */
 +
 +/* inode->i_*time's are timespec64 */
 +/* #undef HAVE_INODE_TIMESPEC64_TIMES */
 +
 +/* timestamp_truncate() exists */
 +/* #undef HAVE_INODE_TIMESTAMP_TRUNCATE */
 +
 +/* Define to 1 if you have the <inttypes.h> header file. */
 +#define HAVE_INTTYPES_H 1
 +
 +/* in_compat_syscall() is available */
 +/* #undef HAVE_IN_COMPAT_SYSCALL */
 +
 +/* iops->create() takes struct user_namespace* */
 +/* #undef HAVE_IOPS_CREATE_USERNS */
 +
 +/* iops->mkdir() takes struct user_namespace* */
 +/* #undef HAVE_IOPS_MKDIR_USERNS */
 +
 +/* iops->mknod() takes struct user_namespace* */
 +/* #undef HAVE_IOPS_MKNOD_USERNS */
 +
 +/* iops->rename() takes struct user_namespace* */
 +/* #undef HAVE_IOPS_RENAME_USERNS */
 +
 +/* iops->symlink() takes struct user_namespace* */
 +/* #undef HAVE_IOPS_SYMLINK_USERNS */
 +
 +/* iov_iter_advance() is available */
 +/* #undef HAVE_IOV_ITER_ADVANCE */
 +
 +/* iov_iter_count() is available */
 +/* #undef HAVE_IOV_ITER_COUNT */
 +
 +/* iov_iter_fault_in_readable() is available */
 +/* #undef HAVE_IOV_ITER_FAULT_IN_READABLE */
 +
 +/* iov_iter_revert() is available */
 +/* #undef HAVE_IOV_ITER_REVERT */
 +
 +/* iov_iter types are available */
 +/* #undef HAVE_IOV_ITER_TYPES */
 +
 +/* yes */
 +/* #undef HAVE_IO_SCHEDULE_TIMEOUT */
 +
 +/* Define to 1 if you have the `issetugid' function. */
 +#define HAVE_ISSETUGID 1
 +
 +/* kernel has kernel_fpu_* functions */
 +/* #undef HAVE_KERNEL_FPU */
 +
 +/* kernel has asm/fpu/api.h */
 +/* #undef HAVE_KERNEL_FPU_API_HEADER */
 +
 +/* kernel fpu internal */
 +/* #undef HAVE_KERNEL_FPU_INTERNAL */
 +
 +/* uncached_acl_sentinel() exists */
 +/* #undef HAVE_KERNEL_GET_ACL_HANDLE_CACHE */
 +
 +/* kernel does stack verification */
 +/* #undef HAVE_KERNEL_OBJTOOL */
 +
 +/* kernel has linux/objtool.h */
 +/* #undef HAVE_KERNEL_OBJTOOL_HEADER */
 +
 +/* kernel_read() take loff_t pointer */
 +/* #undef HAVE_KERNEL_READ_PPOS */
 +
 +/* timer_list.function gets a timer_list */
 +/* #undef HAVE_KERNEL_TIMER_FUNCTION_TIMER_LIST */
 +
 +/* struct timer_list has a flags member */
 +/* #undef HAVE_KERNEL_TIMER_LIST_FLAGS */
 +
 +/* timer_setup() is available */
 +/* #undef HAVE_KERNEL_TIMER_SETUP */
 +
 +/* kernel_write() take loff_t pointer */
 +/* #undef HAVE_KERNEL_WRITE_PPOS */
 +
 +/* kmem_cache_create_usercopy() exists */
 +/* #undef HAVE_KMEM_CACHE_CREATE_USERCOPY */
 +
 +/* kstrtoul() exists */
 +/* #undef HAVE_KSTRTOUL */
 +
 +/* ktime_get_coarse_real_ts64() exists */
 +/* #undef HAVE_KTIME_GET_COARSE_REAL_TS64 */
 +
 +/* ktime_get_raw_ts64() exists */
 +/* #undef HAVE_KTIME_GET_RAW_TS64 */
 +
 +/* kvmalloc exists */
 +/* #undef HAVE_KVMALLOC */
 +
 +/* Define if you have [aio] */
 +/* #undef HAVE_LIBAIO */
 +
 +/* Define if you have [blkid] */
 +/* #undef HAVE_LIBBLKID */
 +
 +/* Define if you have [crypto] */
 +#define HAVE_LIBCRYPTO 1
 +
 +/* Define if you have [tirpc] */
 +/* #undef HAVE_LIBTIRPC */
 +
 +/* Define if you have [udev] */
 +/* #undef HAVE_LIBUDEV */
 +
 +/* Define if you have [uuid] */
 +/* #undef HAVE_LIBUUID */
 +
 +/* lseek_execute() is available */
 +/* #undef HAVE_LSEEK_EXECUTE */
 +
 +/* makedev() is declared in sys/mkdev.h */
 +/* #undef HAVE_MAKEDEV_IN_MKDEV */
 +
 +/* makedev() is declared in sys/sysmacros.h */
 +/* #undef HAVE_MAKEDEV_IN_SYSMACROS */
 +
 +/* Noting that make_request_fn() returns blk_qc_t */
 +/* #undef HAVE_MAKE_REQUEST_FN_RET_QC */
 +
 +/* Noting that make_request_fn() returns void */
 +/* #undef HAVE_MAKE_REQUEST_FN_RET_VOID */
 +
 +/* Define to 1 if you have the <memory.h> header file. */
 +#define HAVE_MEMORY_H 1
 +
 +/* iops->mkdir() takes umode_t */
 +/* #undef HAVE_MKDIR_UMODE_T */
 +
 +/* Define to 1 if you have the `mlockall' function. */
 +#define HAVE_MLOCKALL 1
 +
 +/* lookup_bdev() wants mode arg */
 +/* #undef HAVE_MODE_LOOKUP_BDEV */
 +
 +/* Define if host toolchain supports MOVBE */
 +#define HAVE_MOVBE 1
 +
 +/* new_sync_read()/new_sync_write() are available */
 +/* #undef HAVE_NEW_SYNC_READ */
 +
 +/* iops->getattr() takes a path */
 +/* #undef HAVE_PATH_IOPS_GETATTR */
 +
 +/* Define if host toolchain supports PCLMULQDQ */
 +#define HAVE_PCLMULQDQ 1
 +
 +/* percpu_counter_add_batch() is defined */
 +/* #undef HAVE_PERCPU_COUNTER_ADD_BATCH */
 +
 +/* percpu_counter_init() wants gfp_t */
 +/* #undef HAVE_PERCPU_COUNTER_INIT_WITH_GFP */
 +
 +/* posix_acl_chmod() exists */
 +/* #undef HAVE_POSIX_ACL_CHMOD */
 +
 +/* posix_acl_from_xattr() needs user_ns */
 +/* #undef HAVE_POSIX_ACL_FROM_XATTR_USERNS */
 +
 +/* posix_acl_release() is available */
 +/* #undef HAVE_POSIX_ACL_RELEASE */
 +
 +/* posix_acl_release() is GPL-only */
 +/* #undef HAVE_POSIX_ACL_RELEASE_GPL_ONLY */
 +
 +/* posix_acl_valid() wants user namespace */
 +/* #undef HAVE_POSIX_ACL_VALID_WITH_NS */
 +
 +/* proc_ops structure exists */
 +/* #undef HAVE_PROC_OPS_STRUCT */
 +
 +/* iops->put_link() cookie */
 +/* #undef HAVE_PUT_LINK_COOKIE */
 +
 +/* iops->put_link() delayed */
 +/* #undef HAVE_PUT_LINK_DELAYED */
 +
 +/* iops->put_link() nameidata */
 +/* #undef HAVE_PUT_LINK_NAMEIDATA */
 +
 +/* If available, contains the Python version number currently in use. */
 +#define HAVE_PYTHON "3.7"
 +
 +/* qat is enabled and existed */
 +/* #undef HAVE_QAT */
 +
 +/* iops->rename() wants flags */
 +/* #undef HAVE_RENAME_WANTS_FLAGS */
 +
 +/* REQ_DISCARD is defined */
 +/* #undef HAVE_REQ_DISCARD */
 +
 +/* REQ_FLUSH is defined */
 +/* #undef HAVE_REQ_FLUSH */
 +
 +/* REQ_OP_DISCARD is defined */
 +/* #undef HAVE_REQ_OP_DISCARD */
 +
 +/* REQ_OP_FLUSH is defined */
 +/* #undef HAVE_REQ_OP_FLUSH */
 +
 +/* REQ_OP_SECURE_ERASE is defined */
 +/* #undef HAVE_REQ_OP_SECURE_ERASE */
 +
 +/* REQ_PREFLUSH is defined */
 +/* #undef HAVE_REQ_PREFLUSH */
 +
 +/* revalidate_disk() is available */
 +/* #undef HAVE_REVALIDATE_DISK */
 +
 +/* revalidate_disk_size() is available */
 +/* #undef HAVE_REVALIDATE_DISK_SIZE */
 +
 +/* struct rw_semaphore has member activity */
 +/* #undef HAVE_RWSEM_ACTIVITY */
 +
 +/* struct rw_semaphore has atomic_long_t member count */
 +/* #undef HAVE_RWSEM_ATOMIC_LONG_COUNT */
 +
 +/* linux/sched/signal.h exists */
 +/* #undef HAVE_SCHED_SIGNAL_HEADER */
 +
 +/* Define to 1 if you have the <security/pam_modules.h> header file. */
 +#define HAVE_SECURITY_PAM_MODULES_H 1
 +
 +/* setattr_prepare() is available, doesn't accept user_namespace */
 +/* #undef HAVE_SETATTR_PREPARE_NO_USERNS */
 +
 +/* setattr_prepare() accepts user_namespace */
 +/* #undef HAVE_SETATTR_PREPARE_USERNS */
 +
 +/* iops->set_acl() exists, takes 3 args */
 +/* #undef HAVE_SET_ACL */
 +
 +/* iops->set_acl() takes 4 args */
 +/* #undef HAVE_SET_ACL_USERNS */
 +
 +/* set_cached_acl() is usable */
 +/* #undef HAVE_SET_CACHED_ACL_USABLE */
 +
 +/* set_special_state() exists */
 +/* #undef HAVE_SET_SPECIAL_STATE */
 +
 +/* struct shrink_control exists */
 +/* #undef HAVE_SHRINK_CONTROL_STRUCT */
 +
 +/* kernel_siginfo_t exists */
 +/* #undef HAVE_SIGINFO */
 +
 +/* signal_stop() exists */
 +/* #undef HAVE_SIGNAL_STOP */
 +
 +/* new shrinker callback wants 2 args */
 +/* #undef HAVE_SINGLE_SHRINKER_CALLBACK */
 +
 +/* ->count_objects exists */
 +/* #undef HAVE_SPLIT_SHRINKER_CALLBACK */
 +
 +#if defined(__amd64__) || defined(__i386__)
 +/* Define if host toolchain supports SSE */
 +#define HAVE_SSE 1
 +
 +/* Define if host toolchain supports SSE2 */
 +#define HAVE_SSE2 1
 +
 +/* Define if host toolchain supports SSE3 */
 +#define HAVE_SSE3 1
 +
 +/* Define if host toolchain supports SSE4.1 */
 +#define HAVE_SSE4_1 1
 +
 +/* Define if host toolchain supports SSE4.2 */
 +#define HAVE_SSE4_2 1
 +
 +/* Define if host toolchain supports SSSE3 */
 +#define HAVE_SSSE3 1
 +#endif
 +
 +/* STACK_FRAME_NON_STANDARD is defined */
 +/* #undef HAVE_STACK_FRAME_NON_STANDARD */
 +
 +/* Define to 1 if you have the <stdint.h> header file. */
 +#define HAVE_STDINT_H 1
 +
 +/* Define to 1 if you have the <stdlib.h> header file. */
 +#define HAVE_STDLIB_H 1
 +
 +/* Define to 1 if you have the <strings.h> header file. */
 +#define HAVE_STRINGS_H 1
 +
 +/* Define to 1 if you have the <string.h> header file. */
 +#define HAVE_STRING_H 1
 +
 +/* Define to 1 if you have the `strlcat' function. */
 +#define HAVE_STRLCAT 1
 +
 +/* Define to 1 if you have the `strlcpy' function. */
 +#define HAVE_STRLCPY 1
 +
 +/* submit_bio is member of struct block_device_operations */
 +/* #undef HAVE_SUBMIT_BIO_IN_BLOCK_DEVICE_OPERATIONS */
 +
 +/* super_setup_bdi_name() exits */
 +/* #undef HAVE_SUPER_SETUP_BDI_NAME */
 +
 +/* super_block->s_user_ns exists */
 +/* #undef HAVE_SUPER_USER_NS */
 +
 +/* Define to 1 if you have the <sys/stat.h> header file. */
 +#define HAVE_SYS_STAT_H 1
 +
 +/* Define to 1 if you have the <sys/types.h> header file. */
 +#define HAVE_SYS_TYPES_H 1
 +
 +/* i_op->tmpfile() exists */
 +/* #undef HAVE_TMPFILE */
 +
 +/* i_op->tmpfile() has userns */
 +/* #undef HAVE_TMPFILE_USERNS */
 +
 +/* totalhigh_pages() exists */
 +/* #undef HAVE_TOTALHIGH_PAGES */
 +
 +/* kernel has totalram_pages() */
 +/* #undef HAVE_TOTALRAM_PAGES_FUNC */
 +
 +/* Define to 1 if you have the `udev_device_get_is_initialized' function. */
 +/* #undef HAVE_UDEV_DEVICE_GET_IS_INITIALIZED */
 +
 +/* kernel has __kernel_fpu_* functions */
 +/* #undef HAVE_UNDERSCORE_KERNEL_FPU */
 +
 +/* Define to 1 if you have the <unistd.h> header file. */
 +#define HAVE_UNISTD_H 1
 +
 +/* iops->getattr() takes struct user_namespace* */
 +/* #undef HAVE_USERNS_IOPS_GETATTR */
 +
 +/* iops->getattr() takes a vfsmount */
 +/* #undef HAVE_VFSMOUNT_IOPS_GETATTR */
 +
 +/* aops->direct_IO() uses iovec */
 +/* #undef HAVE_VFS_DIRECT_IO_IOVEC */
 +
 +/* aops->direct_IO() uses iov_iter without rw */
 +/* #undef HAVE_VFS_DIRECT_IO_ITER */
 +
 +/* aops->direct_IO() uses iov_iter with offset */
 +/* #undef HAVE_VFS_DIRECT_IO_ITER_OFFSET */
 +
 +/* aops->direct_IO() uses iov_iter with rw and offset */
 +/* #undef HAVE_VFS_DIRECT_IO_ITER_RW_OFFSET */
 +
 +/* All required iov_iter interfaces are available */
 +/* #undef HAVE_VFS_IOV_ITER */
 +
 +/* fops->iterate() is available */
 +/* #undef HAVE_VFS_ITERATE */
 +
 +/* fops->iterate_shared() is available */
 +/* #undef HAVE_VFS_ITERATE_SHARED */
 +
 +/* fops->readdir() is available */
 +/* #undef HAVE_VFS_READDIR */
 +
 +/* fops->read/write_iter() are available */
 +/* #undef HAVE_VFS_RW_ITERATE */
 +
 +/* __set_page_dirty_nobuffers exists */
 +/* #undef HAVE_VFS_SET_PAGE_DIRTY_NOBUFFERS */
 +
 +/* __vmalloc page flags exists */
 +/* #undef HAVE_VMALLOC_PAGE_KERNEL */
 +
 +/* yes */
 +/* #undef HAVE_WAIT_ON_BIT_ACTION */
 +
 +/* wait_queue_entry_t exists */
 +/* #undef HAVE_WAIT_QUEUE_ENTRY_T */
 +
 +/* wq_head->head and wq_entry->entry exist */
 +/* #undef HAVE_WAIT_QUEUE_HEAD_ENTRY */
 +
 +/* xattr_handler->get() wants dentry */
 +/* #undef HAVE_XATTR_GET_DENTRY */
 +
 +/* xattr_handler->get() wants both dentry and inode */
 +/* #undef HAVE_XATTR_GET_DENTRY_INODE */
 +
 +/* xattr_handler->get() wants xattr_handler */
 +/* #undef HAVE_XATTR_GET_HANDLER */
 +
 +/* xattr_handler has name */
 +/* #undef HAVE_XATTR_HANDLER_NAME */
 +
 +/* xattr_handler->list() wants dentry */
 +/* #undef HAVE_XATTR_LIST_DENTRY */
 +
 +/* xattr_handler->list() wants xattr_handler */
 +/* #undef HAVE_XATTR_LIST_HANDLER */
 +
 +/* xattr_handler->list() wants simple */
 +/* #undef HAVE_XATTR_LIST_SIMPLE */
 +
 +/* xattr_handler->set() wants dentry */
 +/* #undef HAVE_XATTR_SET_DENTRY */
 +
 +/* xattr_handler->set() wants both dentry and inode */
 +/* #undef HAVE_XATTR_SET_DENTRY_INODE */
 +
 +/* xattr_handler->set() wants xattr_handler */
 +/* #undef HAVE_XATTR_SET_HANDLER */
 +
 +/* xattr_handler->set() takes user_namespace */
 +/* #undef HAVE_XATTR_SET_USERNS */
 +
 +/* Define if you have [z] */
 +#define HAVE_ZLIB 1
 +
 +/* __posix_acl_chmod() exists */
 +/* #undef HAVE___POSIX_ACL_CHMOD */
 +
 +/* kernel exports FPU functions */
 +/* #undef KERNEL_EXPORTS_X86_FPU */
 +
 +/* TBD: fetch(3) support */
 +#if 0
 +/* whether the chosen libfetch is to be loaded at run-time */
 +#define LIBFETCH_DYNAMIC 1
 +
 +/* libfetch is fetch(3) */
 +#define LIBFETCH_IS_FETCH 1
 +
 +/* libfetch is libcurl */
 +#define LIBFETCH_IS_LIBCURL 0
 +
 +/* soname of chosen libfetch */
 +#define LIBFETCH_SONAME "libfetch.so.6"
 +#endif
 +
 +/* Define to the sub-directory where libtool stores uninstalled libraries. */
 +#define LT_OBJDIR ".libs/"
 +
 +/* make_request_fn() return type */
 +/* #undef MAKE_REQUEST_FN_RET */
 +
 +/* hardened module_param_call */
 +/* #undef MODULE_PARAM_CALL_CONST */
 +
 +/* struct shrink_control has nid */
 +/* #undef SHRINK_CONTROL_HAS_NID */
 +
 +/* Defined for legacy compatibility. */
 +#define SPL_META_ALIAS ZFS_META_ALIAS
 +
 +/* Defined for legacy compatibility. */
 +#define SPL_META_RELEASE ZFS_META_RELEASE
 +
 +/* Defined for legacy compatibility. */
 +#define SPL_META_VERSION ZFS_META_VERSION
 +
 +/* True if ZFS is to be compiled for a FreeBSD system */
 +#define SYSTEM_FREEBSD 1
 +
 +/* True if ZFS is to be compiled for a Linux system */
 +/* #undef SYSTEM_LINUX */
 +
 +/* zfs debugging enabled */
 +/* #undef ZFS_DEBUG */
 +
 +/* /dev/zfs minor */
 +/* #undef ZFS_DEVICE_MINOR */
 +
 +/* enum node_stat_item contains NR_FILE_PAGES */
 +/* #undef ZFS_ENUM_NODE_STAT_ITEM_NR_FILE_PAGES */
 +
 +/* enum node_stat_item contains NR_INACTIVE_ANON */
 +/* #undef ZFS_ENUM_NODE_STAT_ITEM_NR_INACTIVE_ANON */
 +
 +/* enum node_stat_item contains NR_INACTIVE_FILE */
 +/* #undef ZFS_ENUM_NODE_STAT_ITEM_NR_INACTIVE_FILE */
 +
 +/* enum zone_stat_item contains NR_FILE_PAGES */
 +/* #undef ZFS_ENUM_ZONE_STAT_ITEM_NR_FILE_PAGES */
 +
 +/* enum zone_stat_item contains NR_INACTIVE_ANON */
 +/* #undef ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_ANON */
 +
 +/* enum zone_stat_item contains NR_INACTIVE_FILE */
 +/* #undef ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_FILE */
 +
 +/* global_node_page_state() exists */
 +/* #undef ZFS_GLOBAL_NODE_PAGE_STATE */
 +
 +/* global_zone_page_state() exists */
 +/* #undef ZFS_GLOBAL_ZONE_PAGE_STATE */
 +
 +/* Define to 1 if GPL-only symbols can be used */
 +/* #undef ZFS_IS_GPL_COMPATIBLE */
 +
 +/* Define the project alias string. */
- #define ZFS_META_ALIAS "zfs-2.1.99-FreeBSD_g3b89d9518"
++#define ZFS_META_ALIAS "zfs-2.1.99-FreeBSD_g4a1195ca5"
 +
 +/* Define the project author. */
 +#define ZFS_META_AUTHOR "OpenZFS"
 +
 +/* Define the project release date. */
 +/* #undef ZFS_META_DATA */
 +
*** 43 LINES SKIPPED ***


More information about the dev-commits-src-all mailing list