free_pbn_lock_pool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… free_pbn_lock_pool(9) πŸ’… Kernel API Manual

🌸 NAME 🌸

free_pbn_lock_pool β€” free a PBN lock pool. That’s the whole name, periodt. πŸ’–

✨ SYNOPSIS ✨

void free_pbn_lock_pool (struct pbn_lock_pool *pool );

πŸŽ€ ARGUMENTS πŸŽ€

  • pool β€” the lock pool to free. That’s the one and only arg, bestie. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so listen: this function frees a PBN lock pool. But it doesn’t just free the pool itself β€” it also frees all the PBN locks it allocated, no cap. 😭

Because of that, the caller must ensure that all locks have been returned to the pool before calling this. Like, every single lock needs to be back home first. No stragglers, no β€œoops I forgot one” energy. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/md/dm-vdo/physical-zone.c


Mwah πŸ’‹ cute little sign-off: source/version spot is ./drivers/md/dm-vdo, dated October 2026, serving up free_pbn_lock_pool(9) in the Kernel API Manual. Bye bestie, slay your locks responsibly! 🫢✨

πŸ“¦ where this page comes from