How to improve long suspend time in `nvme_shutdown_ctrl`
Christoph Hellwig
hch at infradead.org
Wed Oct 18 00:45:23 PDT 2017
On Tue, Oct 17, 2017 at 10:33:56PM +0200, Paul Menzel wrote:
> Is that the right register to read? Can this be improved? If not, is that a
> firmware bug?
Take a look at nvme_shutdown_ctrl - it's pretty simple.
It asks the device to shut down, and then polls the controller status
register every 10 milliseconds if the shutdown has completed.
So the drive performs as expected, but it is indeed rather slow.
More information about the Linux-nvme
mailing list