[PATCH 5/9] nvme: move the fast path nvme error and disposition helpers

Christoph Hellwig hch at infradead.org
Tue Oct 12 23:57:06 PDT 2021


Please Cc the nvme list for nvme changes.

> -static inline enum nvme_disposition nvme_decide_disposition(struct request *req)
> -{
> -	if (likely(nvme_req(req)->status == 0))
> -		return COMPLETE;

I think the only part here that needs to be inline is this check.
The rest is all slow path error handling.



More information about the Linux-nvme mailing list