Re: [PATCH v2 1/1] nvme-rdma: fix -EIO cleanup order in queue_rq
From: Keith Busch
Date: Wed Aug 19 2026 - 11:40:04 EST
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.