ext2_find_goal(9)
β¨ ext2_find_goal(9) β¨
okay bestie, welcome to the Kernel API Manual π this one is short but iconic: ext2_find_goal is literally here to find a preferred place for allocation. slay.
πΈ NAME πΈ
ext2_find_goal β find a preferred place for allocation.
π SYNOPSIS π
ext2_fsblk_t ext2_find_goal (struct inode *inode , long block , Indirect
*partial );
π¦ ARGUMENTS π¦
inodeβ owner πblockβ block we want π₯partialβ pointer to the last triple within a chain π§
π DESCRIPTION π
Returns preferred place for a block (the goal). periodt. that's the whole vibe check β it gives you the goal spot for a block π
π SEE ALSO π
Kernel file ./fs/ext2/inode.c π and the whole friend group:
ext2_block_to_path(9)ext2_get_branch(9)ext2_find_near(9)ext2_blks_to_allocate(9)ext2_alloc_blocks(9)ext2_alloc_branch(9)ext2_splice_branch(9)ext2_find_shared(9)ext2_free_data(9)ext2_free_branches(9)
no cap, that's the whole page β every argument, every reference, every little detail is here π«Ά
mwah π this cutie came from source/version ./fs/ext2, dated October 2026, and it's still signing off as ext2_find_goal(9) β iconic behavior, fr fr π
β¨
π¦ 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