[PATCH 2/3] NVMe: Don't use fake status on cancelled command

Christoph Hellwig hch at infradead.org
Thu Jun 11 08:23:48 PDT 2015


On Thu, Jun 11, 2015 at 02:15:31PM +0000, Keith Busch wrote:
> Yep, the first command issued is set features for number of queues. If
> this returns a valid non-successful NVMe status, the driver believes
> the controller is operational and can be managed, although no IO. If it
> returns a status < 0, the controller is believed to be non-operational
> and initialization will fail.
> 
> I used -EINTR to restore what used to be returned from the driver's
> original implementation, but it doesn't have to be this error.

Seems like a few other places use -EINTR the same, so let's keep it
for now and maybe replace all of them with something more sensible
in another step.



More information about the Linux-nvme mailing list