From: Christoph Hellwig <hch@lst.de>
To: Keith Busch <kbusch@kernel.org>
Cc: "Christoph Hellwig" <hch@lst.de>,
"Matias Bjørling" <m@bjorling.me>,
dlemoal@kernel.org, cassel@kernel.org,
linux-nvme@lists.infradead.org, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Matias Bjørling" <matias.bjorling@wdc.com>
Subject: Re: [PATCH 1/2] nvme: make independent ns identify default
Date: Thu, 10 Oct 2024 09:53:51 +0200 [thread overview]
Message-ID: <20241010075351.GA7525@lst.de> (raw)
In-Reply-To: <ZwaZoJayzu6XZom1@kbusch-mbp>
On Wed, Oct 09, 2024 at 08:56:32AM -0600, Keith Busch wrote:
> On Wed, Oct 09, 2024 at 09:46:11AM +0200, Christoph Hellwig wrote:
> > On Tue, Oct 08, 2024 at 04:55:02PM +0200, Matias Bjørling wrote:
> > > However, the independent namespace data structure
> > > is mandatory for devices that implement features from the 2.0+
> > > specification. Therefore, we can check this data structure first. If
> > > unavailable, retrieve the generic attributes from the NVM command set
> > > identify namespace data structure.
> >
> > I'm not a huge fan of this. For pre-2.0 controllers this means
> > we'll now send a command that will fail most of them time. And for
> > all the cheap low-end consumer device I'm actually worried that they'll
> > get it wrong and break something.
>
> We already send identify commands that we expect may break on pre-2.0
> controllers: the Identify NS Descriptor List.
Identify NS Descriptor List is mandatory starting with NVMe 1.3. We only
issue it for 1.3 or if the controller advertises supporting multiple
command sets.
next prev parent reply other threads:[~2024-10-10 7:54 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-08 14:55 [PATCH 0/2] nvme: add rotational support Matias Bjørling
2024-10-08 14:55 ` [PATCH 1/2] nvme: make independent ns identify default Matias Bjørling
2024-10-09 6:16 ` Hannes Reinecke
2024-10-09 13:59 ` Matias Bjørling
2024-10-09 7:46 ` Christoph Hellwig
2024-10-09 13:19 ` Matias Bjørling
2024-10-10 14:47 ` Daniel Wagner
2024-10-10 15:02 ` Matias Bjørling
2024-10-09 14:56 ` Keith Busch
2024-10-10 7:53 ` Christoph Hellwig [this message]
2024-10-08 14:55 ` [PATCH 2/2] nvme: add rotational support Matias Bjørling
2024-10-09 6:17 ` Hannes Reinecke
2024-10-09 7:48 ` Christoph Hellwig
2024-10-09 13:09 ` Matias Bjørling
2024-10-08 15:13 ` [PATCH 0/2] " Keith Busch
2024-10-08 22:04 ` Keith Busch
2024-10-09 12:56 ` Matias Bjørling
2024-10-08 15:26 ` Martin K. Petersen
2024-10-09 7:43 ` Christoph Hellwig
2024-10-09 13:27 ` Matias Bjørling
2024-10-09 15:39 ` Keith Busch
2024-10-09 18:04 ` Matias Bjørling
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=20241010075351.GA7525@lst.de \
--to=hch@lst.de \
--cc=cassel@kernel.org \
--cc=dlemoal@kernel.org \
--cc=kbusch@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=m@bjorling.me \
--cc=matias.bjorling@wdc.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;
as well as URLs for NNTP newsgroup(s).