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
420 NVME_NS_DPS_PI_TYPE3 = 3,420 NVME_NS_DPS_PI_TYPE3 = 3,
421};421};
422 422
423/* Identify Namespace Metadata Capabilities (MC): */
424enum {
425 NVME_MC_EXTENDED_LBA = (1 << 0),
426 NVME_MC_METADATA_PTR = (1 << 1),
427};
428
423struct nvme_ns_id_desc {429struct nvme_ns_id_desc {
424 __u8 nidt;430 __u8 nidt;
425 __u8 nidl;431 __u8 nidl;