nvme_init_s...resv_persist(9)
π nvme_init_set_features_resv_persist(9) β like, the libnvme API manual, bestie β¨
okay so real talk, this whole page lives in the libnvme API manual and it's about one (1) little function that sets up a passthru command. that's it. that's the vibe. let's get into it π«Ά
πΈ NAME πΈ
nvme_init_set_features_resv_persist β initializes the passthru command for Reservation Persistence. yes, that's the whole name, no she did not shorten it π
β¨ SYNOPSIS β¨
here's the signature, copy it exactly, no cap:
void nvme_init_set_features_resv_persist (struct libnvme_passthru_cmd
*cmd , __u32 nsid , bool sv , bool ptpl );
it returns void, so likeβ¦ she does the work and doesn't even ask for a thank-you. main character energy fr fr π
π ARGUMENTS π
every single one, in order, no skipping:
cmdβ the passthru command you're gonna use. this is the lil vessel she fills in π«nsidβ the Namespace ID. which namespace we're talking to, obviously π«svβ Save value across power states. abool, so it's a yes/no situation β‘ptplβ Persist Through Power Loss. also abool. the name literally says what it does, iconic π
π¦ DESCRIPTION π¦
so what does she do? she initializes the passthru command buffer for the Set Features command, with the FID value NVME_FEAT_FID_RESV_PERSIST. that's the whole assignment. she shows up, she sets the buffer up correctly, she leaves. ate and left no crumbs πβ¨
lowkey the entire point is that you don't have to hand-build that buffer yourself β she already knows the FID you need. iykyk π§
π a lil sign-off π
this page is from the libnvme API manual, dated October 2026 β so yeah, she's a libnvme girlie through and through. mwah, go forth and persist your reservations π₯ππ
π¦ 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