lpt_tgc_end(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so this is lpt_tgc_end(9) from the Kernel API Manual, and it does exactly one iconic thing: end trivial garbage collection of LPT LEBs. no cap. 🫢


✨ SYNOPSIS ✨

int lpt_tgc_end (struct ubifs_info *c );

πŸ’– ARGUMENTS πŸ’–

  • c β€” UBIFS file-system description object. that's the context bestie, pls respect her πŸ’…

πŸŽ€ DESCRIPTION πŸŽ€

okay so LPT trivial garbage collection is where a LPT LEB contains only dirty and free space and so may be reused as soon as the next commit is completed. literally the β€œcleanup era” of LEBs, slay ✨

This function is called after the commit is completed (master node has been written, iykyk) and un-maps LPT LEBs that were marked for trivial GC. periodt. πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/ubifs/lpt_commit.c is the home base, and the associated besties are:


mwah πŸ’‹ this cutie comes from source/version ./fs/ubifs, dated October 2026. bye bestie, go un-map those LEBs πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from