perform_grow_logical(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– perform_grow_logical(9) β€” Kernel API Manual πŸ’–

okay so bestie, welcome to the perform_grow_logical page, straight out of the kernel API manual ✨ this one's short but it's mighty, and like every good glow-up it comes with rules πŸŽ€


✨ NAME ✨

perform_grow_logical β€” grow the logical size of the vdo 🌱 (yes queen, make it bigger)


🌸 SYNOPSIS 🌸

int perform_grow_logical (struct vdo *vdo , block_count_t
new_logical_blocks );

like literally that's the whole function signature, no cap 🫢


πŸ’… ARGUMENTS πŸ’…

  • vdo β€” the vdo that's getting the glow-up πŸ’– this is the one you're growing.
  • new_logical_blocks β€” the size the vdo should be grown to, i.e. the target number of logical blocks. this is the destination, not the journey ✨

πŸ¦‹ CONTEXT πŸ¦‹

okay so this is the important part, do not skip πŸ™ˆ

  • You may only call this method when the vdo has been suspended.
  • It must not be called from a base thread.
fr fr, respect the context restrictions or it's giving undefined behaviour πŸ’€

⭐ RETURN ⭐

Returns VDO_SUCCESS or an error. that's it, that's the tea πŸ‘‘


🌈 SEE ALSO 🌈

Kernel file ./drivers/md/dm-vdo/dm-vdo-target.c, plus this whole squad of related pages (yes, all of them, i'm not skipping a single one 🫢):


and that's the whole page, bestie, you ate that πŸ“ mwah πŸ’œ

this little love letter lives in ./drivers/md/dm-vdo, dated October 2026 β€” see you in the next man page, slay πŸ’…βœ¨

πŸ“¦ where this page comes from