[PATCHv2] nvme: Remove SCSI translations

Linda Knippers linda.knippers at hpe.com
Fri Jun 30 13:31:30 PDT 2017


On 06/30/2017 03:38 PM, Keith Busch wrote:
> On Fri, Jun 30, 2017 at 12:44:11PM +0000, Elliott, Robert (Persistent Memory) wrote:
>>
>> As Linda and Micah mentioned, this violates a cardinal linux kernel rule -
>> it breaks user space.
>>
>> Please:
>> 1. Incorporate the TEST UNIT READY bug fix now.
>> 2. Add a WARN_ONCE printing a message that the interface that was just
>> used is deprecated and will go away, and modify the CONFIG description
>> to include that warning too.
>> 3. Wait a few kernel cycles before really removing it.
> 
> I really want to emphasize a few points here:
> 
> The linux nvme driver support for SG_IO was never really working in the
> first place. We can't break what's broken.

It was working well enough that people are using it.

> We're not making any nvme features unreachable by deleting broken
> interfaces. The driver has supported a real NVMe management interface
> since day 1, and open source tooling for it is freely available. These
> tools are also part of many distribution's package repositories.
> 
> The NVMe translation for TUR has been broken for years and you didn't
> notice. 

As I said, it was working well enough until recently.  We noticed
the problem when the recent code was pulled into an enterprise distro
where we do most of our production/customer testing.  David Milburn
posted a simple patch to fix at least the part that we're using.  I
can't speak for other people who may be using other parts.

> Your WARN proposal won't do you any good in that case, but
> it certainly puts a burden on the developers trying to progress and
> enhance NVMe.

I don't see how this prevents enhancing NVMe.  It seems like a
reasonable transition.

> The distributions supporting SCSI translations for NVMe are already
> applying out of tree patches to enable them.

All of them?  Are you sure?

-- ljk
> 
> _______________________________________________
> Linux-nvme mailing list
> Linux-nvme at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-nvme
> 



More information about the Linux-nvme mailing list