Skip to content

Commit 4d9442b

Browse files
hreineckeChristoph Hellwig
authored andcommitted
nvme-fabrics: decode host pathing error for connect
Add an additional decoding for 'host pathing error' during connect. Signed-off-by: Hannes Reinecke <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent f25f8ef commit 4d9442b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/nvme/host/fabrics.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,11 @@ static void nvmf_log_connect_error(struct nvme_ctrl *ctrl,
336336
cmd->connect.recfmt);
337337
break;
338338

339+
case NVME_SC_HOST_PATH_ERROR:
340+
dev_err(ctrl->device,
341+
"Connect command failed: host path error\n");
342+
break;
343+
339344
default:
340345
dev_err(ctrl->device,
341346
"Connect command failed, error wo/DNR bit: %d\n",

0 commit comments

Comments
 (0)