[PATCH 1/3] nvme: add missing unmaps in nvme_queue_rq

Christoph Hellwig hch at lst.de
Fri Oct 9 23:55:14 PDT 2015


On Sat, Oct 10, 2015 at 02:46:51AM +0300, Sagi Grimberg wrote:
> Would it be better to unmap the data sg once at error_cmd tag?

We'd need unmap versions of the error_cmd and retry_cmd goto labels,
which was too much churn for this quick fix.  Patch 3 now has a single
exit path with a ret variable for the helper this has been factored out
to, so this has been taken care off there.



More information about the Linux-nvme mailing list