From: keith.busch@intel.com (Keith Busch)
Subject: [PATCH v3] NVMe: Add controller state for scheduling resets
Date: Tue, 31 May 2016 19:05:37 -0400 [thread overview]
Message-ID: <20160531230537.GI24107@localhost.localdomain> (raw)
In-Reply-To: <201605312224.u4VMNvZS024236@mx0a-001b2d01.pphosted.com>
On Tue, May 31, 2016@07:24:48PM -0300, Guilherme G. Piccoli wrote:
> But imagine a scenario I have multiple nvme devices and want to upgrade the
> firmware for only one. In this case, the procedure is to reset_controller
> only the specific device after the fw activation.
> modprobe the driver in this case it too much.
I agree module reload would be heavy handed in your scenario, but just
trying to establish what conditions you really need the quirk to work.
> Now, the quirk needs 2 sec delay, not so big, but not so small value either.
> Would be _desirable_ to have such distinguishing, although we can live
> without it I guess.
The module is typically only loaded once on boot. The driver probes all
controllers in a background task, so it shouldn't be blocking anything
that doesn't need to run IO to the drive. Is the added 2 seconds there
really harming the experience?
> But since you just sent the patch unifying the resets, I thought worth
> asking you if it's possible to include some kind of differentiation, or if
> such feature already exists (and I wasn't able to find heheh)
You can know if the controller was initialized once before if it has an
allocated admin tag set.
next prev parent reply other threads:[~2016-05-31 23:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-31 21:25 [PATCH v3] NVMe: Add controller state for scheduling resets Keith Busch
2016-05-31 22:10 ` Guilherme G. Piccoli
[not found] ` <201605312210.u4VM8qNZ046737@mx0a-001b2d01.pphosted.com>
2016-05-31 22:26 ` Keith Busch
2016-05-31 22:24 ` Guilherme G. Piccoli
[not found] ` <201605312224.u4VMNvZS024236@mx0a-001b2d01.pphosted.com>
2016-05-31 23:05 ` Keith Busch [this message]
2016-05-31 23:23 ` Guilherme G. Piccoli
2016-06-01 8:03 ` Christoph Hellwig
2016-06-01 13:29 ` Guilherme G. Piccoli
2016-06-01 7:21 ` Johannes Thumshirn
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=20160531230537.GI24107@localhost.localdomain \
--to=keith.busch@intel.com \
/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