Thread (5 messages) 5 messages, 5 authors, 2021-05-25

Re: [PATCH] nvme-fabrics: decode host pathing error for connect

From: Himanshu Madhani <hidden>
Date: 2021-05-21 17:28:44


On 5/21/21 3:23 AM, Hannes Reinecke wrote:
quoted hunk ↗ jump to hunk
Add an additional decoding for 'host pathing error' during connect.

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
  drivers/nvme/host/fabrics.c | 5 +++++
  1 file changed, 5 insertions(+)
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",
Reviewed-by: Himanshu Madhani <redacted>

-- 
Himanshu Madhani                                Oracle Linux Engineering

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help