Re: [PATCH 5/9] nvme: move the fast path nvme error and disposition helpers
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-10-13 06:58:11
Also in:
linux-nvme
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-10-13 06:58:11
Also in:
linux-nvme
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.