Re: [PATCH] nvme-rdma: parallelize I/O queue allocation and startup

From: Surabhi Gogte (she/her)

Date: Tue Jun 02 2026 - 12:19:25 EST


On Fri, May 29, 2026 at 4:50 PM Keith Busch <kbusch@xxxxxxxxxx> wrote:
>
> On Thu, May 28, 2026 at 06:13:54PM -0600, Surabhi Gogte wrote:
> > Refactor nvme rdma I/O queue setup to use parallel work queues,
> > combining allocation and startup into a single parallel operation per
> > queue. This reduces connection and reconnection setup time when there
> > are delays in establishing connections, which is especially important
> > for high-core-count hosts.
>
> Seems like a good idea.
>

Thank you for the review!

> > +struct workqueue_struct *nvme_setup_wq;
> > +EXPORT_SYMBOL_GPL(nvme_setup_wq);
>
> RDMA is the only one using it, so I don't think we want burden the
> common core with this. But I also think a new workqueue is overkill.
> Just use the async APIs. Suggestions below:
>

Plan was to extend nvme_setup_wq for other transports later.
But we can use async APIs for that too. I will send a v2 version.