[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220507065026.260306-2-pizhenwei@bytedance.com>
Date: Sat, 7 May 2022 14:50:24 +0800
From: zhenwei pi <pizhenwei@...edance.com>
To: kbusch@...nel.org, hch@....de
Cc: sagi@...mberg.me, axboe@...com, linux-nvme@...ts.infradead.org,
linux-kernel@...r.kernel.org, zhenwei pi <pizhenwei@...edance.com>
Subject: [PATCH 1/3] nvme: introduce bit 5 of smart critical warning
According to NVM Express v1.4, Section 5.14.1.2 ("SMART / Health
Information"), introduce bit 5 for "Persistent Memory Region has become
read-only or unreliable".
Signed-off-by: zhenwei pi <pizhenwei@...edance.com>
---
include/linux/nvme.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index f626a445d1a8..882ad7523127 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -662,6 +662,7 @@ enum {
NVME_SMART_CRIT_RELIABILITY = 1 << 2,
NVME_SMART_CRIT_MEDIA = 1 << 3,
NVME_SMART_CRIT_VOLATILE_MEMORY = 1 << 4,
+ NVME_SMART_CRIT_PMR_UNRELIABLE = 1 << 5,
};
enum {
--
2.20.1
Powered by blists - more mailing lists