git: bb2d13b686e3 - main - zfs: merge openzfs/zfs@59493b63c (master)

From: Martin Matuska <mm_at_FreeBSD.org>
Date: Wed, 07 Dec 2022 13:29:23 UTC
The branch main has been updated by mm:

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

commit bb2d13b686e3ccf6c3ccb36209dfb7dcc108b182
Merge: 899edecdbe92 59493b63c18e
Author:     Martin Matuska <mm@FreeBSD.org>
AuthorDate: 2022-12-07 13:10:46 +0000
Commit:     Martin Matuska <mm@FreeBSD.org>
CommitDate: 2022-12-07 13:10:46 +0000

    zfs: merge openzfs/zfs@59493b63c (master)
    
    Notable upstream pull request merges:
      #13782 Fix setting the large_block feature after receiving a snapshot
      #14157 FreeBSD: stop using buffer cache-only routines on sync
      #14172 zed: post a udev change event from spa_vdev_attach()
      #14181 zed: unclean disk attachment faults the vdev
      #14190 Bump checksum error counter before reporting to ZED
      #14196 Remove atomics from zh_refcount
      #14197 Don't leak packed recieved proprties
      #14198 Switch dnode stats to wmsums
      #14199 Remove few pointer dereferences in dbuf_read()
      #14200 Micro-optimize zrl_remove()
      #14204 Lua: Fix bad bitshift in lua_strx2number()
      #14212 Zstd fixes
      #14218 Avoid a null pointer dereference in zfs_mount() on FreeBSD
      #14235 nopwrites on dmu_sync-ed blocks can result in a panic
      #14236 zio can deadlock during device removal
      #14247 Micro-optimize fletcher4 calculations
      #14261 FreeBSD: zfs_register_callbacks() must implement error check
             correctly
    
    Obtained from:  OpenZFS
    OpenZFS commit: 59493b63c18ea223857066218d6a58b67eb88159

 .../.github/workflows/build-dependencies.txt       |   6 +-
 .../.github/workflows/checkstyle-dependencies.txt  |   5 +
 .../openzfs/.github/workflows/checkstyle.yaml      |   5 +-
 sys/contrib/openzfs/.github/workflows/codeql.yml   |   4 +
 .../.github/workflows/zfs-tests-functional.yml     |   5 +-
 .../openzfs/.github/workflows/zfs-tests-sanity.yml |   5 +-
 sys/contrib/openzfs/.github/workflows/zloop.yml    |   5 +-
 sys/contrib/openzfs/autogen.sh                     |   2 +-
 sys/contrib/openzfs/cmd/zdb/zdb.c                  |   2 +-
 sys/contrib/openzfs/cmd/zed/agents/zfs_mod.c       |  26 ++--
 sys/contrib/openzfs/cmd/zfs/zfs_main.c             |   4 +-
 sys/contrib/openzfs/cmd/zpool/zpool_main.c         |   2 +-
 sys/contrib/openzfs/config/Shellcheck.am           |   3 +-
 .../openzfs/config/always-compiler-options.m4      |  87 +++++++++++++
 sys/contrib/openzfs/config/always-pyzfs.m4         |  10 ++
 sys/contrib/openzfs/config/ax_python_devel.m4      |  51 +++-----
 sys/contrib/openzfs/config/zfs-build.m4            |  30 ++---
 .../openzfs/contrib/bash_completion.d/zfs.in       |  14 +--
 sys/contrib/openzfs/contrib/coverity/model.c       |  10 +-
 .../dracut/02zfsexpandknowledge/module-setup.sh.in |  18 +--
 .../contrib/dracut/90zfs/module-setup.sh.in        |   6 +-
 sys/contrib/openzfs/contrib/initramfs/scripts/zfs  |   4 +-
 .../etc/systemd/system/zfs-import-cache.service.in |   2 +-
 .../etc/systemd/system/zfs-import-scan.service.in  |   2 +-
 sys/contrib/openzfs/include/sys/dnode.h            |  35 +++++-
 sys/contrib/openzfs/include/sys/zfs_acl.h          |   2 +-
 sys/contrib/openzfs/include/sys/zfs_znode.h        |   4 +-
 sys/contrib/openzfs/lib/libnvpair/libnvpair.c      |  15 +++
 sys/contrib/openzfs/lib/libshare/nfs.c             |   1 +
 sys/contrib/openzfs/lib/libtpool/thread_pool.c     |   1 +
 sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c   |  30 +++++
 .../openzfs/lib/libzfs/os/freebsd/libzfs_zmount.c  |  26 ++--
 sys/contrib/openzfs/lib/libzfs_core/libzfs_core.c  |  17 +--
 .../lib/libzfs_core/os/freebsd/libzfs_core_ioctl.c |   2 +-
 sys/contrib/openzfs/lib/libzpool/kernel.c          |   1 +
 sys/contrib/openzfs/man/man1/arcstat.1             |   6 +-
 sys/contrib/openzfs/man/man1/test-runner.1         |   7 +-
 sys/contrib/openzfs/man/man1/zhack.1               |   3 +-
 sys/contrib/openzfs/man/man1/ztest.1               |  11 +-
 sys/contrib/openzfs/man/man4/spl.4                 |   3 +-
 sys/contrib/openzfs/man/man4/zfs.4                 |  86 ++++++++-----
 sys/contrib/openzfs/man/man7/dracut.zfs.7          |  12 +-
 sys/contrib/openzfs/man/man7/zfsconcepts.7         |   3 +-
 sys/contrib/openzfs/man/man7/zfsprops.7            |  31 +++--
 sys/contrib/openzfs/man/man7/zpool-features.7      |  11 +-
 sys/contrib/openzfs/man/man7/zpoolconcepts.7       |  10 +-
 sys/contrib/openzfs/man/man7/zpoolprops.7          |   9 +-
 sys/contrib/openzfs/man/man8/fsck.zfs.8            |   3 +-
 sys/contrib/openzfs/man/man8/vdev_id.8             |   6 +-
 sys/contrib/openzfs/man/man8/zdb.8                 |   6 +-
 sys/contrib/openzfs/man/man8/zed.8.in              |  18 ++-
 sys/contrib/openzfs/man/man8/zfs-allow.8           |   2 +-
 sys/contrib/openzfs/man/man8/zfs-jail.8            |   3 +-
 sys/contrib/openzfs/man/man8/zfs-load-key.8        |   9 +-
 .../openzfs/man/man8/zfs-mount-generator.8.in      |   9 +-
 sys/contrib/openzfs/man/man8/zfs-mount.8           |   3 +-
 sys/contrib/openzfs/man/man8/zfs-project.8         |   3 +-
 sys/contrib/openzfs/man/man8/zfs-promote.8         |   3 +-
 sys/contrib/openzfs/man/man8/zfs-send.8            |  23 ++--
 sys/contrib/openzfs/man/man8/zfs-userspace.8       |   3 +-
 sys/contrib/openzfs/man/man8/zinject.8             |   2 +-
 sys/contrib/openzfs/man/man8/zpool-create.8        |   3 +-
 sys/contrib/openzfs/man/man8/zpool-events.8        |   9 +-
 sys/contrib/openzfs/man/man8/zpool-export.8        |   3 +-
 sys/contrib/openzfs/man/man8/zpool-iostat.8        |   5 +-
 sys/contrib/openzfs/man/man8/zpool-remove.8        |  10 +-
 sys/contrib/openzfs/man/man8/zpool-resilver.8      |   3 +-
 sys/contrib/openzfs/man/man8/zpool-scrub.8         |   4 +-
 sys/contrib/openzfs/man/man8/zpool-split.8         |   3 +-
 sys/contrib/openzfs/man/man8/zpool-status.8        |   3 +-
 sys/contrib/openzfs/man/man8/zpool-upgrade.8       |   3 +-
 sys/contrib/openzfs/man/man8/zpool.8               |  13 +-
 sys/contrib/openzfs/module/Kbuild.in               |   6 +
 sys/contrib/openzfs/module/icp/algs/aes/aes_impl.c |   6 +-
 .../openzfs/module/icp/algs/blake3/blake3.c        |   2 +-
 .../openzfs/module/icp/algs/blake3/blake3_impl.c   |   6 +-
 sys/contrib/openzfs/module/icp/algs/edonr/edonr.c  |   4 +-
 sys/contrib/openzfs/module/icp/algs/modes/gcm.c    |   6 +-
 .../openzfs/module/icp/algs/skein/skein_block.c    |   2 +
 sys/contrib/openzfs/module/lua/ldo.c               |   6 +-
 sys/contrib/openzfs/module/lua/lobject.c           |   2 +-
 .../openzfs/module/os/freebsd/zfs/zfs_acl.c        |   2 +-
 .../openzfs/module/os/freebsd/zfs/zfs_vfsops.c     |  17 +--
 .../openzfs/module/os/freebsd/zfs/zfs_vnops_os.c   |   1 -
 .../openzfs/module/os/linux/spl/spl-generic.c      |   4 +
 sys/contrib/openzfs/module/os/linux/zfs/zfs_acl.c  |   2 +-
 .../openzfs/module/os/linux/zfs/zfs_vnops_os.c     |   2 +-
 .../openzfs/module/os/linux/zfs/zfs_znode.c        |  14 +--
 .../openzfs/module/os/linux/zfs/zio_crypt.c        |  17 +++
 sys/contrib/openzfs/module/zcommon/zfs_fletcher.c  |   4 +-
 .../module/zcommon/zfs_fletcher_aarch64_neon.c     |  18 +--
 .../openzfs/module/zcommon/zfs_fletcher_avx512.c   |  26 ++--
 .../openzfs/module/zcommon/zfs_fletcher_intel.c    |  18 +--
 .../openzfs/module/zcommon/zfs_fletcher_sse.c      |  26 ++--
 .../module/zcommon/zfs_fletcher_superscalar.c      |   8 +-
 .../module/zcommon/zfs_fletcher_superscalar4.c     |   8 +-
 sys/contrib/openzfs/module/zfs/dbuf.c              |  13 +-
 sys/contrib/openzfs/module/zfs/dmu_send.c          |   2 -
 sys/contrib/openzfs/module/zfs/dnode.c             | 135 +++++++++++++++++++--
 sys/contrib/openzfs/module/zfs/dsl_dataset.c       |  15 +++
 sys/contrib/openzfs/module/zfs/spa_misc.c          |   2 +-
 sys/contrib/openzfs/module/zfs/txg.c               |   4 +-
 sys/contrib/openzfs/module/zfs/vdev.c              |   4 +-
 sys/contrib/openzfs/module/zfs/vdev_indirect.c     |   6 +-
 sys/contrib/openzfs/module/zfs/vdev_raidz.c        |  12 +-
 sys/contrib/openzfs/module/zfs/vdev_raidz_math.c   |   6 +-
 .../module/zfs/vdev_raidz_math_aarch64_neonx2.c    |   4 +
 sys/contrib/openzfs/module/zfs/zio.c               |  31 +++--
 sys/contrib/openzfs/module/zfs/zrlock.c            |   8 +-
 .../zstd/lib/compress/zstd_compress_superblock.c   |  16 ++-
 .../zstd/lib/decompress/zstd_decompress_block.c    |  50 ++++----
 sys/contrib/openzfs/rpm/generic/zfs-dkms.spec.in   |   6 +-
 sys/contrib/openzfs/rpm/generic/zfs-kmod.spec.in   |  11 +-
 sys/contrib/openzfs/rpm/generic/zfs.spec.in        |  22 ++--
 sys/contrib/openzfs/scripts/common.sh.in           |  20 +--
 sys/contrib/openzfs/scripts/kmodtool               |  74 +++++------
 sys/contrib/openzfs/scripts/zimport.sh             |  46 +++----
 sys/contrib/openzfs/scripts/zloop.sh               |   2 +-
 sys/contrib/openzfs/tests/runfiles/common.run      |   2 +-
 sys/contrib/openzfs/tests/runfiles/linux.run       |   3 +-
 sys/contrib/openzfs/tests/runfiles/sanity.run      |   4 +
 .../openzfs/tests/test-runner/bin/zts-report.py.in |  11 +-
 .../openzfs/tests/zfs-tests/include/default.cfg.in |   2 +-
 .../openzfs/tests/zfs-tests/tests/Makefile.am      |   2 +
 .../tests/functional/events/zed_cksum_reported.ksh | 124 +++++++++++++++++++
 .../tests/functional/nopwrite/nopwrite.shlib       |   8 +-
 .../tests/functional/pyzfs/pyzfs_unittest.ksh.in   |  16 +--
 .../tests/functional/removal/removal_nopwrite.ksh  |  45 ++++++-
 .../functional/rsend/send_raw_large_blocks.ksh     |  78 ++++++++++++
 sys/modules/zfs/zfs_config.h                       |  18 ++-
 sys/modules/zfs/zfs_gitrev.h                       |   2 +-
 131 files changed, 1221 insertions(+), 576 deletions(-)

