[PATCH] nvmet: release the sq ref on rdma read errors

Christoph Hellwig hch at infradead.org
Wed May 10 09:55:31 PDT 2017


On Thu, May 04, 2017 at 03:51:09PM -0700, Vijay Immanuel wrote:
> Thanks for the feedback. Here's an updated patch.
> ----
> 
> On rdma read errors, release the sq ref that was taken
> when the req was initialized. This avoids a hang in
> nvmet_sq_destroy() when the queue is being freed.
> 
> Signed-off-by: Vijay Immanuel <vijayi at attalasystems.com>

Looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linux-nvme mailing list