diff options
author | Hannes Reinecke <hare@suse.de> | 2021-05-21 10:23:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-16 11:54:58 +0200 |
commit | 90eaa3a1abae4046f39a00eacae49ae68328ad08 (patch) | |
tree | 192a8ea3552484bf53fc408bed78886b245b039f /drivers | |
parent | 57372e2926fe4796a3c25b1448cb041d8cfa3c78 (diff) | |
download | linux-stable-90eaa3a1abae4046f39a00eacae49ae68328ad08.tar.gz linux-stable-90eaa3a1abae4046f39a00eacae49ae68328ad08.tar.bz2 linux-stable-90eaa3a1abae4046f39a00eacae49ae68328ad08.zip |
nvme-fabrics: decode host pathing error for connect
[ Upstream commit 4d9442bf263ac45d495bb7ecf75009e59c0622b2 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
-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 05dd46f98441..3ae800e87999 100644 --- a/drivers/nvme/host/fabrics.c +++ b/drivers/nvme/host/fabrics.c @@ -344,6 +344,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", |