diff --cc sys/contrib/openzfs/.github/workflows/checkstyle-dependencies.txt
index 000000000000,879d3dbc5553..879d3dbc5553
mode 000000,100644..100644
--- a/sys/contrib/openzfs/.github/workflows/checkstyle-dependencies.txt
+++ b/sys/contrib/openzfs/.github/workflows/checkstyle-dependencies.txt
diff --cc sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/zed_cksum_reported.ksh
index 000000000000,78acd76c2eeb..78acd76c2eeb
mode 000000,100755..100755
--- a/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/zed_cksum_reported.ksh
+++ b/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/zed_cksum_reported.ksh
diff --cc sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/send_raw_large_blocks.ksh
index 000000000000,39e93a7df3c2..39e93a7df3c2
mode 000000,100755..100755
--- a/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/send_raw_large_blocks.ksh
+++ b/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/send_raw_large_blocks.ksh
diff --cc sys/modules/zfs/zfs_config.h
index 5520a01ceda6,000000000000..2b9a6c97cd7f
mode 100644,000000..100644
--- a/sys/modules/zfs/zfs_config.h
+++ b/sys/modules/zfs/zfs_config.h
@@@ -1,1009 -1,0 +1,1015 @@@
 +/*
 + * $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 */
 +
 +/* add_disk() returns int */
 +/* #undef HAVE_ADD_DISK_RET */
 +
 +/* Define if host toolchain supports AES */
 +#define HAVE_AES 1
 +
 +/* Define if you have [rt] */
 +#define HAVE_AIO_H 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
 +
 +/* bdevname() is available */
 +/* #undef HAVE_BDEVNAME */
 +
 +/* bdev_check_media_change() exists */
 +/* #undef HAVE_BDEV_CHECK_MEDIA_CHANGE */
 +
 +/* bdev_*_io_acct() available */
 +/* #undef HAVE_BDEV_IO_ACCT */
 +
 +/* bdev_kobj() exists */
 +/* #undef HAVE_BDEV_KOBJ */
 +
 +/* bdev_max_discard_sectors() is available */
 +/* #undef HAVE_BDEV_MAX_DISCARD_SECTORS */
 +
 +/* bdev_max_secure_erase_sectors() is available */
 +/* #undef HAVE_BDEV_MAX_SECURE_ERASE_SECTORS */
 +
 +/* block_device_operations->submit_bio() returns void */
 +/* #undef HAVE_BDEV_SUBMIT_BIO_RETURNS_VOID */
 +
 +/* bdev_whole() is available */
 +/* #undef HAVE_BDEV_WHOLE */
 +
 +/* bio_alloc() takes 4 arguments */
 +/* #undef HAVE_BIO_ALLOC_4ARG */
 +
 +/* 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_dev() is a macro */
 +/* #undef HAVE_BIO_SET_DEV_MACRO */
 +
 +/* bio_set_op_attrs is available */
 +/* #undef HAVE_BIO_SET_OP_ATTRS */
 +
 +/* blkdev_get_by_path() handles ERESTARTSYS */
 +/* #undef HAVE_BLKDEV_GET_ERESTARTSYS */
 +
 +/* blkdev_issue_discard() is available */
 +/* #undef HAVE_BLKDEV_ISSUE_DISCARD */
 +
 +/* blkdev_issue_secure_erase() is available */
 +/* #undef HAVE_BLKDEV_ISSUE_SECURE_ERASE */
 +
 +/* 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_cleanup_disk() exists */
 +/* #undef HAVE_BLK_CLEANUP_DISK */
 +
 +/* block multiqueue is available */
 +/* #undef HAVE_BLK_MQ */
 +
 +/* blk queue backing_dev_info is dynamic */
 +/* #undef HAVE_BLK_QUEUE_BDI_DYNAMIC */
 +
 +/* blk_queue_discard() is available */
 +/* #undef HAVE_BLK_QUEUE_DISCARD */
 +
 +/* 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_update_readahead() exists */
 +/* #undef HAVE_BLK_QUEUE_UPDATE_READAHEAD */
 +
 +/* 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 */
 +
 +/* dentry aliases are in d_u member */
 +/* #undef HAVE_DENTRY_D_U_ALIASES */
 +
 +/* dequeue_signal() takes 4 arguments */
 +/* #undef HAVE_DEQUEUE_SIGNAL_4ARG */
 +
 +/* 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 */
 +
 +/* disk_update_readahead() exists */
 +/* #undef HAVE_DISK_UPDATE_READAHEAD */
 +
 +/* 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 */
 +
 +/* FALLOC_FL_ZERO_RANGE is defined */
 +/* #undef HAVE_FALLOC_FL_ZERO_RANGE */
 +
 +/* fault_in_iov_iter_readable() is available */
 +/* #undef HAVE_FAULT_IN_IOV_ITER_READABLE */
 +
 +/* fops->aio_fsync() exists */
 +/* #undef HAVE_FILE_AIO_FSYNC */
 +
 +/* file_dentry() is available */
 +/* #undef HAVE_FILE_DENTRY */
 +
 +/* fops->fadvise() exists */
 +/* #undef HAVE_FILE_FADVISE */
 +
 +/* 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 */
 +
