The branch stable/14 has been updated by mm:

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

commit f7f5c2419ea7e66460fe33bc6a5588842fd5312c
Merge: 0c0d524e5e6c 55dd24c4ccee
Author:     Martin Matuska <m...@freebsd.org>
AuthorDate: 2023-11-22 11:43:59 +0000
Commit:     Martin Matuska <m...@freebsd.org>
CommitDate: 2023-11-22 11:43:59 +0000

    zfs: merge openzfs/zfs@55dd24c4c (zfs-2.2-release) into stable/14
    
    OpenZFS release 2.2.1
    
    Notable upstream pull request merges:
    
     #14378 6d693e20a Large sync writes perform worse with slog
     #15243 78fd79eac Add zfs_prepare_disk script for disk firmware install
     #15356 b76724ae4 FreeBSD: Improve taskq wrapper
     #15360 f9a9aea12 Add mutex_enter_interruptible() for interruptible
                      sleeping IOCTLs
     #15371 e82e68400 DMU: Do not pre-read holes during write
     #15390 79f7de575 Remove lock from dsl_pool_need_dirty_delay()
     #15397 6e41aca51 Trust ARC_BUF_SHARED() more
     #15402 eaa62d995 Properly pad struct tx_cpu to cache line
     #15405 1cc1bf4fa Set spa_ccw_fail_time=0 when expanding a vdev
     #15416 edebca5df FreeBSD: taskq: Remove unused declaration
     #15451 7aef672b7 Read prefetched buffers from L2ARC
     #15452 bd7a02c25 Tune zio buffer caches and their alignments
     #15456 3ec4ea68d Unify arc_prune_async() code
     #15465 459c99ff2 Fix block cloning between unencrypted and encrypted
                      datasets
     #15478 76663fe37 Fix accounting error for pending sync IO ops in zpool
                      iostat
     #15529 87e9e8286 Add a tunable to disable BRT support
    
    Obtained from:  OpenZFS
    OpenZFS commit: 55dd24c4ccee2da61d5396289ef560f9b7bc6a68
    OpenZFS tag:    zfs-2.2.1

 cddl/lib/libzfs/Makefile                           |   2 +-
 cddl/usr.libexec/Makefile                          |   1 +
 cddl/usr.libexec/zfs_prepare_disk/Makefile         |  19 ++
 sys/contrib/openzfs/.gitignore                     |   1 +
 sys/contrib/openzfs/META                           |   4 +-
 sys/contrib/openzfs/cmd/arc_summary                |   2 +-
 sys/contrib/openzfs/cmd/zed/agents/zfs_mod.c       |  96 ++++++++--
 .../openzfs/cmd/zpool/compatibility.d/grub2        |   9 +
 .../cmd/zpool/compatibility.d/openzfsonosx-1.8.1   |   1 -
 sys/contrib/openzfs/cmd/zpool/zpool_iter.c         |  33 +---
 sys/contrib/openzfs/cmd/zpool/zpool_util.h         |   4 +
 sys/contrib/openzfs/cmd/zpool/zpool_vdev.c         |  43 ++++-
 sys/contrib/openzfs/config/Rules.am                |   1 +
 sys/contrib/openzfs/config/kernel-fsync-bdev.m4    |  36 ++++
 .../openzfs/config/kernel-generic_fillattr.m4      |  39 ++++-
 sys/contrib/openzfs/config/kernel-inode-times.m4   |  43 +++++
 sys/contrib/openzfs/config/kernel.m4               |   2 +
 sys/contrib/openzfs/configure.ac                   |   1 +
 .../contrib/debian/{changelog => changelog.in}     |   6 +
 sys/contrib/openzfs/contrib/debian/control         |   1 -
 .../contrib/debian/openzfs-zfsutils.install        |   2 +
 sys/contrib/openzfs/include/libzfs.h               |   9 +
 sys/contrib/openzfs/include/libzutil.h             |   2 +-
 .../openzfs/include/os/freebsd/spl/sys/mutex.h     |   1 +
 .../openzfs/include/os/freebsd/spl/sys/taskq.h     |  18 +-
 .../include/os/linux/kernel/linux/vfs_compat.h     |   6 +
 .../openzfs/include/os/linux/spl/sys/kmem_cache.h  |   2 +-
 .../openzfs/include/os/linux/spl/sys/mutex.h       |  21 ++-
 sys/contrib/openzfs/include/os/linux/spl/sys/uio.h |   8 -
 .../include/os/linux/zfs/sys/zfs_vfsops_os.h       |   2 +
 .../include/os/linux/zfs/sys/zfs_vnops_os.h        |   5 +
 sys/contrib/openzfs/include/os/linux/zfs/sys/zpl.h |  13 +-
 sys/contrib/openzfs/include/sys/arc.h              |   2 +-
 sys/contrib/openzfs/include/sys/arc_impl.h         |   1 -
 sys/contrib/openzfs/include/sys/spa.h              |   2 +-
 sys/contrib/openzfs/include/sys/txg_impl.h         |   3 +-
 sys/contrib/openzfs/include/sys/vdev_impl.h        |   5 +-
 sys/contrib/openzfs/include/sys/vdev_raidz_impl.h  |   4 +-
 sys/contrib/openzfs/include/sys/zfs_context.h      |   2 +
 sys/contrib/openzfs/lib/libzfs/libzfs.abi          |   4 +
 sys/contrib/openzfs/lib/libzfs/libzfs_util.c       | 193 +++++++++++++++++++++
 sys/contrib/openzfs/lib/libzpool/kernel.c          |   9 +
 .../lib/libzutil/os/linux/zutil_import_os.c        |   5 +-
 sys/contrib/openzfs/man/Makefile.am                |   1 +
 sys/contrib/openzfs/man/man4/zfs.4                 |  64 ++++++-
 sys/contrib/openzfs/man/man7/zpool-features.7      |   9 +
 sys/contrib/openzfs/man/man8/.gitignore            |   1 +
 sys/contrib/openzfs/man/man8/zfs_prepare_disk.8.in |  70 ++++++++
 sys/contrib/openzfs/module/Kbuild.in               |   4 +
 .../openzfs/module/os/freebsd/spl/spl_taskq.c      |  76 ++++----
 sys/contrib/openzfs/module/os/freebsd/zfs/arc_os.c |  62 -------
 .../openzfs/module/os/freebsd/zfs/zfs_vfsops.c     |  34 +++-
 sys/contrib/openzfs/module/os/linux/zfs/arc_os.c   |  51 ------
 .../openzfs/module/os/linux/zfs/zfs_ctldir.c       |   2 +-
 sys/contrib/openzfs/module/os/linux/zfs/zfs_uio.c  |  29 ----
 .../openzfs/module/os/linux/zfs/zfs_vfsops.c       |   2 +-
 .../openzfs/module/os/linux/zfs/zfs_vnops_os.c     |  29 +++-
 .../openzfs/module/os/linux/zfs/zfs_znode.c        |  18 +-
 .../openzfs/module/os/linux/zfs/zpl_ctldir.c       |  11 +-
 .../openzfs/module/os/linux/zfs/zpl_file_range.c   |   5 +
 .../openzfs/module/os/linux/zfs/zpl_inode.c        |   6 +-
 .../openzfs/module/os/linux/zfs/zpl_super.c        |   2 +-
 .../openzfs/module/os/linux/zfs/zpl_xattr.c        |   7 +-
 sys/contrib/openzfs/module/os/linux/zfs/zvol_os.c  |  18 ++
 sys/contrib/openzfs/module/zfs/arc.c               |  98 ++++++++---
 sys/contrib/openzfs/module/zfs/dmu_tx.c            |   8 +-
 sys/contrib/openzfs/module/zfs/dsl_pool.c          |  14 +-
 sys/contrib/openzfs/module/zfs/spa_config.c        |  17 +-
 sys/contrib/openzfs/module/zfs/vdev_queue.c        |   7 +-
 sys/contrib/openzfs/module/zfs/zfs_ioctl.c         |   5 +-
 sys/contrib/openzfs/module/zfs/zil.c               |   2 +-
 sys/contrib/openzfs/module/zfs/zio.c               |  89 +++++-----
 sys/contrib/openzfs/rpm/generic/zfs-dkms.spec.in   |  90 +++++++++-
 sys/contrib/openzfs/scripts/Makefile.am            |   2 +
 sys/contrib/openzfs/scripts/zfs_prepare_disk       |  17 ++
 sys/contrib/openzfs/tests/runfiles/linux.run       |   8 +-
 .../openzfs/tests/test-runner/bin/zts-report.py.in |   1 +
 .../openzfs/tests/zfs-tests/include/commands.cfg   |   9 +-
 .../openzfs/tests/zfs-tests/include/libtest.shlib  |  21 +++
 .../openzfs/tests/zfs-tests/include/tunables.cfg   |   3 +-
 .../openzfs/tests/zfs-tests/tests/Makefile.am      |   1 +
 .../tests/functional/block_cloning/cleanup.ksh     |   4 +
 .../tests/functional/block_cloning/setup.ksh       |   5 +
 .../zpool_create/zpool_create_features_007_pos.ksh |  10 +-
 .../tests/functional/cli_user/misc/misc.cfg        |   4 +-
 .../functional/fault/auto_replace_001_pos.ksh      |  41 ++++-
 .../functional/fault/auto_replace_002_pos.ksh      | 192 ++++++++++++++++++++
 .../tests/functional/procfs/pool_state.ksh         |   6 +-
 sys/modules/zfs/zfs_config.h                       |  23 ++-
 sys/modules/zfs/zfs_gitrev.h                       |   2 +-
 90 files changed, 1411 insertions(+), 432 deletions(-)

