[PATCH v3 3/3] nvme-rdma: Handle number of queue changes

Daniel Wagner dwagner at suse.de
Mon Aug 29 02:32:19 PDT 2022


On Mon, Aug 29, 2022 at 05:22:50PM +0800, Chao Leng wrote:
> > +	ret = nvme_rdma_start_io_queues(ctrl, nr_queues,
> > +					ctrl->tag_set.nr_hw_queues + 1);
> > +	if (ret)
> > +		goto out_wait_freeze_timed_out;
> nvme_rdma_start_io_queues(ctrl, 1, nr_queues) need to clean.

the teardown path in nvme_rdma_stop_io_queus() is using

   test_and_clear_bit(NVME_RDMA_Q_LIVE, &queue->flags)

when iterating over all nr_hw_queues.



More information about the Linux-nvme mailing list