inode_dio_begin(9)
β¨ inode_dio_begin(9) β¨
okay so we're in the Kernel API Manual, bestie, and today's main character is inode_dio_begin(9). buckle up π
πΈ NAME πΈ
inode_dio_begin β signal start of a direct I/O requests π
(yes, "a direct I/O requests", we don't fix the grammar of the kernel, we respect it π«Ά)
π¦ SYNOPSIS π¦
void inode_dio_begin (struct inode *inode );
π ARGUMENTS π
inodeβ the inode the direct I/O happens on. that's it, that's the whole argument, she's lowkey minimal and we stan π
π₯ DESCRIPTION π₯
so here's the vibe: this gets called once we've finished processing a direct I/O request, and it's used to wake up callers waiting for direct I/O to be quiesced π
like β the function is named begin, the NAME section says "signal start", and the DESCRIPTION says "once we've finished"β¦ it's giving plot twist, it's giving "the docs contain multitudes", and honestly? not me trying to reconcile that, i'm just the messenger π no cap, that's what the page says, so that's what you're getting.
the important bit is the waking up: callers are sitting there waiting for direct I/O to be quiesced, and this is the whole reason they get to move again β so yeah, iconic behavior, main character energy, etc etc π
π SEE ALSO π
Kernel file ./include/linux/fs.h, plus a whole friend group of cross-references β collect them all, iykyk π§:
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_end(9)generic_ci_validate_strict_name(9)
okay and for the cute sign-off π: this little baddie lives under ./include/linux, and it's dated October 2026 in the Kernel API Manual. that's the whole page, bestie β go forth and slay your direct I/O πβ¨π¦
π¦ 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