diff --cc cddl/lib/libzfs/Makefile
index 6f8965e4c14a,000000000000..ee57c30cc6ca
mode 100644,000000..100644
--- a/cddl/lib/libzfs/Makefile
+++ b/cddl/lib/libzfs/Makefile
@@@ -1,107 -1,0 +1,107 @@@
 +
 +.PATH: ${SRCTOP}/sys/contrib/openzfs/module/icp
 +.PATH: ${SRCTOP}/sys/contrib/openzfs/module/zcommon
 +.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfs
 +.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfs/os/freebsd
 +.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libshare
 +.PATH: ${SRCTOP}/sys/contrib/openzfs/include
 +.PATH: ${SRCTOP}/sys/contrib/openzfs/module/zstd
 +.PATH: ${SRCTOP}/sys/contrib/openzfs/module/zstd/lib
 +
 +PACKAGE=      zfs
 +LIB=  zfs
 +LIBADD= \
 +      avl \
 +      bsdxml \
 +      crypto \
 +      geom \
 +      m \
 +      md \
 +      nvpair \
 +      pthread \
 +      rt \
 +      umem \
 +      util \
 +      uutil \
 +      z \
 +      zfs_core \
 +      zutil
 +
 +INCS= libzfs.h
 +USER_C = \
 +        libzfs_changelist.c \
 +        libzfs_config.c \
 +        libzfs_crypto.c \
 +        libzfs_dataset.c \
 +        libzfs_diff.c \
 +        libzfs_import.c \
 +        libzfs_iter.c \
 +        libzfs_mount.c \
 +        libzfs_pool.c \
 +        libzfs_sendrecv.c \
 +        libzfs_status.c \
 +        libzfs_util.c
 +
 +# FreeBSD
 +USER_C += \
 +        libzfs_compat.c \
 +        libzfs_zmount.c
 +
 +# libshare
 +USER_C += \
 +      libshare.c \
 +      nfs.c \
 +      os/freebsd/nfs.c \
 +      os/freebsd/smb.c
 +
 +KERNEL_C = \
 +        cityhash.c \
 +        zfeature_common.c \
 +        zfs_comutil.c \
 +        zfs_deleg.c \
 +        zfs_fletcher.c \
 +        zfs_fletcher_superscalar.c \
 +        zfs_fletcher_superscalar4.c \
 +        zfs_namecheck.c \
 +        zfs_prop.c \
 +        zpool_prop.c \
 +        zprop_common.c
 +
 +
 +ARCH_C =
 +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
 +ARCH_C +=     zfs_fletcher_intel.c \
 +              zfs_fletcher_sse.c 
 +CFLAGS +=  -DHAVE_SSE2
 +.endif
 +.if ${MACHINE_ARCH} == "amd64"
 +ARCH_C +=     zfs_fletcher_avx512.c
 +CFLAGS+= -DHAVE_AVX2 -DHAVE_AVX -D__x86_64 -DHAVE_AVX512F
 +.endif
 +.if ${MACHINE_CPUARCH} == "aarch64"
 +ARCH_C +=     zfs_fletcher_aarch64_neon.c
 +.endif
 +
 +SRCS= $(USER_C) $(KERNEL_C) $(ARCH_C)
 +
 +WARNS?=       2
 +SHLIB_MAJOR= 4
 +CSTD= c99
 +CFLAGS+= -DIN_BASE
 +CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
 +CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd
 +CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include
 +CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
 +CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libshare
 +CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include
 +CFLAGS+= -I${SRCTOP}/sys
 +CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
 +CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include
 +CFLAGS+= -include 
