opnsense-src/sys/contrib/openzfs/config/kernel-commit-metadata.m4
Martin Matuska 81be5a55d9 zfs: merge openzfs/zfs@c883088df (zfs-2.2-release) into stable/14
OpenZFS release 2.2.3

Notable upstream pull request merges:
 #15428 2a59b6bfa ABD: Be more assertive in iterators
 #15486 c34fe8dcb Update the kstat dataset_name when renaming a zvol
 #15495 f13593619 FreeBSD: Optimize large kstat outputs
 #15517 ad47eca19 ZIL: Assert record sizes in different places
 #15519 2e259c6f0 L2ARC: Restrict write size to 1/4 of the device
 #15544 121924575 Allow block cloning across encrypted datasets
 #15553 e48195c81 ZIO: Add overflow checks for linear buffers
 #15612 3b8f22736 ZIL: Remove TX_CLONE_RANGE replay for ZVOLs
 #15617 e11b3eb1c ZIL: Do not clone blocks from the future
 #15625 e09356fa0 BRT: Limit brt_vdev_dump() to only one vdev
 #15629 dea2d3c6c zdb: Dump encrypted write and clone ZIL records
 #15630 3425484eb Fix file descriptor leak on pool import
 #15634 1e1d748ca ZIL: Remove 128K into 2x68K LWB split optimization
 #15644 b13c91bb2 DMU: Fix lock leak on dbuf_hold() error
 #15653 a701548eb dbuf: Handle arcbuf assignment after block cloning
 #15656 9c40ae021 dbuf: Set dr_data when unoverriding after clone
 #15660 4db88c37c fix(mount): do not truncate shares not zfs mount
 #15665 c0c4866f8 dmu: Allow buffer fills to fail
 #15675 db2db50e3 spa: make read/write queues configurable
 #15677 f71c16a66 Don't panic on unencrypted block in encrypted dataset
 #15719 9181e94f0 spa: Fix FreeBSD sysctl handlers
 #15719 a00231a3f spa: Let spa_taskq_param_get()'s addition of a newline be optional
 #15721 4d4972ed9 Stop wasting time on malloc in snprintf_zstd_header
 #15726 7bccf98a7 Make zdb -R scale less poorly
 #15732 ac592318b Fix livelist assertions for dedup and cloning
 #15735 152a775ea Improve block sizes checks during cloning
 #15737 52cee9a3e fix: Uber block label not always found for aux vdevs
 #15737 eb4a36bce Extend aux label to add path information
 #15737 a2e71db66 Add path handling for aux vdevs in `label_path`
 #15747 2006ac1f4 Fix "out of memory" error
 #15752 8b1c6db3d Fix a potential use-after-free in zfs_setsecattr()
 #15769 40e20d808 Add 'zpool status -e' flag to see unhealthy vdevs
 #15772 ef527958c Fix cloning into mmaped and cached file
 #15780 09a796136 FreeBSD: Fix bootstrapping tools under Linux/musl
 #15781 07cf973fe Autotrim High Load Average Fix
 #15783 c1161e285 fix: variable type with zfs-tests/cmd/clonefile.c
 #15816 dd3a0a271 Update vdev devid and physpath if changed between imports
 #15818 ab653603f Don't assert mg_initialized due to device addition race
 #15823 acc7cd8e9 Update man pages to time(1) from time(2)
 #15825 0606ce205 zpool wait: print timestamp before the header
 #15847 d22bf6a9b LUA: Backport CVE-2020-24370's patch
 #15864 36116b461 zfs list: add '-t fs' and '-t vol' options
 #15874 fc3d34bd0 BRT: Fix slop space calculation with block cloning
 #15882 a4978d260 zdb: Fix false leak report for BRT objects

Obtained from:	OpenZFS
OpenZFS commit:	c883088df8
OpenZFS tag:	zfs-2.2.3
2024-02-23 19:37:36 +01:00

24 lines
817 B
Text

dnl #
dnl # 2.6.33 API change
dnl # Added eops->commit_metadata() callback to allow the underlying
dnl # filesystem to determine the most efficient way to commit the inode.
dnl # Prior to this the nfs server would issue an explicit fsync().
dnl #
AC_DEFUN([ZFS_AC_KERNEL_SRC_COMMIT_METADATA], [
ZFS_LINUX_TEST_SRC([export_operations_commit_metadata], [
#include <linux/exportfs.h>
static int commit_metadata(struct inode *inode) { return 0; }
static struct export_operations eops __attribute__ ((unused))={
.commit_metadata = commit_metadata,
};
],[])
])
AC_DEFUN([ZFS_AC_KERNEL_COMMIT_METADATA], [
AC_MSG_CHECKING([whether eops->commit_metadata() exists])
ZFS_LINUX_TEST_RESULT([export_operations_commit_metadata], [
AC_MSG_RESULT(yes)
],[
ZFS_LINUX_TEST_ERROR([eops->commit_metadata()])
])
])