[PATCH] nvme: restore use of blk_path_error() in nvme_complete_rq()

Sagi Grimberg sagi at grimberg.me
Thu Aug 6 20:44:46 EDT 2020


Hey Mike,

> Regardless, reading back on this thread, I think there is at least some
> consensus about reverting commit 35038bffa87 ("nvme: Translate more
> status codes to blk_status_t") ?

We can probably make NVME_SC_CMD_INTERRUPTED an I/O error, its the
closest there is to something that is somewhat close to its meaning,
at least for some interpretation.. Although BLK_STS_TARGET is also
semantically correct from another interpretation.

> And on a related note, building on the thread I started here (but
> haven't heard back from any NVMe maintainers on):
> https://www.redhat.com/archives/dm-devel/2020-July/msg00051.html
> I'd also be happy as a pig in shit if this patch were applied:

I'll reply to the other thread.



More information about the Linux-nvme mailing list