libnvme(2)
π NAME π
enum nvme_id_ns_mc β bestie, this is the enum that spills the tea on what a namespace can actually do with metadata π
β¨ SYNOPSIS β¨
enum nvme_id_ns_mc {
NVME_NS_MC_EXTENDED ,
NVME_NS_MC_SEPARATE
};
π Constants π
okay so there are exactly two constants in this enum and they are both little flags telling you how the namespace likes its metadata served. let's get into it π¦
NVME_NS_MC_EXTENDEDβ if this bit is set, it means the namespace is out here supporting metadata being transferred as part of a separate buffer that gets specified in the Metadata Pointer. no cap, that's the whole vibe. πNVME_NS_MC_SEPARATEβ if this bit is set, it means the namespace supports the metadata being transferred as part of an extended data LBA. periodt. πΈ
ngl bestie, both of these are just "if set" situations β so a clear bit means that flavor of metadata transfer is simply not the move for that namespace. check your bits, always. π
and that's the whole page, you ate that π«Ά this gem lives in the API Manual for libnvme β it's manual page libnvme(2), the enum nvme_id_ns_mc entry, dated July 2026. mwah, go read some more manpages π
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms