RDMA/rtrs-clt: Write path fast memory registration
With fast memory registration in write path, we can reduce the memory consumption by using less max_send_sge, support IO bigger than 116 KB (29 segments * 4 KB) without splitting, and it also make the IO path more symmetric. To avoid some times MR reg failed, waiting for the invalidation to finish before the new mr reg. Introduce a refcount, only finish the request when both local invalidation and io reply are there. Link: https://lore.kernel.org/r/20210621055340.11789-3-jinpu.wang@ionos.com Signed-off-by:Jack Wang <jinpu.wang@cloud.ionos.com> Signed-off-by:
Md Haris Iqbal <haris.iqbal@ionos.com> Signed-off-by:
Dima Stepanov <dmitrii.stepanov@ionos.com> Signed-off-by:
Jason Gunthorpe <jgg@nvidia.com>
Loading
Please register or sign in to comment