@@ -1122,7 +1122,13 @@ typedef struct NvmeIdCtrlNvm {
} NvmeIdCtrlNvm;
enum NvmeIdCtrlOaes {
- NVME_OAES_NS_ATTR = 1 << 8,
+ NVME_OAES_SMART_SPARE = NVME_SMART_SPARE,
+ NVME_OAES_SMART_TEMPERATURE = NVME_SMART_TEMPERATURE,
+ NVME_OAES_SMART_RELIABILITY = NVME_SMART_RELIABILITY,
+ NVME_OAES_SMART_MEDIA_READ_ONLY = NVME_SMART_MEDIA_READ_ONLY,
+ NVME_OAES_SMART_FAILED_VOLATILE_MEDIA = NVME_SMART_FAILED_VOLATILE_MEDIA,
+ NVME_OAES_SMART_PMR_UNRELIABLE = NVME_SMART_PMR_UNRELIABLE,
+ NVME_OAES_NS_ATTR = 1 << 8,
};
enum NvmeIdCtrlCtratt {
According to NVM Express v1.4, Section 5.21.1.11 (Asynchronous Event Configuration), introduce bit 0 ~ bit 5. Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> --- include/block/nvme.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)