Re: [PATCH 1/2] lightnvm: add generic ocssd detection

From: Christoph Hellwig
Date: Sat Feb 25 2017 - 13:21:46 EST


On Fri, Feb 24, 2017 at 06:16:48PM +0100, Matias Bjørling wrote:
> More implementations of OCSSDs are becoming available. Adding each using
> pci ids are becoming a hassle. Instead, use a 16 byte string in the
> vendor-specific area of the identification command to identify an
> Open-Channel SSD.
>
> The large string should make the collision probability with other
> vendor-specific strings to be near nil.

No way in hell. vs is vendor specific and we absolutely can't overload
it with any sort of meaning. Get OCSSD support properly standardized and
add a class code for it. Until then it's individual PCI IDs.