dax_iomap_rw(9)
π dax_iomap_rw(9) π
okay so welcome to the Kernel API Manual, bestie β todayβs entry is dax_iomap_rw(9), and itβs literally about I/O to a DAX file. letβs get into it π«Ά
πΈ NAME πΈ
dax_iomap_rw β the function that performs I/O to a DAX file π
β¨ SYNOPSIS β¨
ssize_t dax_iomap_rw (struct kiocb *iocb , struct iov_iter *iter , const
struct iomap_ops *ops );
π ARGUMENTS π
iocbβ the control block for this I/O. itβs giving βpaperwork for the operationβ ngl πiterβ the addresses to do I/O from or to. literally the from/to address situation π¦opsβ iomap ops passed from the file system. the filesystem hands these over, no cap π«Ά
π DESCRIPTION π
okay so dax_iomap_rw performs read and write operations to directly mapped persistent memory. thatβs the whole serve: read + write, directly mapped persistent memory, periodt π₯
but bestie, the callers needs to take care of read/write exclusion and evicting any page cache pages in the region under I/O. yes, that is a caller-side responsibility β this function is not doing that part for you. no cap, do not skip it π
π₯ SEE ALSO π₯
the cross-reference friend group is right here, and every single one is invited:
- Kernel file
./fs/dax.c+enum dax_wake_mode(9) dax_folio_reset_order(9)dax_lock_folio(9)dax_layout_busy_page_range(9)dax_iomap_copy_around(9)dax_fault_iter(9)dax_iomap_fault(9)dax_finish_sync_fault(9)
mwah π source/version: ./fs, date: October 2026. thatβs the sign-off, bestie β bye! πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms