zfs/module/os/freebsd/spl
Brian Atkinson b1ee363675 Updating based on PR Feedback(2)
Updating code base on PR code comments. I adjusted the following parts
of the code base on the comments:
1. Updated zfs_check_direct_enabled() so it now just returns an error.
   This removed the need for the added enum and cleaned up the code.
2. Moved acquiring the rangelock from zfs_fillpage() out to
   zfs_getpage(). This cleans up the code and gets rid of the need to
   pass a boolean into zfs_fillpage() to conditionally gra the
   rangelock.
3. Cleaned up the code in both zfs_uio_get_dio_pages() and
   zfs_uio_get_dio_pages_iov(). There was no need to have wanted and
   maxsize as they were the same thing. Also, since the previous
   commit cleaned up the call to zfs_uio_iov_step() the code is much
   cleaner over all.
4. Removed dbuf_get_dirty_direct() function.
5. Unified dbuf_read() to account for both block clones and direct I/O
   writes. This removes redundant code from dbuf_read_impl() for
   grabbingthe BP.
6. Removed zfs_map_page() and zfs_unmap_page() declarations from Linux
   headers as those were never called.

Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
2024-09-04 17:08:56 -06:00
..
acl_common.c acl: use uintptr_t for ace walker cookies 2022-11-03 09:51:34 -07:00
callb.c Cleanup: Use NULL when doing NULL pointer comparisons 2023-01-12 16:00:37 -08:00
list.c Remove list_size struct member from list implementation 2024-01-26 14:46:42 -08:00
spl_acl.c freebsd: remove __FBSDID macro use 2023-11-17 14:02:09 -08:00
spl_atomic.c freebsd: remove __FBSDID macro use 2023-11-17 14:02:09 -08:00
spl_cmn_err.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
spl_dtrace.c freebsd: remove __FBSDID macro use 2023-11-17 14:02:09 -08:00
spl_kmem.c FreeBSD: remove support for FreeBSD < 13.0-RELEASE (#16372) 2024-08-05 16:56:45 -07:00
spl_kstat.c freebsd: remove __FBSDID macro use 2023-11-17 14:02:09 -08:00
spl_misc.c FreeBSD: Add const qualifier to members of struct opensolaris_utsname 2024-05-30 09:58:20 -07:00
spl_policy.c FreeBSD: remove support for FreeBSD < 13.0-RELEASE (#16372) 2024-08-05 16:56:45 -07:00
spl_procfs_list.c freebsd: remove __FBSDID macro use 2023-11-17 14:02:09 -08:00
spl_string.c Introduce kmem_scnprintf() 2022-10-29 13:05:11 -07:00
spl_sunddi.c freebsd: remove __FBSDID macro use 2023-11-17 14:02:09 -08:00
spl_sysevent.c freebsd: remove __FBSDID macro use 2023-11-17 14:02:09 -08:00
spl_taskq.c FreeBSD: remove support for FreeBSD < 13.0-RELEASE (#16372) 2024-08-05 16:56:45 -07:00
spl_uio.c Updating based on PR Feedback(2) 2024-09-04 17:08:56 -06:00
spl_vfs.c FreeBSD: remove support for FreeBSD < 13.0-RELEASE (#16372) 2024-08-05 16:56:45 -07:00
spl_vm.c freebsd: remove __FBSDID macro use 2023-11-17 14:02:09 -08:00
spl_zlib.c FreeBSD: Fix the build on FreeBSD 12 2023-11-27 12:58:03 -08:00
spl_zone.c FreeBSD: remove support for FreeBSD < 13.0-RELEASE (#16372) 2024-08-05 16:56:45 -07:00