[PATCH-4.7 1/3] NVMe: Return ENODEV error on invalid namespace

Christoph Hellwig hch at infradead.org
Tue May 3 00:58:21 PDT 2016


On Mon, May 02, 2016 at 11:12:06AM -0600, Keith Busch wrote:
> If there is no namespace associated with the request, return an error
> code that notifies the application the device isn't there.

I think we're heading in the wrong direction here.  I actually had some
discussion with Jens and Marting on how we should get rid of overloading
random errnos in the block layer and instead have block layer error
codes.

What applications care?  And where are the meanings of these error
codes documented?



More information about the Linux-nvme mailing list