ubifs_gc_end_commit(9)
β¨ NAME β¨
Bestie, welcome to ubifs_gc_end_commit(9) β yes, from the Kernel API Manual, weβre fancy now. The whole name is giving garbage collection at end of commit. and honestly thatβs iconic π
β¨
πΈ SYNOPSIS πΈ
int ubifs_gc_end_commit (struct ubifs_info *c );
Yup, thatβs the whole signature, bestie β it returns an int, and it takes exactly one pointer. Slay.
π ARGUMENTS π
cβ UBIFS file-system description object. Thatβs your one and only arg, the whole context bestie, and she is literally carrying the function π«Ά
π DESCRIPTION π
Okay so the actual tea: this function completes out-of-place garbage collection of index LEBs. Thatβs it. Thatβs the whole main-character task β end-of-commit GC, wrapped up. No cap, no extra lore in this description, just the completion moment β¨π₯
π¦ SEE ALSO π¦
The whole squad lives in the Kernel file ./fs/ubifs/gc.c, and you can go read up on:
switch_gc_head(9)data_nodes_cmp(9)sort_nodes(9)move_node(9)move_nodes(9)gc_sync_wbufs(9)ubifs_garbage_collect_leb(9)ubifs_garbage_collect(9)ubifs_gc_start_commit(9)ubifs_destroy_idx_gc(9)ubifs_get_idx_gc_leb(9)
Mwah π β this page is from ./fs/ubifs, dated October 2026, and itβs still ubifs_gc_end_commit(9). Byeee bestie π«ΆπΈβ¨
π¦ 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