nilfs_iget_for_shadow(9)
π NAME π
okay bestie, welcome to nilfs_iget_for_shadow(9) β straight out of the Kernel API Manual β¨
nilfs_iget_for_shadow β obtain inode for shadow mapping π
β¨ SYNOPSIS β¨
struct inode * nilfs_iget_for_shadow (struct inode *inode );
πΈ ARGUMENTS πΈ
inodeβ the inode object that uses shadow mapping, periodt π«Ά
π¦ DESCRIPTION π¦
So nilfs_iget_for_shadow allocates a pair of inodes that holds page caches for shadow mapping. No cap, it's giving package deal π
The page cache for data pages is set up in one inode, and the page cache for b-tree node pages is set up in the other inode β and that other inode is attached to the former inode. Obsessed with the attachment lore, ngl π₯
π RETURN π
On success you get a pointer to the inode for data pages π
Or, if memory is insufficient, you get -ENOMEM π
π SEE ALSO π
- Kernel file
./fs/nilfs2/inode.c struct nilfs_iget_args(9)nilfs_get_block(9)nilfs_read_folio(9)nilfs_attach_btree_node_cache(9)nilfs_detach_btree_node_cache(9)nilfs_write_inode_common(9)nilfs_dirty_inode(9)
okay that's the whole page, bestie π source/version: ./fs/nilfs2 Β· date: October 2026 Β· manual: nilfs_iget_for_shadow(9) β mwah, go touch some inodes β¨π«Ά
π¦ 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