netfs_end_io_direct(9)
π netfs_end_io_direct(9) β a Kernel API Manual moment π
okay so bestie, welcome to the netfs_end_io_direct page, straight out of the Kernel API Manual β¨ no cap, this one's short but she matters.
πΈ NAME πΈ
netfs_end_io_direct β the girl who announces that the direct i/o operation is, like, officially done. periodt. π
β¨ SYNOPSIS β¨
void netfs_end_io_direct (struct inode *inode );
literally the whole signature, copy it exactly, don't @ me π«Ά
π¦ ARGUMENTS π¦
inodeβ file inode. that's it. that's the whole vibe. the inode in question π
π DESCRIPTION π
okay so picture this: you're declaring that a direct I/O operation is done β finished, wrapped, credits rolling π¬ β and as part of that you release the shared lock on inode->i_rwsem. the way that it justβ¦ lets go?? iconic. π₯
so yeah: announce the direct I/O is over, drop the shared lock on inode->i_rwsem, and let everybody else in. no drama, no leftovers. π
π SEE ALSO π
- Kernel file
./fs/netfs/locking.c netfs_start_io_read(9)netfs_end_io_read(9)netfs_start_io_write(9)netfs_end_io_write(9)netfs_start_io_direct(9)netfs_wb_begin(9)
go read the whole friend group, they're all linked, iykyk π
π and that's the page!! sign-off time: this little beauty lives in ./fs/netfs, dated October 2026, and yes she's giving main character energy in the Kernel API Manual β mwah ππ§ββοΈ
π¦ 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