Re: [PATCH] nvmet-rdma: Don't use the inline buffer in order to avoid allocation for small reads
From: Sagi Grimberg <hidden>
Date: 2016-08-03 09:48:07
Also in:
linux-nvme
From: Sagi Grimberg <hidden>
Date: 2016-08-03 09:48:07
Also in:
linux-nvme
quoted
that is currently being sent (its a rare race condition, but theoretically possible). The reason is that we repost the inline data buffer for receive before we post the send request. We used to have?? The same buffer is posted at the same time for send and recv? That is never OK, SRQ or not.
I agree. But I agree its a shame to lose this. Maybe if we over-allocate cmds and restore the receive repost to be after the send completion? I'm not too fond of that either (it's not just commands but also inline pages...) -- 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