mirror_zfs/module/os/linux/zfs
Brian Atkinson 882a809983 Use pin_user_pages API for Direct I/O requests
As of kernel v5.8, pin_user_pages* interfaced were introduced. These
interfaces use the FOLL_PIN flag. This is preferred interface now for
Direct I/O requests in the kernel. The reasoning for using this new
interface for Direct I/O requests is explained in the kernel
documenetation:
Documentation/core-api/pin_user_pages.rst

If pin_user_pages_unlocked is available, the all Direct I/O requests
will use this new API to stay uptodate with the kernel API requirements.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
Closes #16856
2024-12-16 10:24:30 -08:00
..
abd_os.c Remove unnecessary CSTYLED escapes on top-level macro invocations 2024-12-06 08:53:57 -08:00
arc_os.c arc_os: split userspace and Linux kernel code 2024-09-19 15:48:54 -07:00
mmp_os.c
policy.c
qat_compress.c
qat_crypt.c
qat.c
spa_misc_os.c
trace.c
vdev_disk.c flush: only detect lack of flush support in one place 2024-12-13 12:19:54 -08:00
vdev_file.c Use <fcntl.h> instead of <sys/fcntl.h> 2024-11-07 11:20:37 -08:00
vdev_label_os.c
zfs_acl.c
zfs_ctldir.c Fix inconsistent mount options for ZFS root 2024-10-17 09:09:39 -04:00
zfs_debug.c Remove unnecessary CSTYLED escapes on top-level macro invocations 2024-12-06 08:53:57 -08:00
zfs_dir.c snapdir: add 'disabled' value to make .zfs inaccessible 2024-10-02 09:12:02 -07:00
zfs_file_os.c zfs_file: rename zfs_file_fallocate to zfs_file_deallocate 2024-09-18 11:35:04 -07:00
zfs_ioctl_os.c linux: log a scary warning when used with an experimental kernel 2024-09-23 10:44:54 -07:00
zfs_racct.c
zfs_sysfs.c
zfs_uio.c Use pin_user_pages API for Direct I/O requests 2024-12-16 10:24:30 -08:00
zfs_vfsops.c Fix inconsistent mount options for ZFS root 2024-10-17 09:09:39 -04:00
zfs_vnops_os.c Remove unnecessary CSTYLED escapes on top-level macro invocations 2024-12-06 08:53:57 -08:00
zfs_znode_os.c Remove unnecessary CSTYLED escapes on top-level macro invocations 2024-12-06 08:53:57 -08:00
zio_crypt.c Remove unnecessary CSTYLED escapes on top-level macro invocations 2024-12-06 08:53:57 -08:00
zpl_ctldir.c snapdir: add 'disabled' value to make .zfs inaccessible 2024-10-02 09:12:02 -07:00
zpl_export.c Support for longnames for files/directories (Linux part) 2024-10-01 13:40:27 -07:00
zpl_file_range.c
zpl_file.c Removing old code outside of 4.18 kernsls 2024-12-16 10:23:45 -08:00
zpl_inode.c Support for longnames for files/directories (Linux part) 2024-10-01 13:40:27 -07:00
zpl_super.c Linux: Fix zfs_prune panics 2024-11-21 15:30:43 -08:00
zpl_xattr.c Allocate zap_attribute_t from kmem instead of stack 2024-10-01 13:39:08 -07:00
zvol_os.c Remove unnecessary CSTYLED escapes on top-level macro invocations 2024-12-06 08:53:57 -08:00