[PATCH V2] nvme: report capacity 0 for non supported ZNS SSDs
Hannes Reinecke
hare at suse.de
Wed Nov 4 09:46:02 EST 2020
On 11/4/20 3:29 PM, hch at lst.de wrote:
> On Wed, Nov 04, 2020 at 03:26:46PM +0100, Hannes Reinecke wrote:
>> I hardly dare to mention bsg here; but the is pretty similar to what it set
>> out to do ...
>
> Except that:
>
> a) we created a complete mess with bsg by overloading the scsi ioctls
> with some of the transport stuff.
> b) bsg would not work with existing tools. A character device that
> accepts the same ioctl will just work.
>
... as would a bsg device which could accept said ioctl ...
Plus it feels a bit weird, having a generic command passthrough
character device which is then avoided in favour of a protocol-specific
command passthrough device.
Which we had been arguing for years with IHVs for _not_ doing it.
So what is different here?
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
More information about the Linux-nvme
mailing list