inode_io_list_move_locked(9)
okay bestie, welcome to the inode_io_list_move_locked(9) page from the Kernel API Manual π
β¨ this one is short but it's literally doing important writeback list choreography, so let's get into it.
πΈ NAME πΈ
inode_io_list_move_locked β move an inode onto a bdi_writeback IO list. periodt π
π SYNOPSIS π
bool inode_io_list_move_locked (struct inode *inode , struct
bdi_writeback *wb , struct list_head *head );
π¦ ARGUMENTS π¦
inodeβ the inode to be moved π«Άwbβ targetbdi_writebackheadβ literally one ofwb->b_{dirty|io|more_io|dirty_time}π
π₯ DESCRIPTION π₯
okay so the move is: take inode->i_io_list, move it to the list of wb, and set WB_has_dirty_io. π
the return vibe is true if inode is the first occupant of the !dirty_time IO lists; otherwise, it's false. that's the whole tea, no cap π«β¨
π SEE ALSO π
go touch grass in these, bestie:
- Kernel file
./fs/fs-writeback.c wb_wait_for_completion(9)inode_cgwb_move_to_attached(9)locked_inode_to_wb_and_lock_list(9)inode_to_wb_and_lock_list(9)inode_switch_wbs(9)cleanup_offline_cgwb(9)wbc_attach_and_unlock_inode(9)wbc_attach_fdatawrite_inode(9)wbc_detach_inode(9)wbc_account_cgroup_owner(9)wb_split_bdi_pages(9)bdi_split_work_to_wbs(9)cgroup_writeback_by_id(9)cgroup_writeback_umount(9)wb_start_background_writeback(9)filemap_dontcache_kick_writeback(9)__mark_inode_dirty(9)writeback_inodes_sb_nr(9)writeback_inodes_sb(9)try_to_writeback_inodes_sb(9)sync_inodes_sb(9)write_inode_now(9)sync_inode_metadata(9)
π cute little sign-off: this iconic page comes from./fs, dated October 2026, and it's literally theinode_io_list_move_locked(9)manual page. that's the footer, bestie β slay and read the source πβ¨
π¦ 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