[PATCH] nvme-multipath: allocate MQ disk

Keith Busch kbusch at kernel.org
Thu Jun 9 10:49:49 PDT 2022


On Thu, Jun 09, 2022 at 01:37:34PM -0400, Vitaly Mayatskikh wrote:
> @@ -490,7 +490,7 @@ int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl, struct nvme_ns_head *head)
>  	    !nvme_is_unique_nsid(ctrl, head) || !multipath)
>  		return 0;
>  
> -	head->disk = blk_alloc_disk(ctrl->numa_node);
> +	head->disk = blk_mq_alloc_disk(ctrl->tagset, NULL);

No, we don't use request based queues for stacking drivers. Especially not one
that re-uses the same tagset with the lower layer it stacks on.



More information about the Linux-nvme mailing list