[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Jun 2016 23:20:46 +0200
From: Christoph Hellwig <hch@....de>
To: axboe@...nel.dk, keith.busch@...el.com
Cc: linux-nvme@...ts.infradead.org, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 04/10] nvme.h: add AER constants
Reviewed-by: Jay Freyensee <james.p.freyensee@...el.com>
Reviewed-by: Sagi Grimberg <sagi@...mberg.me>
Reviewed-by: Ming Lin <ming.l@....samsung.com>
Signed-off-by: Christoph Hellwig <hch@....de>
---
include/linux/nvme.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 9807d98..a9b8c7b 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -284,6 +284,12 @@ struct nvme_reservation_status {
} regctl_ds[];
};
+enum nvme_async_event_type {
+ NVME_AER_TYPE_ERROR = 0,
+ NVME_AER_TYPE_SMART = 1,
+ NVME_AER_TYPE_NOTICE = 2,
+};
+
/* I/O commands */
enum nvme_opcode {
--
2.1.4
Powered by blists - more mailing lists