nvme defintions not used in the kernel

Jens Axboe axboe at fb.com
Wed Jun 28 16:13:00 PDT 2017


On 06/28/2017 05:11 PM, Christoph Hellwig wrote:
> Hi all,
> 
> currently nvme-cli supports various nvme features that are not
> needed in the kernel and keeps them in its own nvme.h file,
> in addition to pulling in the kernel one.
> 
> Do we want to keep it that way in the long run, or just add
> things to nvme.h in the kernel even if they are not used to
> keep things in a single place.
> 
> To me the latter would seem a little nicer, especially as it
> doesn't involve a whole lot of defintion.

I'd vote for the latter as well. It's nice for documentation as
well, often easier than grabbing the spec if you are in the driver
anyway.

-- 
Jens Axboe




More information about the Linux-nvme mailing list