NVME_INIT_SET_FEATURES_CTRL_METADATA-LIBNVME3(2)
π nvme_init_set_features_ctrl_metadata(9) β libnvme API manual π
okay bestie, welcome to the libnvme API manual, we're doing the nvme_init_set_features_ctrl_metadata page today and honestly it's short, sweet, and ate β¨
πΈ NAME πΈ
nvme_init_set_features_ctrl_metadata β Initialize passthru command for Controller Metadata π«Ά
π¦ SYNOPSIS π¦
void nvme_init_set_features_ctrl_metadata (struct libnvme_passthru_cmd
*cmd , bool sv , __u8 ea , struct nvme_host_metadata *data );
no cap, that's the whole signature. void return, so nothing comes back at you π
β ARGUMENTS β
cmdβ the Passthru command you're gonna use π this is the buffer getting set up, so hand it over already allocatedsvβ Save value across power states, yes queen,bool, your call π₯eaβ Element Action (EA), and bestie it's literally__u8β seeenum nvme_host_metadata_eafor the actual values πdataβ Host Metadata data buffer, and it's astruct nvme_host_metadatapointer, seestruct nvme_host_metadatafor what goes in there π
β¨ DESCRIPTION β¨
So what does this actually do? It initializes the passthru command buffer for the Set Features command, with the FID value NVME_FEAT_FID_CTRL_METADATA π¦ that's it. that's the vibe. it's giving setup-function main character energy β all the plumbing, no drama π
lowkey important: it's Controller Metadata here, not the other flavors, and the FID is literally NVME_FEAT_FID_CTRL_METADATA, so don't go swapping it, iykyk π
and that's the whole page bestie, go forth and set those features ππ
sign-off szn: this was the libnvme API manual page for nvme_init_set_features_ctrl_metadata(9), dated October 2026 π mwah, 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