]>
git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async/rdma: cosmetics post_chunks_to_rq implementation
1. It's not proper to allocate large space in stack. e.g. rx_queue_len is 4096.
The patch changes to allocate rx_work_request and isge in heap.
2. Set rx_work_request and isge array whole space into zero which could avoid
setting the space into zero one by one in the while loop.
3. Change parameter name "num" to be "rq_wr_num" to improve readiness
rq_wr_num i.e. receive-queue_work-request_number
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>