Re: [PATCH v2 1/1] nvme-rdma: fix -EIO cleanup order in queue_rq
Keith Busch <[email protected]>
| Newsgroups | org.infradead.lists.linux-nvme,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <aoXMlj33ku943CHm@kbusch-mbp> |
On Wed, Aug 19, 2026 at 02:30:00PM +0800, Xixin Liu wrote: > On -EIO, the RDMA queue_rq path reports a host path error and then > still cleans up the command and unmaps the SQE DMA. The path error > helper completes the request, so that is double cleanup and DMA unmap > after the request is already complete. > > Unmap the SQE first, then report the host path error. Skip the outer > command cleanup on that path. Thanks, applied to nvme-7.3.