Mercurial > illumos > git > illumos-joyent
changeset 24308:c9f8de6116fd
11847 The nvme cmd completion queue is contentious [fix SmartOS incompatibility]
author | Jerry Jelinek <jerry.jelinek@joyent.com> |
---|---|
date | Fri, 22 Nov 2019 15:20:23 +0000 |
parents | 7c46df760df5 |
children | d95bbae1166a |
files | usr/src/uts/common/io/nvme/nvme.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/io/nvme/nvme.c Fri Nov 22 12:29:14 2019 +0000 +++ b/usr/src/uts/common/io/nvme/nvme.c Fri Nov 22 15:20:23 2019 +0000 @@ -3314,7 +3314,7 @@ * 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);