vdo_prepare_..._to_allocate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

vdo_prepare_slab_depot_to_allocate β€” bestie, this is the one that gets the slab depot ready to come online and start allocating blocks ✨

(also hi, you're reading the vdo_prepare_..._to_allocate(9) page from the Kernel API Manual πŸŽ€)


✨ SYNOPSIS

void vdo_prepare_slab_depot_to_allocate (struct slab_depot *depot , enum
slab_depot_load_type load_type , struct vdo_completion *parent );

🫢 ARGUMENTS

  • depot β€” the depot you're preparing. yes, that one. the slab depot. πŸ’œ
  • load_type β€” the load type. that's it, that's the whole vibe check on this one.
  • parent β€” the completion that gets notified when the operation is done. think of it as the friend you text when you're on your way 🫢

🌸 DESCRIPTION

okay so listen πŸ‘‘ β€” this method may be called only before entering normal operation, from the load thread. that's not a suggestion, that's the rule, no cap.

and it must be called before allocation may proceed. like, you literally cannot skip this step, it's giving prerequisites, it's giving "do the reading before the seminar" 😭


πŸ¦‹ SEE ALSO

the kernel file is ./drivers/md/dm-vdo/slab-depot.c and honestly? the whole friend group is here. everyone showed up to the group chat πŸ”₯


fr fr the whole slab-depot.c crew is linked above, so if you're lost, that's your reading list πŸ’€ happy scrolling bestie

🌸 that's the whole page! sourced from ./drivers/md/dm-vdo, dated October 2026, from the Kernel API Manual edition of vdo_prepare_..._to_allocate(9) β€” ily, go prepare that depot πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from