++/* Define if compiler supports -Wformat-overflow */
++/* #undef HAVE_FORMAT_OVERFLOW  */
++
 +/* fops->fsync() with range */
 +/* #undef HAVE_FSYNC_RANGE */
 +
 +/* fops->fsync() without dentry */
 +/* #undef HAVE_FSYNC_WITHOUT_DENTRY */
 +
 +/* yes */
 +/* #undef HAVE_GENERIC_FADVISE */
 +
 +/* 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_acl() exists */
 +/* #undef HAVE_GET_ACL */
 +
 +/* iops->get_acl() takes rcu */
 +/* #undef HAVE_GET_ACL_RCU */
 +
 +/* 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 */
 +
 +/* iattr->ia_vfsuid and iattr->ia_vfsgid exist */
 +/* #undef HAVE_IATTR_VFSID */
 +
 +/* Define if you have the iconv() function and it works. */
 +#define HAVE_ICONV 1
 +
 +/* APIs for idmapped mount are present */
 +/* #undef HAVE_IDMAP_MNT_API */
 +
++/* Define if compiler supports -Wimplicit-fallthrough */
++/* #undef HAVE_IMPLICIT_FALLTHROUGH */
++
 +/* Define if compiler supports -Winfinite-recursion */
 +/* #undef HAVE_INFINITE_RECURSION */
 +
 +/* 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->permission() takes struct user_namespace* */
 +/* #undef HAVE_IOPS_PERMISSION_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_type() is available */
 +/* #undef HAVE_IOV_ITER_TYPE */
 +
 +/* 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 */
 +
 +/* kernel has asm/fpu/internal.h */
 +/* #undef HAVE_KERNEL_FPU_INTERNAL_HEADER */
 +
 +/* uncached_acl_sentinel() exists */
 +/* #undef HAVE_KERNEL_GET_ACL_HANDLE_CACHE */
 +
