diff options
author | Christoph Hellwig <hch@lst.de> | 2018-05-25 18:18:33 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-31 19:47:08 +0300 |
commit | b3984e064ec15aa349a635affd70d16eedbb539b (patch) | |
tree | 5e72eedba9445e99775a4e7aed9745a588d9f14f /include/linux/nvme.h | |
parent | 868c2392a700fc1e72fb1bc044b7cceecd4f095c (diff) | |
download | linux-b3984e064ec15aa349a635affd70d16eedbb539b.tar.xz |
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>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r-- | include/linux/nvme.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index c37103a4ad38..7ce0f3cf4409 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -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; |