[PATCH] nvme: Boot as soon as the boot controller has been probed
Sagi Grimberg
sagi at grimberg.me
Sun Nov 8 14:13:11 EST 2020
> The following two issues have been introduced by commit 1811977568e0
> ("nvme/pci: Use async_schedule for initial reset work"):
> - The boot process waits until all NVMe controllers have been probed
> instead of only waiting until the boot controller has been probed.
> This slows down the boot process.
> - Some of the controller probing work happens asynchronously without
> the device core being aware of this.
>
> Hence this patch that makes all probing work happen from nvme_probe()
> and that tells the device core to probe multiple NVMe controllers
> concurrently by setting PROBE_PREFER_ASYNCHRONOUS.
This would make the controller instance inconsistent across reboots
which is annoying for some users.
More information about the Linux-nvme
mailing list