1
0
Fork 0

nvme.h: add the changed namespace list log

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
hifive-unleashed-5.1
Christoph Hellwig 2018-05-25 17:18:33 +02:00
parent 868c2392a7
commit b3984e064e
1 changed files with 3 additions and 0 deletions

View File

@ -751,6 +751,7 @@ enum {
NVME_LOG_ERROR = 0x01,
NVME_LOG_SMART = 0x02,
NVME_LOG_FW_SLOT = 0x03,
NVME_LOG_CHANGED_NS = 0x04,
NVME_LOG_CMD_EFFECTS = 0x05,
NVME_LOG_DISC = 0x70,
NVME_LOG_RESERVATION = 0x80,
@ -759,6 +760,8 @@ enum {
NVME_FWACT_ACTV = (2 << 3),
};
#define NVME_MAX_CHANGED_NAMESPACES 1024
struct nvme_identify {
__u8 opcode;
__u8 flags;