nvme_init_g...resv_persist(9)
π 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. peepenum nvme_get_features_selfor 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
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms