git: nvme - Flesh out the driver more

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jun 5 11:07:59 PDT 2016


commit 1175940615c27e83fdf06c7a54d8de1b3a4eb961
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jun 5 11:04:48 2016 -0700

    nvme - Flesh out the driver more
    
    * Handle the case where there are an insufficient number of queue entries
      available to handle BIOs (tested by forcing maxqe to 4).
    
    * Issue delete queue commands and issue and wait for controller shutdown
      on a normal halt/reboot as per spec.
    
    * Disallow new device open()s during unload.

Summary of changes:
 sys/dev/disk/nvme/nvme.c           | 120 +++++++++++++++++++++++++++++++++----
 sys/dev/disk/nvme/nvme.h           |  15 +++++
 sys/dev/disk/nvme/nvme_admin.c     |  23 ++++++-
 sys/dev/disk/nvme/nvme_attach.c    |  20 ++++++-
 sys/dev/disk/nvme/nvme_chipset.h   |   1 +
 sys/dev/disk/nvme/nvme_disk.c      |  78 ++++++++++++++++++++++--
 sys/dev/disk/nvme/nvme_dragonfly.c |  25 ++++----
 7 files changed, 249 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1175940615c27e83fdf06c7a54d8de1b3a4eb961


-- 
DragonFly BSD source repository



More information about the Commits mailing list