vdo_start_operation(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vdo_start_operation(9) β€” Kernel API Manual realness ✨

okay bestie, buckle up, this is vdo_start_operation from the kernel API manual and it's literally the "can we start this operation or nah" gatekeeper πŸŽ€


🌸 NAME 🌸

vdo_start_operation β€” the function that attempts to start an operation, no cap πŸ’–


✨ SYNOPSIS ✨

int vdo_start_operation (struct admin_state *state , const struct
       admin_state_code *operation );

like, that's the whole signature, she's petite but she's powerful 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • state β€” the current admin state, aka the vibe check we're running this operation against πŸ’…
  • operation β€” the operation we're attempting to start, bestie. attempt is the key word here πŸ‘€

🌈 RETURN 🌈

VDO_SUCCESS if the operation was started, VDO_INVALID_ADMIN_STATE if not 😭

so iconic: either it slays and returns VDO_SUCCESS, or it does not start and hands you back VDO_INVALID_ADMIN_STATE. those are the only two options, periodt 🎯

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group is here, fr fr πŸ”₯


like and subscribe to admin-state.c in ./drivers/md/dm-vdo, she's the main character here 🧚

okay that's the page!! sourced from ./drivers/md/dm-vdo, dated October 2026, all about vdo_start_operation(9) β€” mwah, go start some operations responsibly πŸ’œβ­

πŸ“¦ where this page comes from