inode_dio_end(9)
π inode_dio_end(9) β the kernel API manual, but make it make sense
okay so bestie, we're in the <hotpink>inode_dio_end(9)</hotpink> page of the Kernel API Manual β yes, the (9) means it's a kernel-internals situation, iykyk π§
β¨ NAME β¨
inode_dio_end β the little signal that goes "we're DONE with the direct I/O request" π
πΈ SYNOPSIS πΈ
void inode_dio_end (struct inode *inode );
that's it. that's the whole vibe. one inode pointer and she's out β¨
π¦ ARGUMENTS π¦
inodeβ the inode the direct I/O happens on π like, the actual file-inode thingy this whole situation is about
π DESCRIPTION π
so here's the tea π: you call this once we've finished processing a direct I/O request. that's it, that's her job.
and what does she do with that moment? she wakes up the callers that are waiting for direct I/O to be quiesced π like, all the little threads sitting there going "is it quiet yet?? is it quiet yet??" β this is the call that finally tells them yeah bestie, it's quiesced, you may go π
ngl this is the counterpart to inode_dio_begin(9) β one opens the door, this one closes it π«Ά
π₯ SEE ALSO π₯
the whole friend group, fr fr β all from the kernel file ./include/linux/fs.h:
enum positive_aop_returns(9)struct address_space(9)struct file_ra_state(9)struct file(9)i_uid_into_vfsuid(9)i_uid_needs_update(9)i_uid_update(9)i_gid_into_vfsgid(9)i_gid_needs_update(9)i_gid_update(9)inode_fsuid_set(9)inode_fsgid_set(9)fsuidgid_has_mapping(9)inode_set_ctime(9)file_write_started(9)file_write_not_started(9)struct renamedata(9)is_mgtime(9)iput_if_not_last(9)is_idmapped_mnt(9)file_start_write(9)file_end_write(9)kiocb_start_write(9)kiocb_end_write(9)name_is_dot_dotdot(9)name_contains_dotdot(9)inode_dio_begin(9)generic_ci_validate_strict_name(9)
and that's the page!! π this one lives over in ./include/linux, dated October 2026 β so like, slightly future-coded of her, we respect it. now go call inode_dio_end and let those waiters rest, periodt π
β¨
π¦ 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