[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170805135353.GA7526@infradead.org>
Date: Sat, 5 Aug 2017 06:53:53 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Hannes Reinecke <hare@...e.de>
Cc: Suganath Prabu S <suganath-prabu.subramani@...adcom.com>,
jejb@...nel.org, hch@...radead.org, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, Sathya.Prakash@...adcom.com,
kashyap.desai@...adcom.com, linux-kernel@...r.kernel.org,
chaitra.basappa@...adcom.com, sreekanth.reddy@...adcom.com,
linux-nvme@...ts.infradead.org
Subject: Re: [PATCH v2 00/13] mpt3sas driver NVMe support:
On Wed, Aug 02, 2017 at 10:14:40AM +0200, Hannes Reinecke wrote:
> I'm not happy with this approach.
> NVMe devices should _not_ appear as SCSI devices; this will just confuse
> matters _and_ will be incompatible with 'normal' NVMe devices.
>
> Rather I would like to see the driver to hook into the existing NVMe
> framework (which essentially means to treat the mpt3sas as a weird
> NVMe-over-Fabrics HBA), and expose the NVMe devices like any other NVMe HBA.
That doesn't make any sense. The devices behind the mpt adapter don't
look like NVMe devices at all for the hosts - there are no NVMe commands
or queues involved at all, they hide behind the same somewhat leaky
scsi abstraction as other devices behind the mpt controller.
The only additional leak is that the controller now supports NVMe-like
PRPs in additions to its existing two SGL formats.
Powered by blists - more mailing lists