提交 b3984e06 编写于 作者: C Christoph Hellwig

nvme.h: add the changed namespace list log

Signed-off-by: NChristoph Hellwig <hch@lst.de>
Reviewed-by: NSagi Grimberg <sagi@grimberg.me>
Reviewed-by: NJohannes Thumshirn <jthumshirn@suse.de>
上级 868c2392
...@@ -751,6 +751,7 @@ enum { ...@@ -751,6 +751,7 @@ enum {
NVME_LOG_ERROR = 0x01, NVME_LOG_ERROR = 0x01,
NVME_LOG_SMART = 0x02, NVME_LOG_SMART = 0x02,
NVME_LOG_FW_SLOT = 0x03, NVME_LOG_FW_SLOT = 0x03,
NVME_LOG_CHANGED_NS = 0x04,
NVME_LOG_CMD_EFFECTS = 0x05, NVME_LOG_CMD_EFFECTS = 0x05,
NVME_LOG_DISC = 0x70, NVME_LOG_DISC = 0x70,
NVME_LOG_RESERVATION = 0x80, NVME_LOG_RESERVATION = 0x80,
...@@ -759,6 +760,8 @@ enum { ...@@ -759,6 +760,8 @@ enum {
NVME_FWACT_ACTV = (2 << 3), NVME_FWACT_ACTV = (2 << 3),
}; };
#define NVME_MAX_CHANGED_NAMESPACES 1024
struct nvme_identify { struct nvme_identify {
__u8 opcode; __u8 opcode;
__u8 flags; __u8 flags;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册