From abcb2017b07b0706aef0d9eeb729115ca605ad6d Mon Sep 17 00:00:00 2001 From: Mohammed Rafi KC Date: Tue, 17 Feb 2015 20:17:58 +0530 Subject: rdma: pre-register iobuf_pool with rdma devices. registring buffers with rdma device is a time consuming operation. So performing registration in code path will decrease the performance. Using a pre registered memory will give a bettor performance, ie, register iobuf_pool during rdma initialization. For dynamically created arena, we can register with all the device. Change-Id: Ic79183e2efd014c43faf5911fdb6d5cfbcee64ca BUG: 1187456 Signed-off-by: Mohammed Rafi KC Reviewed-on: http://review.gluster.org/9506 Tested-by: Gluster Build System Reviewed-by: Raghavendra G Tested-by: Raghavendra G --- libglusterfs/src/mem-types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src/mem-types.h') diff --git a/libglusterfs/src/mem-types.h b/libglusterfs/src/mem-types.h index dd24913278f..0db06f52c98 100644 --- a/libglusterfs/src/mem-types.h +++ b/libglusterfs/src/mem-types.h @@ -127,6 +127,7 @@ enum gf_common_mem_types_ { gf_common_mt_regex_t = 111, gf_common_mt_ereg = 112, gf_common_mt_wr = 113, + gf_common_mt_rdma_arena_mr = 114, gf_common_mt_end }; #endif -- cgit