History

nvme: add Metadata Capabilities enumerations

The enumerations will be used to expose the namespace metadata format by the target.

Israel Rukshin committed 6 years ago

Commit 39481fb1 parent 136cc1f1 file · +6 −0Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/nvme.h+6−0
@@ -420,6 +420,12 @@ enum { · 419 unmodified lines
420420 NVME_NS_DPS_PI_TYPE3 = 3,
421421 };
422422
423+/* Identify Namespace Metadata Capabilities (MC): */
424+enum {
425+ NVME_MC_EXTENDED_LBA = (1 << 0),
426+ NVME_MC_METADATA_PTR = (1 << 1),
427+};
428+
423429 struct nvme_ns_id_desc {
424430 __u8 nidt;
425431 __u8 nidl;