return_gap_lebs(9)
β¨ return_gap_lebs(9) β¨
okay so this is return_gap_lebs(9), straight out of the Kernel API Manual, and we are getting into some UBIFS commit-method lore π
π NAME π
return_gap_lebs β return LEBs used by the in-gap commit method.
π¦ SYNOPSIS π¦
int return_gap_lebs (struct ubifs_info *c );
πΈ ARGUMENTS πΈ
cβ UBIFS file-system description object
π DESCRIPTION π
bestie, this function clears the "taken" flag for the LEBs which were used by the "commit in-the-gaps" method. that's the whole vibe check: the LEBs get their "taken" flag cleared, periodt. β¨
π SEE ALSO π
the kernel file ./fs/ubifs/tnc_commit.c is the main-character location, and these besties are all linked:
make_idx_node(9)fill_gap(9)find_old_idx(9)is_idx_node_in_use(9)layout_leb_in_gaps(9)get_leb_cnt(9)layout_in_gaps(9)layout_in_empty_space(9)layout_commit(9)find_first_dirty(9)find_next_dirty(9)get_znodes_to_commit(9)alloc_idx_lebs(9)free_unused_idx_lebs(9)free_idx_lebs(9)ubifs_tnc_start_commit(9)write_index(9)free_obsolete_znodes(9)ubifs_tnc_end_commit(9)
mwah π source/version: ./fs/ubifs β date: October 2026 β page: return_gap_lebs(9) π«Άβ¨
π¦ 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