[PATCH] nvmet: move async event work off nvmet-wq

Keith Busch kbusch at kernel.org
Tue Feb 17 10:16:38 PST 2026


On Sat, Feb 14, 2026 at 05:21:51PM -0800, Chaitanya Kulkarni wrote:
> @@ -26,6 +26,7 @@ static DEFINE_IDA(cntlid_ida);
>  
>  struct workqueue_struct *nvmet_wq;
>  EXPORT_SYMBOL_GPL(nvmet_wq);
> +struct workqueue_struct *nvmet_aen_wq;

Looks like you need to export this new symbol since rdma may be compiled
as a module.

> --- a/drivers/nvme/target/rdma.c
> +++ b/drivers/nvme/target/rdma.c
> @@ -2088,6 +2088,7 @@ static void nvmet_rdma_remove_one(struct ib_device *ib_device, void *client_data
>  	mutex_unlock(&nvmet_rdma_queue_mutex);
>  
>  	flush_workqueue(nvmet_wq);
> +	flush_workqueue(nvmet_aen_wq);
>  }



More information about the Linux-nvme mailing list