commit | 549f01ae7b913355bea76100d3f17694bc9ec769 | [log] [tgz] |
---|---|---|
author | Vijay Immanuel <vijayi@attalasystems.com> | Mon May 08 16:38:35 2017 -0700 |
committer | Jens Axboe <axboe@fb.com> | Sat May 20 10:11:34 2017 -0600 |
tree | b94a9dc76ab613e79ee59549afc22100e203362d | |
parent | 4b8ba5fa525bc8bdaaed2a5c5433f0f2008d7bc5 [diff] |
nvmet: release the sq ref on rdma read errors 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@attalasystems.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>