[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 02:48:07 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.

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...)



More information about the Linux-nvme mailing list