nvme.h: add AER constants
authorChristoph Hellwig <[email protected]>
Mon, 6 Jun 2016 21:20:46 +0000 (23:20 +0200)
committerJens Axboe <[email protected]>
Sun, 12 Jun 2016 13:29:43 +0000 (07:29 -0600)
Reviewed-by: Jay Freyensee <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Ming Lin <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
include/linux/nvme.h

index 9807d98ca93a8042333d56f2b3312f755b906c5e..a9b8c7bcaf853a4c3143bf3ed5a19c5a47ef47f0 100644 (file)
@@ -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 {