nvme-fc: Fail transport errors with NVME_SC_HOST_PATH
authorJames Smart <james.smart@broadcom.com>
Tue, 6 Aug 2019 07:14:06 +0000 (00:14 -0700)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 12 Sep 2019 15:50:45 +0000 (08:50 -0700)
commit74bd8cbe7dd64c50623cf0dc20eaeaab6b68d3d6
tree7c050ab12abd98c26ba3cfa0663f5deedf90b2e9
parent16686010085f46783c895f8736e4f0ae74ae88a0
nvme-fc: Fail transport errors with NVME_SC_HOST_PATH

NVME_SC_INTERNAL should indicate an internal controller errors
and not host transport errors. These errors will propagate to
upper layers (essentially nvme core) and be interpereted as
transport errors which should not be taken into account for
namespace state or condition.

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>
drivers/nvme/host/fc.c