#
330449 |
|
05-Mar-2018 |
eadler |
MFC r326276:
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
No functional change intended.
|
#
328748 |
|
01-Feb-2018 |
mav |
MFC r324978: Report only the valid slots in the firmware log page.
Printing the entire log page is causing confusion over available slots. Report only those slots that are valid. In the case where the firmware download isn't supported, assume that only the first slot is valid (I have no hardware to test this assumption though)
|
#
328741 |
|
01-Feb-2018 |
mav |
MFC r324977 (by imp): Add nvme_controller_data argument to all print functions.
It's desirable to access controler data to inform printing log pages (such as limiting the printing to valid ranges).
|
#
328728 |
|
01-Feb-2018 |
mav |
MFC r320423 (by imp): Move 128-bit integer routines to util.c so they can be used by more than just the log page code.
|
#
328725 |
|
01-Feb-2018 |
mav |
MFC r314230 (by imp): Make nvmecontrol logpage -p help list known pages.
Make -p help and -v help list all the pages we know about. Add -v to usage. Update the man page.
|
#
328723 |
|
01-Feb-2018 |
mav |
MFC r314228 (by imp): Fix typos in output.
|
#
328721 |
|
01-Feb-2018 |
mav |
MFC r313258 (by imp): Add the ability to dump log pages directly in binary to stdout. Update man page to include this flag, and an example of dumping a vendor-specific page while I'm here.
|
#
328719 |
|
01-Feb-2018 |
mav |
MFC r313257 (by imp): Add some descriptions to the man page for the supported log pages as well as the new wdc commands. Make wdc be an alias for hgst when specifying the vendor to use to interpret the page.
|
#
328712 |
|
01-Feb-2018 |
mav |
MFC r309777 (by imp): Implement Intel's log page 0xc1 (Read Command Latency Log) and page 0xc1 (Write Command Latency Log).
|
#
328711 |
|
01-Feb-2018 |
mav |
MFC r309684 (by imp): Fix Typo
|
#
328710 |
|
01-Feb-2018 |
mav |
MFC r309413 (by imp): Flag the vendor specific pages as such. This allows different decoding for the same page number as different vendors encode vendor specific pages differently.
|
#
328709 |
|
01-Feb-2018 |
mav |
MFC r308869 (by imp): i386 turns out to not have __uint128_t. So confusingly use 64-bit math instead. Since we're little endian, we can get away with it. Also, since the counters in quesitons would require billions of iops for tens of billions of seconds to overflow, and since such data rates are unlikely for people using i386 for a while, that's OK. The fastest cards today can't do even a million IOPs.
|
#
328708 |
|
01-Feb-2018 |
mav |
MFC r308856 (by imp): Decode the Intel-specific Additional SMART data page (0xca) and print it in human readable form. Include a pointer to the public spec that was followed to implement this in the code. Samsung also implements page 0xca on some of their drives, but the format is slighly different, so the code skips printing zero keys. Samsung's log page has additional, unknown data after the end of Intel defined data which isn't displayed.
|
#
328707 |
|
01-Feb-2018 |
mav |
MFC r308848 (by imp): Remove check for valid log pages. Let the drive tell us which pages are valid or not. While many pages are reserved in the standard, that doesn't make them invalid and future versions of the standard may define then.
|
#
328674 |
|
01-Feb-2018 |
mav |
MFC r308855 (by imp): Implement HGST Log page 0xc1, as documented in the HGST SN100 and SN150 product manuals. Subpage 0x32 is documented, but not implemented.
|
#
328673 |
|
01-Feb-2018 |
mav |
MFC r308854 (by imp): Print Intel's expanded Temperature log page.
|
#
328672 |
|
01-Feb-2018 |
mav |
MFC r308849 (by imp): Use a table for pages we know the size of. We have a special case for the error log since it isn't a fixed size.
|
#
328669 |
|
01-Feb-2018 |
mav |
MFC r308851 (by imp): Expand the SMART / Health Information Log Page (Page 02) printout based on NVM Express 1.2.1 Standard.
|
#
328668 |
|
01-Feb-2018 |
mav |
MFC r308850 (by imp): Print numbers instead of hex values for smart data. The full 128-bit number is printed, even though you'd need like a billion IOPs for a 10 billion seconds to overflow the 64-bit counters (~300 years).
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
285796 |
|
22-Jul-2015 |
jimharris |
nvmecontrol: read controller identify data before any log page operations
MFC after: 3 days Sponsored by: Intel
|
#
253114 |
|
09-Jul-2013 |
jimharris |
Send per-namespace logpage commands to the controller devnode, so they are processed as admin commands, not I/O commands.
As part of this change, pull out the code for parsing a namespace node string into a separate function, since it is used for both identify and logpage commands.
Sponsored by: Intel MFC after: 3 days
|
#
253109 |
|
09-Jul-2013 |
jimharris |
Incorporate feedback from bde@ based on r252672 changes:
* Use 0/1 instead of sysexits. Man pages are confusing on this topic, but 0/1 is sufficient for nvmecontrol. * Use err function family where possible instead of fprintf/exit. * Fix some typing errors. * Clean up some error message inconsistencies.
Sponsored by: Intel Submitted by: bde (parts of firmware.c changes) MFC after: 3 days
|
#
252302 |
|
27-Jun-2013 |
glebius |
Fix build.
|
#
252277 |
|
26-Jun-2013 |
jimharris |
Add log page support to nvmecontrol(8) through a new logpage command.
This includes pretty printers for all of the standard NVMe log pages (Error, SMART/Health, Firmware), as well as hex output for non-standard or vendor-specific log pages.
Submitted by: Joe Golio <joseph.golio@emc.com> Obtained from: EMC / Isilon Storage Division MFC after: 3 days
|