[PATCH v2 2/7] nvme: revise nvme_set_queue_count to return error on some nvme status codes

Christoph Hellwig hch at infradead.org
Sat May 12 06:34:53 PDT 2018


On Fri, May 11, 2018 at 05:50:23PM -0700, James Smart wrote:
> The status codes that transports may generate are NVME_SC_ABORT_REQ and
> NVME_SC_INTERNAL. In those cases, return a positive error value with the
> value being the status code.

No, your transport should not come up with fake nvme errors, sorry.

And we need this code to ignore errors to bring up various
PCIe controller in degraded conditions.



More information about the Linux-nvme mailing list