perform_grow_physical(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the perform_grow_physical(9) page from the Kernel API Manual β€” this is the grow-the-physical-size-of-the-vdo moment, and it's giving very specific kernel energy ✨

πŸ’– NAME πŸ’–

perform_grow_physical β€” Grow the physical size of the vdo.

🌸 SYNOPSIS 🌸

here's the signature, copy it exactly bestie:

int perform_grow_physical (struct vdo *vdo , block_count_t
       new_physical_blocks );

πŸŽ€ ARGUMENTS πŸŽ€

  • vdo β€” The vdo to resize.
  • new_physical_blocks β€” The new physical size in blocks.

πŸ¦‹ CONTEXT πŸ¦‹

okay so the vibe check here is strict: this method may only be called when the vdo has been suspended, and it must not be called from a base thread. like, only then, bestie β€” no sneaky base-thread calls πŸ™ˆ

⭐ RETURN ⭐

returns VDO_SUCCESS or an error. that's the whole mood. πŸ’…

πŸ”Ž SEE ALSO πŸ”Ž

go peek at the kernel file ./drivers/md/dm-vdo/dm-vdo-target.c and this whole iconic squad:

mwah πŸ’– source/version: ./drivers/md/dm-vdo; date: October 2026; manual: perform_grow_physical(9). that's the page, bestie β€” periodt 🫢

πŸ“¦ where this page comes from