diff options
author | Hannes Reinecke <hare@suse.de> | 2021-05-21 10:23:46 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-05-25 09:21:16 +0200 |
commit | 4d9442bf263ac45d495bb7ecf75009e59c0622b2 (patch) | |
tree | 84e44519eea9b0aee8d39df65f49781a826cb016 /drivers/nvme/host | |
parent | f25f8ef70ce2e85bae1a266dd5de714aefda81d2 (diff) |
nvme-fabrics: decode host pathing error for connect
Add an additional decoding for 'host pathing error' during connect.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host')
-rw-r--r-- | drivers/nvme/host/fabrics.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/nvme/host/fabrics.c b/drivers/nvme/host/fabrics.c index a2bb7fc63a73..34a84d2086c7 100644 --- a/drivers/nvme/host/fabrics.c +++ b/drivers/nvme/host/fabrics.c @@ -336,6 +336,11 @@ static void nvmf_log_connect_error(struct nvme_ctrl *ctrl, cmd->connect.recfmt); break; + case NVME_SC_HOST_PATH_ERROR: + dev_err(ctrl->device, + "Connect command failed: host path error\n"); + break; + default: dev_err(ctrl->device, "Connect command failed, error wo/DNR bit: %d\n", |