git: nvme - Add nvmectl userland utility

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jun 18 00:02:45 PDT 2016


commit 7aa4eb964ab8cb462cabf5332675ba7c2c404236
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jun 17 23:58:49 2016 -0700

    nvme - Add nvmectl userland utility
    
    * Add nvmectl, a general userland utility that we will use to retrieve
      status and do interesting things to nvme devices.
    
      Nominally feature the command to allow nvmeX devices to be specified
      at the end, and to apply the command to all nvme devices if none are
      specified.
    
    * Implement 'nvmectl info'.  This command retrieves the SMART info from
      specified controllers and prints it out.

Summary of changes:
 sbin/Makefile                                      |   1 +
 sbin/nvmectl/Makefile                              |  11 +
 sbin/nvmectl/nvmectl.c                             | 246 +++++++++++++++++++++
 .../nvme/nvme_datamgmt.h => sbin/nvmectl/nvmectl.h |  19 +-
 .../nvme/nvme_datamgmt.h => sbin/nvmectl/subs.c    |  14 +-
 5 files changed, 289 insertions(+), 2 deletions(-)
 create mode 100644 sbin/nvmectl/Makefile
 create mode 100644 sbin/nvmectl/nvmectl.c
 copy sys/dev/disk/nvme/nvme_datamgmt.h => sbin/nvmectl/nvmectl.h (79%)
 copy sys/dev/disk/nvme/nvme_datamgmt.h => sbin/nvmectl/subs.c (89%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7aa4eb964ab8cb462cabf5332675ba7c2c404236


-- 
DragonFly BSD source repository


More information about the Commits mailing list