ubifs_tnc_start_commit(9)
πΈ NAME πΈ
okay so bestie, welcome to ubifs_tnc_start_commit(9) from the Kernel API Manual π This page is all about start TNC commit, and it's giving deeply specific kernel-internals realness. Periodt.
β¨ SYNOPSIS β¨
int ubifs_tnc_start_commit (struct ubifs_info *c , struct ubifs_zbranch
*zroot );
π ARGUMENTS π
cβ the UBIFS file-system description object, aka the context bestie you pass in π«Άzrootβ the new index root position is returned here, so this is where the result lands β¨
π DESCRIPTION π
This function prepares the list of indexing nodes to commit and lays out their positions on flash. Lowkey a whole backstage pass moment for the index π
If there is not enough free space, it uses the in-gap commit method. The function returns zero in case of success and a negative error code in case of failure. That's the return vibe check, no cap ππ
π¦ SEE ALSO π¦
If you're obsessed and want the full friend group, go read these next:
- Kernel file
./fs/ubifs/tnc_commit.c 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)write_index(9)free_obsolete_znodes(9)return_gap_lebs(9)ubifs_tnc_end_commit(9)
okay bye bestie, this page came from source/version ./fs/ubifs and is dated October 2026 πβ¨ mwah π
π¦ 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