vdo_make_logical_zones(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ vdo_make_logical_zones(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a little function from the dm-vdo world and honestly it's giving "small but mighty" β€” it literally spins up a whole set of logical zones for you. no cap.


🌸 NAME 🌸

vdo_make_logical_zones β€” Create a set of logical zones.

like, that's the whole job. it makes the zones. iconic behavior tbh πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int vdo_make_logical_zones (struct vdo *vdo , struct logical_zones
**zones_ptr );

so it hands you back an int (iykyk that's your status code, bestie) and takes two things: the vdo and a pointer-to-pointer for the new zones. periodt. πŸ’…


πŸ’œ ARGUMENTS πŸ’œ

  • vdo β€” The vdo to which the zones will belong. basically the vibe-check parent of these zones, they're its children fr fr 🌈
  • zones_ptr β€” A pointer to hold the new zones. this is where the freshly-made zones get parked, so don't lose it 🫢

⭐ RETURN ⭐

VDO_SUCCESS or an error code.

that's it, that's the whole contract β€” either it slays (VDO_SUCCESS) or it hands you an error code and you go 😭. no in-between.


πŸ”₯ SEE ALSO πŸ”₯

eep, this is the fun part, the whole friend group πŸ‘‘

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

like genuinely go read them all, they're lowkey all connected 🧚


ngl bestie, this page lives in ./drivers/md/dm-vdo β€” that's the kernel source tree, so don't come looking for it in your /usr/share/man and get confused πŸ™ˆ

that's the whole page!! mwah πŸ’‹ β€” written up in October 2026, straight from the ./drivers/md/dm-vdo corner of the kernel tree, page vdo_make_logical_zones(9). stay slay, stay zoned πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from