From b1de1f2a45499c8253ae8a15ee908707846efcc4 Mon Sep 17 00:00:00 2001 From: Jerry Jelinek Date: Fri, 22 Nov 2019 15:20:23 +0000 Subject: [PATCH] 11847 The nvme cmd completion queue is contentious [fix SmartOS incompatibility] --- usr/src/uts/common/io/nvme/nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/src/uts/common/io/nvme/nvme.c b/usr/src/uts/common/io/nvme/nvme.c index 3bfa5b67a7..66ec51c209 100644 --- a/usr/src/uts/common/io/nvme/nvme.c +++ b/usr/src/uts/common/io/nvme/nvme.c @@ -3314,7 +3314,7 @@ nvme_remove_callback(dev_info_t *dip, ddi_eventcookie_t cookie, void *a, * requested cmd to unqueue. */ u_cmd = nvme_unqueue_cmd(nvme, qp, cmd->nc_sqe.sqe_cid); - taskq_dispatch_ent((taskq_t *)cmd->nc_nvme->n_cmd_taskq, + taskq_dispatch_ent(qp->nq_cq->ncq_cmd_taskq, cmd->nc_callback, cmd, TQ_NOSLEEP, &cmd->nc_tqent); ASSERT3P(u_cmd, ==, cmd); -- 2.45.2