From: hch@infradead.org (Christoph Hellwig)
Subject: How to improve long suspend time in `nvme_shutdown_ctrl`
Date: Wed, 18 Oct 2017 00:45:23 -0700 [thread overview]
Message-ID: <20171018074523.GA20872@infradead.org> (raw)
In-Reply-To: <72b666c9-dd57-ef87-e89e-ba280f34e90c@molgen.mpg.de>
On Tue, Oct 17, 2017@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.
next prev parent reply other threads:[~2017-10-18 7:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-17 20:33 How to improve long suspend time in `nvme_shutdown_ctrl` Paul Menzel
2017-10-18 7:45 ` Christoph Hellwig [this message]
2017-10-18 10:58 ` Paul Menzel
2017-10-18 15:02 ` Keith Busch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171018074523.GA20872@infradead.org \
--to=hch@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).