[PATCH V2] nvme-pci: fix race condition between reset and nvme_dev_disable()

Keith Busch kbusch at kernel.org
Thu Oct 17 11:08:39 PDT 2024


On Tue, Oct 15, 2024 at 01:21:00PM +0200, Maurizio Lombardi wrote:
> nvme_dev_disable() modifies the dev->online_queues field, therefore
> nvme_pci_update_nr_queues() should avoid racing against it, otherwise
> we could end up passing invalid values to blk_mq_update_nr_hw_queues().

Thanks, applied to nvme-6.12.



More information about the Linux-nvme mailing list