diff options
| author | Christoph Hellwig <[email protected]> | 2016-06-06 23:20:46 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2016-06-12 07:29:43 -0600 |
| commit | 79f370eac63796a8933b210bca02f006ba32d22e (patch) | |
| tree | d5e0b2ee25018fadb69e4c4f74822c0b84fad095 /include/linux | |
| parent | 69cd27e2511616f9b402d1bad4c49f91aa7411a3 (diff) | |
nvme.h: add AER constants
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]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvme.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 9807d98ca93a..a9b8c7bcaf85 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 { |