mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
![Martin Matuska](/assets/img/avatar_default.png)
Notable upstream pull request merges:
#13725 Fix BLAKE3 tuneable and module loading on Linux and FreeBSD
#13756 FreeBSD: Organize sysctls
#13773 FreeBSD: add kqfilter support for zvol cdev
#13781 Importing from cachefile can trip assertion
#13794 Apply arc_shrink_shift to ARC above arc_c_min
#13798 Improve too large physical ashift handling
#13799 Revert "Avoid panic with recordsize > 128k, raw sending and
no large_blocks"
#13802 Add zfs.sync.snapshot_rename
#13831 zfs_enter rework
#13855 zfs recv hangs if max recordsize is less than received
recordsize
Obtained from: OpenZFS
OpenZFS commit: c629f0bf62
28 lines
787 B
Plaintext
28 lines
787 B
Plaintext
dnl #
|
|
dnl # 5.3 API change
|
|
dnl # The generic_fadvise() function is present since 4.19 kernel
|
|
dnl # but it was not exported until Linux 5.3.
|
|
dnl #
|
|
AC_DEFUN([ZFS_AC_KERNEL_SRC_GENERIC_FADVISE], [
|
|
ZFS_LINUX_TEST_SRC([generic_fadvise], [
|
|
#include <linux/fs.h>
|
|
], [
|
|
struct file *fp __attribute__ ((unused)) = NULL;
|
|
loff_t offset __attribute__ ((unused)) = 0;
|
|
loff_t len __attribute__ ((unused)) = 0;
|
|
int advise __attribute__ ((unused)) = 0;
|
|
generic_fadvise(fp, offset, len, advise);
|
|
])
|
|
])
|
|
|
|
AC_DEFUN([ZFS_AC_KERNEL_GENERIC_FADVISE], [
|
|
AC_MSG_CHECKING([whether generic_fadvise() is available])
|
|
ZFS_LINUX_TEST_RESULT_SYMBOL([generic_fadvise],
|
|
[generic_fadvise], [mm/fadvise.c], [
|
|
AC_MSG_RESULT(yes)
|
|
AC_DEFINE(HAVE_GENERIC_FADVISE, 1, [yes])
|
|
],[
|
|
AC_MSG_RESULT(no)
|
|
])
|
|
])
|