The enumerations will be used to expose the namespace metadata format by the target.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -420,6 +420,12 @@ enum { · 419 unmodified lines | ||
| 420 | 420 | NVME_NS_DPS_PI_TYPE3 = 3, |
| 421 | 421 | }; |
| 422 | 422 | |
| 423 | +/* Identify Namespace Metadata Capabilities (MC): */ | |
| 424 | +enum { | |
| 425 | + NVME_MC_EXTENDED_LBA = (1 << 0), | |
| 426 | + NVME_MC_METADATA_PTR = (1 << 1), | |
| 427 | +}; | |
| 428 | + | |
| 423 | 429 | struct nvme_ns_id_desc { |
| 424 | 430 | __u8 nidt; |
| 425 | 431 | __u8 nidl; |