git: nvme - Back-off if driver lies about reported queue limits

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Dec 25 12:34:18 PST 2021


commit b5b25080344d7d9659ea3550bd1c50d0c4f0a36d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Dec 25 12:30:52 2021 -0800

    nvme - Back-off if driver lies about reported queue limits
    
    * Apparently some low-rent nvme controllers lie about how many
      queues they support.
    
    * If the nvme driver lies about queue support and a queue
      create command fails, attempt to back-off to fewer queues
      first, rather than giving up immediately.  Complain mightily
      on the console.

Summary of changes:
 sys/dev/disk/nvme/nvme_admin.c | 49 +++++++++++++++++++++++++++++++++++-------
 1 file changed, 41 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b5b25080344d7d9659ea3550bd1c50d0c4f0a36d


-- 
DragonFly BSD source repository


More information about the Commits mailing list