vdo_make_physical_zones(9)
π vdo_make_physical_zones β kernel API manual, but make it a vibe β¨
okay so bestie, welcome to the vdo_make_physical_zones(9) page π
this is a Kernel API Manual entry and honestly? it's a little one, but it's important, so let's get into it π
πΈ NAME πΈ
vdo_make_physical_zones β literally the function that makes the physical zones for a vdo π¦
β¨ SYNOPSIS β¨
int vdo_make_physical_zones (struct vdo *vdo , struct physical_zones
**zones_ptr );
that's it, that's the whole signature, no cap π₯
π«Ά ARGUMENTS π«Ά
vdoβ the vdo being constructed. like, the vdo-in-progress, the main character under construction πzones_ptrβ a pointer to hold the zones. that's where the zones go, it's giving "here's a spot for your zones" π
π RETURN π
VDO_SUCCESS or an error code. that's the whole deal β success, or an error code, periodt π
ngl bestie, if it's not VDO_SUCCESS you should probably check that error code, don't just ignore it π
π SEE ALSO π
kernel file ./drivers/md/dm-vdo/physical-zone.c π and all these friends:
vdo_is_pbn_read_lock(9)vdo_downgrade_pbn_write_lock(9)vdo_claim_pbn_lock_increment(9)vdo_assign_pbn_lock_provisional_reference(9)vdo_unassign_pbn_lock_provisional_reference(9)release_pbn_lock_provisional_reference(9)union idle_pbn_lock(9)struct pbn_lock_pool(9)return_pbn_lock_to_pool(9)make_pbn_lock_pool(9)free_pbn_lock_pool(9)borrow_pbn_lock_from_pool(9)initialize_zone(9)vdo_free_physical_zones(9)vdo_get_physical_zone_pbn_lock(9)vdo_attempt_physical_zone_pbn_lock(9)allocate_and_lock_block(9)retry_allocation(9)continue_allocating(9)vdo_allocate_block_in_zone(9)vdo_release_physical_zone_pbn_lock(9)vdo_dump_physical_zone(9)
like, go read those too, iykyk π§
okay bye bestie, mwah π this page lives in ./drivers/md/dm-vdo, it's October 2026, and it comes to you from the vdo_make_physical_zones(9) manual β slay, go make some zones πβ¨
π¦ 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