[PATCH V2] nvme: report capacity 0 for non supported ZNS SSDs

hch at lst.de hch at lst.de
Wed Nov 4 09:29:08 EST 2020


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.



More information about the Linux-nvme mailing list