nvme_init_g...resv_persist(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… nvme_init_get_features_resv_persist β€” bestie, let's build that passthru command

okay so this is a page from the libnvme API manual, and the header up top is literally just the function name squished down to nvme_init_g...resv_persist(9) because apparently even manpage headers get tired and need a trim ✨ (the real, full name is the one right up there in the heading, no cap). Let's get into it 🫢


✨ NAME ✨

nvme_init_get_features_resv_persist β€” initialize the passthru command for Get Features - Reservation Persistence πŸ’«


πŸŽ€ SYNOPSIS πŸŽ€

void nvme_init_get_features_resv_persist (struct libnvme_passthru_cmd
*cmd , __u32 nsid , enum nvme_get_features_sel sel );

she returns void, meaning she does the work and hands you nothing back β€” the classic "i already did it, you're welcome" main character energy πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cmd β€” the passthru command you want her to fill in. that's the canvas, the blank canvas, the whole vibe 🎨
  • nsid β€” the Namespace ID. which namespace are we talking about, bestie? this one. πŸ“
  • sel β€” which type of attribute to return. peep enum nvme_get_features_sel for the full menu of choices, iykyk πŸ“

🌸 DESCRIPTION 🌸

so what does she do? she initializes the passthru command buffer for the Get Features command, and she does it with the FID value set to NVME_FEAT_FID_RESV_PERSIST. literally that's it. that's the whole job. reservation persistence feature, requested, initialized, slayed πŸ’…πŸ”₯

no hidden lore, no secret extra params β€” you hand her the buffer, the namespace ID, and the selector, and she sets the feature ID for you. iconic behaviour, tbh 🌈


🧚 reminder: this is an initialize function, so she's prepping the command buffer β€” not running it. the actual "go do the thing" part is somebody else's episode πŸ‘€

and that's the page!! this gem came out of the libnvme API manual, dated October 2026 β€” mwah, tysm for reading, go init some passthru commands, ily, bye πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from