[PATCH] drivers/nvme/host/pci: Fix the asynchronous detection issue of nvme devices

Bart Van Assche bvanassche at acm.org
Thu Jul 24 09:07:29 PDT 2025


On 7/20/25 11:51 AM, likunyu10 wrote:
> PROBE_PREFER_ASYNCHRONOUS asynchronous detection has a significant impact
> on important devices. For example, if a server has two or more nvme disk
> devices, it can cause disk loading disorder, which can also have a
> certain impact on actual production environments.

That's intentional. Please fix your user space code that uses hard-coded
NVMe block device names or introduce a mechanism in user space for block
devices that is similar to the predictable network interface names
mechanism. See also https://systemd.io/PREDICTABLE_INTERFACE_NAMES/.

Bart.



More information about the Linux-nvme mailing list