Thread (4 messages) 4 messages, 3 authors, 2021-10-04

Re: [PATCH] nvme-fabrics: Use shutdown timeout on disconnect

From: Daniel Wagner <hidden>
Date: 2021-10-01 11:12:09

On Thu, Sep 30, 2021 at 10:56:34AM -0400, Martin Belanger wrote:
quoted hunk ↗ jump to hunk
@@ -244,8 +257,8 @@ int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val)
 	cmd.prop_set.offset = cpu_to_le32(off);
 	cmd.prop_set.value = cpu_to_le64(val);
 
-	ret = __nvme_submit_sync_cmd(ctrl->fabrics_q, &cmd, NULL, NULL, 0, 0,
-			NVME_QID_ANY, 0, 0);
+	ret = __nvme_submit_sync_cmd(ctrl->fabrics_q, &cmd, NULL, NULL, 0,
+				     timeout, NVME_QID_ANY, 0, 0);
If I am not mistaken nvmf_connect_io_queue() suffers from the same
problem.

_______________________________________________
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