linux/drivers/nvme/host
Sagi Grimberg 1c0d12c0b1 nvme: fail cancelled commands with NVME_SC_HOST_PATH_ERROR
NVME_SC_ABORT_REQ means that the request was aborted due to
an abort command received. In our case, this is a transport
cancellation, so host pathing error is much more appropriate.

Also, convert NVME_SC_HOST_PATH_ERROR to BLK_STS_TRANSPORT for
such that callers can understand that the status is a transport
related error. This will be used by the ns scanning code to
understand if it got an error from the controller or that the
controller happens to be unreachable by the transport.

Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
2019-09-12 08:50:45 -07:00
..
core.c nvme: fail cancelled commands with NVME_SC_HOST_PATH_ERROR 2019-09-12 08:50:45 -07:00
fabrics.c nvme: make fabrics command run on a separate request queue 2019-08-29 12:55:03 -07:00
fabrics.h nvme-fabrics: Add type of service (TOS) configuration 2019-08-29 12:55:01 -07:00
fault_inject.c nvme: enable to inject errors into admin commands 2019-06-21 11:15:50 +02:00
fc.c nvme-fc: Use rq_dma_dir macro 2019-08-29 12:55:03 -07:00
Kconfig nvme: tcp: selects CRYPTO_CRC32C for nvme-tcp 2019-08-29 12:55:01 -07:00
lightnvm.c lightnvm: move metadata mapping to lower level driver 2019-08-06 08:20:10 -06:00
Makefile nvme-tcp: add NVMe over TCP host driver 2018-12-13 09:58:58 +01:00
multipath.c nvme-multipath: fix ana log nsid lookup when nsid is not found 2019-08-29 12:55:02 -07:00
nvme.h nvme: make fabrics command run on a separate request queue 2019-08-29 12:55:03 -07:00
pci.c nvme-pci: Tidy up nvme_unmap_data 2019-08-29 12:55:03 -07:00
rdma.c nvme-rdma: Use rq_dma_dir macro 2019-08-29 12:55:03 -07:00
tcp.c nvme: make fabrics command run on a separate request queue 2019-08-29 12:55:03 -07:00
trace.c nvme: trace: parse Get LBA Status command in detail 2019-08-29 12:55:01 -07:00
trace.h nvme-trace: print result and status in hex format 2019-06-21 11:12:37 +02:00