svn commit: r308853 - head/sys/dev/nvme
Warner Losh
imp at FreeBSD.org
Sat Nov 19 17:16:29 UTC 2016
Author: imp
Date: Sat Nov 19 17:12:58 2016
New Revision: 308853
URL: https://svnweb.freebsd.org/changeset/base/308853
Log:
Add log pages that Intel SSDs provide. It turns out that many of these
are widely implemented beyond just Intel drives.
Sponsored by: Netflix, Inc
Modified:
head/sys/dev/nvme/nvme.h
Modified: head/sys/dev/nvme/nvme.h
==============================================================================
--- head/sys/dev/nvme/nvme.h Sat Nov 19 17:12:53 2016 (r308852)
+++ head/sys/dev/nvme/nvme.h Sat Nov 19 17:12:58 2016 (r308853)
@@ -667,8 +667,18 @@ enum nvme_log_page {
NVME_LOG_COMMAND_EFFECT = 0x05,
/* 0x06-0x7F - reserved */
/* 0x80-0xBF - I/O command set specific */
- NVME_LOG_RES_NOTIFICATION = 0x80
+ NVME_LOG_RES_NOTIFICATION = 0x80,
/* 0xC0-0xFF - vendor specific */
+/*
+ * The following are Intel Specific log pages, but they seem to
+ * be widely implemented.
+ */
+ INTEL_LOG_READ_LAT_LOG = 0xc1,
+ INTEL_LOG_WRITE_LAT_LOG = 0xc2,
+ INTEL_LOG_TEMP_STATS = 0xc5,
+ INTEL_LOG_ADD_SMART = 0xca,
+ INTEL_LOG_DRIVE_MKT_NAME = 0xdd,
+
};
struct nvme_error_information_entry {
More information about the svn-src-all
mailing list