Thread (40 messages) 40 messages, 6 authors, 2022-11-13

Re: [PATCH 11/12] nvme-pci: split the initial probe from the rest path

From: Keith Busch <kbusch@kernel.org>
Date: 2022-11-09 15:51:47
Also in: asahi, linux-nvme

On Tue, Nov 08, 2022 at 04:02:51PM +0100, Christoph Hellwig wrote:
nvme_reset_work is a little fragile as it needs to handle both resetting
a live controller and initializing one during probe.  Split out the initial
probe and open code it in nvme_probe and leave nvme_reset_work to just do
the live controller reset.
By enabling the controller in probe, you are blocking subsequent
controllers from probing in parallel. Some devices take a very long time
to complete enable, so serializing this process may significantly
increase a system reset time for one with even a modest number of nvme
drives.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help