++/* Define if compiler supports -Winfinite-recursion */
++/* #undef HAVE_KERNEL_INFINITE_RECURSION */
++
 +/* 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 */
 +
 +/* linux/blk-cgroup.h exists */
 +/* #undef HAVE_LINUX_BLK_CGROUP_HEADER */
 +
 +/* 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 */
 +
 +/* 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 */
 +
 +/* folio_wait_bit() exists */
 +/* #undef HAVE_PAGEMAP_FOLIO_WAIT_BIT */
 +
 +/* part_to_dev() exists */
 +/* #undef HAVE_PART_TO_DEV */
 +
 +/* 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 */
 +
 +/* register_shrinker is vararg */
 +/* #undef HAVE_REGISTER_SHRINKER_VARARG */
 +
 +/* iops->rename2() exists */
 +/* #undef HAVE_RENAME2 */
 +
 +/* struct inode_operations_wrapper takes .rename2() */
 +/* #undef HAVE_RENAME2_OPERATIONS_WRAPPER */
 +
 +/* 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 */
 +
 +/* cs->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 */
 +
 +/* standalone <linux/stdarg.h> exists */
 +/* #undef HAVE_STANDALONE_LINUX_STDARG */
 +
 +/* Define to 1 if you have the <stdint.h> header file. */
 +#define HAVE_STDINT_H 1
 +
 +/* Define to 1 if you have the <stdio.h> header file. */
 +#define HAVE_STDIO_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 */
 +
 +/* struct kobj_type has default_groups */
 +/* #undef HAVE_SYSFS_DEFAULT_GROUPS */
 +
 +/* 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 */
 +
 +/* user_namespace->ns.inum exists */
 +/* #undef HAVE_USER_NS_COMMON_INUM */
 +
 +/* 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 */
 +
 +/* filemap_dirty_folio exists */
 +/* #undef HAVE_VFS_FILEMAP_DIRTY_FOLIO */
*** 232 LINES SKIPPED ***