linux/drivers/nvme/host
Christoph Hellwig e54b064cb2 nvme: move the dying queue check from cancel to completion
With multipath we don't want a hard DNR bit on a request that is cancelled
by a controller reset, but instead want to be able to retry it on another
patch.  To archive this don't always set the DNR bit when the queue is
dying in nvme_cancel_request, but defer that decision to
nvme_req_needs_retry.  Note that it applies to any command there and not
just cancelled commands, but one the queue is dying that is the right
thing to do anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-11-10 19:53:25 -07:00
..
core.c nvme: move the dying queue check from cancel to completion 2017-11-10 19:53:25 -07:00
fabrics.c nvme: move controller deletion to common code 2017-11-01 16:28:04 +01:00
fabrics.h nvme: add helper to compare options to controller 2017-10-27 09:25:28 +03:00
fc.c nvme-fc: add dev_loss_tmo timeout and remoteport resume support 2017-11-01 16:34:41 +01:00
Kconfig nvme: Remove SCSI translations 2017-06-28 08:14:13 -06:00
lightnvm.c lightnvm: implement generic path for sync I/O 2017-10-13 08:34:57 -06:00
Makefile nvme: Makefile: remove dead build rule 2017-06-29 09:43:23 -06:00
nvme.h nvme: move controller deletion to common code 2017-11-01 16:28:04 +01:00
pci.c nvme: Remove unused headers 2017-11-01 16:34:43 +01:00
rdma.c nvme-rdma: reuse nvme_delete_ctrl when reconnect attempts expire 2017-11-01 16:28:07 +01:00