kiocb_end_write(9)
π kiocb_end_write β a kernel API manual moment
okay so welcome to the kiocb_end_write(9) page, bestie, this is from the Kernel API Manual and it's short but she's important. Buckle up π
β¨ NAME β¨
kiocb_end_write β drop write access to a superblock after async file io
like, you were holding the write vibe and now you're letting it go π¦
β¨ SYNOPSIS β¨
void kiocb_end_write (struct kiocb *iocb );
that's it. that's the whole function. no return value, she just does the thing and leaves π
β¨ ARGUMENTS β¨
iocbβ the io context we submitted the write with (yes the original page spells it "sumbitted", we're keeping the energy, it's iconic π)
β¨ DESCRIPTION β¨
okay so this one is lowkey a pair situation. kiocb_end_write should be matched with a call to kiocb_start_write β they're a matching set, a duo, main character energy together π
you start the write, you end the write, the superblock's write access gets dropped, everybody goes home. no cap. β¨
no fr like genuinely β if you call one without the other, that's not the vibe. they go together or not at all π
β¨ SEE ALSO β¨
she's got a lot of friends, honestly obsessed with her social circle π«Ά the kernel file is ./include/linux/fs.h, and here's the whole crew:
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)name_is_dot_dotdot(9)name_contains_dotdot(9)inode_dio_begin(9)inode_dio_end(9)generic_ci_validate_strict_name(9)
like i said. huge friend group. iykyk π
and that's the whole page, bestie!! π this one came out of ./include/linux and it's dated October 2026 β so like, from the future, slay, we love a time traveler β mwah, go call kiocb_start_write first, 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