summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/mem-types.h
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2015-02-17 20:17:58 +0530
committerRaghavendra Bhat <raghavendra@redhat.com>2015-03-27 04:34:08 -0700
commit7febb66a26f01c94f8e76bb90cf4edd7c6cc1421 (patch)
treefc455167a14965ac54490af2acbc08ad480a5d6c /libglusterfs/src/mem-types.h
parentd21990e093d99d8adbacae1ba2c56ff7606e2c37 (diff)
rdma: pre-register iobuf_pool with rdma devices.
Back port pf : http://review.gluster.org/9506 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: 1202212 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com> Reviewed-on: http://review.gluster.org/9506 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-on: http://review.gluster.org/9889 Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'libglusterfs/src/mem-types.h')
-rw-r--r--libglusterfs/src/mem-types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/mem-types.h b/libglusterfs/src/mem-types.h
index 4f566f9ec57..4359488c5f9 100644
--- a/libglusterfs/src/mem-types.h
+++ b/libglusterfs/src/mem-types.h
@@ -126,6 +126,7 @@ enum gf_common_mem_types_ {
gf_common_mt_strfd_data_t = 110,
gf_common_mt_regex_t = 111,
gf_common_mt_wr = 112,
+ gf_common_mt_rdma_arena_mr = 113,
gf_common_mt_end
};
#endif