zfs/lib/libspl/include/sys
Brian Atkinson 506bc54006 Updating based on PR Feedback(1)
Updating code based on PR code comments. I adjusted the following parts
of code based on comments:
1.  Revert dbuf_undirty() to original logic and got rid of uncessary
    code change.
2.  Cleanup in abd_impl.h
3.  Cleanup in abd.h
4.  Got rid of duplicate declaration of dmu_buf_hold_noread() in dmu.h.
5.  Cleaned up comment for db_mtx in dmu_imp.h
6.  Updated zfsprop man page to state correct ZFS version
7.  Updated to correct cast in zfs_uio_page_aligned() calls to use
    uintptr_t.
8.  Cleaned up comment in FreeBSD uio code.
9.  Removed unnecessary format changes in comments in Linux abd code.
10.  Updated ZFS VFS hook for direct_IO to use PANIC().
11. Updated comment above dbuf_undirty to use double space again.
12. Converted module paramter zfs_vdev_direct_write_verify_pct OS
    indedepent and in doing so this removed the uneccessary check for
    bounds.
13. Updated to casting in zfs_dio_page_aligned to uniptr_t and added
    kernel guard.
14. Updated zfs_dio_size_aligned() to use modulo math because
    dn->dn_datablksz is not required to be a power of 2.
15. Removed abd scatter stats update calls from all
    ABD_FLAG_FROM_PAGES.
16. Updated check in abd_alloc_from_pages() for the linear page. This
    way a single page that is even 4K can represented as an
    ABD_FLAG_LINEAR_PAGE.
17. Fixing types for UIO code. In FreeBSD the vm code expects and
    returns int's for values. In linux the interfaces return long value
    in get_user_pages_unlocked() and rest of the IOV interfaces return
    int's. Stuck with the worse case and used long for npages in Linux.
    Updated the uio npage struct to correspond to the correct types and
    that type checking is consistent in the UIO code.
18. Updated comments about what zfs_uio_get_pages_alloc() is doing.
19. Updated error handeling in zfs_uio_get_dio_pages_alloc() for Linux.

Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
2024-09-04 17:08:56 -06:00
..
dktp Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
acl.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
acl_impl.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
asm_linkage.h Unify Assembler files between Linux and Windows 2023-01-17 11:09:19 -08:00
backtrace.h backtrace: rework for signal safety 2024-05-14 09:48:51 -07:00
callb.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cmn_err.h spl: cmn_err_once() should be usable in brace-less if else statements 2023-03-15 11:13:25 -07:00
cred.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
debug.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
dkio.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
dklabel.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
feature_tests.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
inttypes.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
isa_defs.h Add loongarch64 support 2023-04-25 16:05:45 -07:00
kmem.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
kstat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
list.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
list_impl.h Remove list_size struct member from list implementation 2024-01-26 14:46:42 -08:00
mhd.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mkdev.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
policy.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
poll.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
priv.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
processor.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
simd.h powerpc64: Support ELFv2 asm on Big Endian 2023-04-27 12:49:21 -07:00
stack.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
stdtypes.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
string.h Forbid b{copy,zero,cmp}(). Don't include <strings.h> for <string.h> 2022-03-15 15:13:48 -07:00
sunddi.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
systeminfo.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
time.h Use uint64_t instead of u_int64_t 2023-11-30 10:36:33 -08:00
trace_spl.h Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
trace_zfs.h Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
types.h freebsd: simplify MD isa_defs.h 2022-11-07 15:55:37 -08:00
types32.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
uio.h Updating based on PR Feedback(1) 2024-09-04 17:08:56 -06:00
vnode.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
wmsum.h Introduce write-mostly sums 2021-05-27 14:27:29 -06:00
zone.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00