${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
 +CFLAGS+= -DHAVE_ISSETUGID
 +CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
 +CFLAGS+= -DSYSCONFDIR=\"/etc\"
 +CFLAGS+= -DPKGDATADIR=\"/usr/share/zfs\"
- 
++CFLAGS+= -DZFSEXECDIR=\"${LIBEXECDIR}/zfs\"
 +
 +.include <bsd.lib.mk>
diff --cc cddl/usr.libexec/Makefile
index 692f16d33717,000000000000..9eb4872b69d5
mode 100644,000000..100644
--- a/cddl/usr.libexec/Makefile
+++ b/cddl/usr.libexec/Makefile
@@@ -1,9 -1,0 +1,10 @@@
 +
 +.include <src.opts.mk>
 +
 +SUBDIR.${MK_ZFS}+= \
++      zfs_prepare_disk \
 +      zpool_influxdb
 +
 +SUBDIR_PARALLEL=
 +
 +.include <bsd.subdir.mk>
diff --cc cddl/usr.libexec/zfs_prepare_disk/Makefile
index 000000000000,000000000000..0efb4452829d
new file mode 100644
--- /dev/null
+++ b/cddl/usr.libexec/zfs_prepare_disk/Makefile
@@@ -1,0 -1,0 +1,19 @@@
++ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
++
++.PATH: ${ZFSTOP}/scripts
++
++PACKAGE=      zfs
++SCRIPTS=      zfs_prepare_disk
++SCRIPTSDIR=   ${LIBEXECDIR}/zfs
++
++.PATH: ${ZFSTOP}/man/man8
++MAN=          zfs_prepare_disk.8
++
++CLEANFILES+=  zfs_prepare_disk.8
++
++zfs_prepare_disk.8: zfs_prepare_disk.8.in
++      sed ${MAN_SUB} ${.ALLSRC} >${.TARGET}
++
++MAN_SUB+=     -e 's|@zfsexecdir@|${LIBEXECDIR}/zfs|g'
++
++.include <bsd.prog.mk>
diff --cc sys/contrib/openzfs/.gitignore
index 47d17ae16d34,000000000000..a2cb92dd5406
mode 100644,000000..100644
--- a/sys/contrib/openzfs/.gitignore
+++ b/sys/contrib/openzfs/.gitignore
@@@ -1,89 -1,0 +1,90 @@@
 +#
 +# This is the top-level .gitignore file:
 +# ignore everything except a list of allowed files.
 +#
 +# This is not the place for entries that are specific to
 +# a subdirectory.  Instead add those files to the
 +# .gitignore file in that subdirectory.
 +#
 +# N.B.
 +# Please use 'git ls-files -i --exclude-standard'
 +# command after changing this file, to see if there are
 +# any tracked files which get ignored after the change.
 +
 +*
 +
 +!.github
 +!cmd
 +!config
 +!contrib
 +!etc
 +!include
 +!lib
 +!man
 +!module
 +!rpm
 +!scripts
 +!tests
 +!udev
 +
 +!.github/**
 +!cmd/**
 +!config/**
 +!contrib/**
 +!etc/**
 +!include/**
 +!lib/**
 +!man/**
 +!module/**
 +!rpm/**
 +!scripts/**
 +!tests/**
 +!udev/**
 +
 +!.editorconfig
 +!.cirrus.yml
 +!.gitignore
 +!.gitmodules
 +!.mailmap
 +!AUTHORS
 +!autogen.sh
 +!CODE_OF_CONDUCT.md
 +!configure.ac
 +!copy-builtin
 +!COPYRIGHT
 +!LICENSE
 +!Makefile.am
 +!META
 +!NEWS
 +!NOTICE
 +!README.md
 +!RELEASES.md
 +!TEST
 +!zfs.release.in
 +
 +#
 +# Normal rules
 +#
 +*.[oa]
 +*.o.ur-safe
 +*.lo
 +*.la
 +*.mod.c
 +*~
 +*.swp
 +*.gcno
 +*.gcda
 +*.pyc
 +*.pyo
 +.deps
 +.libs
 +.dirstamp
 +.DS_Store
 +modules.order
 +Makefile
 +Makefile.in
++changelog
 +*.patch
 +*.orig
 +*.tmp
 +*.log
diff --cc sys/contrib/openzfs/config/kernel-fsync-bdev.m4
index 000000000000,c47e236f705f..c47e236f705f
mode 000000,100644..100644
--- a/sys/contrib/openzfs/config/kernel-fsync-bdev.m4
+++ b/sys/contrib/openzfs/config/kernel-fsync-bdev.m4
diff --cc sys/contrib/openzfs/man/man8/zfs_prepare_disk.8.in
index 000000000000,2a741531e415..2a741531e415
mode 000000,100644..100644
--- a/sys/contrib/openzfs/man/man8/zfs_prepare_disk.8.in
+++ b/sys/contrib/openzfs/man/man8/zfs_prepare_disk.8.in
diff --cc sys/contrib/openzfs/scripts/zfs_prepare_disk
index 000000000000,02aa9f8a7728..02aa9f8a7728
mode 000000,100755..100755
--- a/sys/contrib/openzfs/scripts/zfs_prepare_disk
+++ b/sys/contrib/openzfs/scripts/zfs_prepare_disk
diff --cc 
sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/auto_replace_002_pos.ksh
index 000000000000,2259e604317b..2259e604317b
mode 000000,100755..100755
--- 
a/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/auto_replace_002_pos.ksh
+++ 
b/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/auto_replace_002_pos.ksh
diff --cc sys/modules/zfs/zfs_config.h
index 9c423a3e3e36,000000000000..02f5116f3eb3
mode 100644,000000..100644
--- a/sys/modules/zfs/zfs_config.h
+++ b/sys/modules/zfs/zfs_config.h
@@@ -1,1134 -1,0 +1,1149 @@@
 +/*
 + */
 +
 +/* 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_63 */
 +
 +/* bdev_*_io_acct() available */
 +/* #undef HAVE_BDEV_IO_ACCT_OLD */
 +
 +/* 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() exists and takes 4 args */
 +/* #undef HAVE_BLKDEV_GET_BY_PATH_4ARG */
 +
 +/* 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_put() accepts void* as arg 2 */
 +/* #undef HAVE_BLKDEV_PUT_HOLDER */
 +
 +/* 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 */
 +
 +/* blk_mode_t is defined */
 +/* #undef HAVE_BLK_MODE_T */
 +
 +/* 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 */
 +
 +/* BLK_STS_RESV_CONFLICT is defined */
 +/* #undef HAVE_BLK_STS_RESV_CONFLICT */
 +
 +/* Define if release() in block_device_operations takes 1 arg */
 +/* #undef HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_1ARG */
 +
 +/* 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_splice_read exists */
 +/* #undef HAVE_COPY_SPLICE_READ */
 +
 +/* copy_to_iter() is available */
 +/* #undef HAVE_COPY_TO_ITER */
 +
 +/* cpu_has_feature() is GPL-only */
 +/* #undef HAVE_CPU_HAS_FEATURE_GPL_ONLY */
 +
 +/* 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_check_media_change() exists */
 +/* #undef HAVE_DISK_CHECK_MEDIA_CHANGE */
 +
 +/* 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 */
 +
 +/* filemap_range_has_page() is available */
 +/* #undef HAVE_FILEMAP_RANGE_HAS_PAGE */
 +
 +/* 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 */
 +
 +/* flush_dcache_page() is GPL-only */
 +/* #undef HAVE_FLUSH_DCACHE_PAGE_GPL_ONLY */
 +
 +/* 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 */
 +
++/* fsync_bdev() is declared in include/blkdev.h */
++/* #undef HAVE_FSYNC_BDEV */
++
 +/* 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 mnt_idmap* */
 +/* #undef HAVE_GENERIC_FILLATTR_IDMAP */
 +
++/* generic_fillattr requires struct mnt_idmap* and u32 request_mask */
++/* #undef HAVE_GENERIC_FILLATTR_IDMAP_REQMASK */
++
 +/* 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 */
 +
 +/* has iops->get_inode_acl() */
 +/* #undef HAVE_GET_INODE_ACL */
 +
 +/* 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
 +
 +/* iops->getattr() takes struct mnt_idmap* */
 +/* #undef HAVE_IDMAP_IOPS_GETATTR */
 +
 +/* iops->setattr() takes struct mnt_idmap* */
 +/* #undef HAVE_IDMAP_IOPS_SETATTR */
 +
 +/* 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 */
 +
++/* inode_get_ctime() exists in linux/fs.h */
++/* #undef HAVE_INODE_GET_CTIME */
++
 +/* yes */
 +/* #undef HAVE_INODE_LOCK_SHARED */
 +
 +/* inode_owner_or_capable() exists */
 +/* #undef HAVE_INODE_OWNER_OR_CAPABLE */
 +
 +/* inode_owner_or_capable() takes mnt_idmap */
 +/* #undef HAVE_INODE_OWNER_OR_CAPABLE_IDMAP */
 +
 +/* inode_owner_or_capable() takes user_ns */
 +/* #undef HAVE_INODE_OWNER_OR_CAPABLE_USERNS */
 +
++/* inode_set_ctime_to_ts() exists in linux/fs.h */
++/* #undef HAVE_INODE_SET_CTIME_TO_TS */
++
 +/* 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 mnt_idmap* */
 +/* #undef HAVE_IOPS_CREATE_IDMAP */
 +
 +/* iops->create() takes struct user_namespace* */
 +/* #undef HAVE_IOPS_CREATE_USERNS */
 +
 +/* iops->mkdir() takes struct mnt_idmap* */
 +/* #undef HAVE_IOPS_MKDIR_IDMAP */
 +
 +/* iops->mkdir() takes struct user_namespace* */
 +/* #undef HAVE_IOPS_MKDIR_USERNS */
 +
 +/* iops->mknod() takes struct mnt_idmap* */
 +/* #undef HAVE_IOPS_MKNOD_IDMAP */
 +
 +/* iops->mknod() takes struct user_namespace* */
 +/* #undef HAVE_IOPS_MKNOD_USERNS */
 +
 +/* iops->permission() takes struct mnt_idmap* */
 +/* #undef HAVE_IOPS_PERMISSION_IDMAP */
 +
 +/* iops->permission() takes struct user_namespace* */
 +/* #undef HAVE_IOPS_PERMISSION_USERNS */
 +
 +/* iops->rename() takes struct mnt_idmap* */
 +/* #undef HAVE_IOPS_RENAME_IDMAP */
 +
 +/* iops->rename() takes struct user_namespace* */
 +/* #undef HAVE_IOPS_RENAME_USERNS */
 +
 +/* iops->setattr() exists */
 +/* #undef HAVE_IOPS_SETATTR */
 +
 +/* iops->symlink() takes struct mnt_idmap* */
 +/* #undef HAVE_IOPS_SYMLINK_IDMAP */
 +
 +/* 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
 +
 +/* iter_iov() is available */
 +/* #undef HAVE_ITER_IOV */
 +
 +/* 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 */
 +
*** 585 LINES SKIPPED ***

Reply via email to