NVME_INIT_SET_FEATURES_NS_METADATA-LIBNVME3(2)
π NAME π
nvme_init_set_features_ns_metadata β bestie, this is the one that initializes your passthru command for Namespace Metadata β¨
πΈ SYNOPSIS πΈ
void nvme_init_set_features_ns_metadata (struct libnvme_passthru_cmd
*cmd , bool sv , __u8 ea , struct nvme_host_metadata *data );
okay so it's a void function, meaning it hands you nothing back β it just does the thing and dips π«Ά
π ARGUMENTS π
cmdβ the passthru command you're gonna use, like literally the buffer you're handing over to get set up πsvβ abool, and it means Save value across power states. yes queen, your value survives the power state changes π₯eaβ the Element Action (EA). checkenum nvme_host_metadata_eafor your options, iykyk πdataβ the Host Metadata data buffer. seestruct nvme_host_metadatafor the deets π¦
β¨ DESCRIPTION β¨
so what this icon does is initialize the passthru command buffer for the Set Features command, and it uses the FID value NVME_FEAT_FID_NS_METADATA. that's it, that's the whole vibe β clean, simple, main character energy π
ngl this is a really chill one β no weird edge cases, no surprises, just a setup function doing setup things π
and that's the whole page, bestie!! this beauty lives in the libnvme API manual, section 9 (that's nvme_init_se..._ns_metadata(9) if you're keeping track π), and it's dated October 2026 β¨ periodt, go forth and set your features π
π₯
π¦ 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