Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* inverting order of NVMe pci enable/disable device during boot/shutdown? Failing release.
@ 2019-08-07 21:04 Jeff Johnson
  2019-08-07 21:30 ` Keith Busch
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Johnson @ 2019-08-07 21:04 UTC (permalink / raw)


Greetings,

Is there a way to invert the order of PCI device enable/disable during
boot or shutdown?

I have an attached NVMe SSD chassis with 24 SSDs. I have discovered
that on random host shutdowns that the last couple NVMe SSDs get left
in a bad state after they are unregistered by the kernel. Out of 24
SSDs all but the last one or two successfully remain at their
negotiated speed and width after release. The last one, or sometimes
two, SSDs to be released get stuck in a polling state (gen1, 0width)
which will not clear or resolve unless the PCIe switch is reset.

Multiple backplanes and moving SSDs doesn't change the fact that it is
always the last one or two SSDs to release on host orderly shutdown.

If I can swap the order of drive reserve/release on boot and shutdown
then I could determine if the issue follows the physical path or the
last drives in the release process.

Thanks!

--Jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-07 21:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-07 21:04 inverting order of NVMe pci enable/disable device during boot/shutdown? Failing release Jeff Johnson
2019-08-07 21:30 ` Keith Busch
2019-08-07 21:36   ` Jeff Johnson
2019-08-07 21:54     ` Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox