Thread (11 messages) 11 messages, 6 authors, 2016-06-15

Re: [PATCH 4/5] nvmet-rdma: add a NVMe over Fabrics RDMA target driver

From: Christoph Hellwig <hidden>
Date: 2016-06-14 14:31:39
Also in: linux-block, linux-nvme, lkml

Possibly related (same subject, not in this thread)

On Thu, Jun 09, 2016 at 06:03:51PM -0500, Steve Wise wrote:
The above nvmet cm event handler, nvmet_rdma_cm_handler(), calls
nvmet_rdma_queue_connect() for CONNECT_REQUEST events, which calls
nvmet_rdma_alloc_queue (), which, if it encounters a failure (like creating
the qp), calls nvmet_rdma_cm_reject () which calls rdma_reject().  The
non-zero error, however, gets returned back here and this function returns
the error to the RDMA_CM which will also reject the connection as well as
destroy the cm_id.  So there are two rejects happening, I think.  Either
nvmet should reject and destroy the cm_id, or it should do neither and
return non-zero to the RDMA_CM to reject/destroy.
Can you just send a patch?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help