]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NVMe: Remove queue freezing on resets
authorKeith Busch <keith.busch@intel.com>
Mon, 4 Jan 2016 16:10:57 +0000 (09:10 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 12 Jan 2016 20:33:36 +0000 (13:33 -0700)
commit25646264e15af96c5c630fc742708b1eb3339222
tree3d0633fe7142d8b99ac988f9121777fe6012478c
parent1d49c38c4865c596b01b31a52540275c1bb383e7
NVMe: Remove queue freezing on resets

NVMe submits all commands through the block layer now. This means we
can let requests queue at the blk-mq hardware context since there is no
path that bypasses this anymore so we don't need to freeze the queues
anymore. The driver can simply stop the h/w queues from running during
a reset instead.

This also fixes a WARN in percpu_ref_reinit when the queue was unfrozen
with requeued requests.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c