[PATCH] nvmet-rdma: Don't use the inline buffer in order to avoid allocation for small reads

Sagi Grimberg sagi at grimberg.me
Wed Aug 3 03:37:00 PDT 2016


>>> 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.
>
> We will never POST it for a SEND, but it would be used as the target
> of RDMA READ / WRITE operations.

Jason's comment still holds.



More information about the Linux-nvme mailing list