vdo_allocate_block_in_zone(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, meet vdo_allocate_block_in_zone(9) β€” yes, from the Kernel API Manual β€” and its whole thing is: attempt to allocate a block in the current physical zone, and if that fails try the next if possible. That's the assignment, no cap. ✨

πŸ’… SYNOPSIS πŸ’…

bool vdo_allocate_block_in_zone (struct data_vio *data_vio );

🫢 ARGUMENTS 🫢

  • data_vio β€” the data_vio needing an allocation. That's the little main character here. πŸŽ€

πŸ”₯ RETURN πŸ”₯

Returns true if a block was allocated. If not, the data_vio will have been dispatched, so the caller must not touch it β€” literally hands off, bestie, do not poke it. 😭

Translation: true = slay, allocation happened. Not true = the data_vio is already out the door, so touching it is a no-no.

🌈 SEE ALSO 🌈

Kernel file ./drivers/md/dm-vdo/physical-zone.c, plus the whole friend group:


source/version: ./drivers/md/dm-vdo Β· date: October 2026 Β· page: vdo_allocate_block_in_zone(9). bye bestie, go allocate responsibly πŸ’–πŸ¦‹

πŸ“¦ where this page comes from