diff options
author | Mohammed Rafi KC <rkavunga@redhat.com> | 2015-02-17 20:17:58 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-02-17 20:09:54 -0800 |
commit | abcb2017b07b0706aef0d9eeb729115ca605ad6d (patch) | |
tree | 416f3cad19987c108a583af9f9fd581def12052e /libglusterfs/src/mem-types.h | |
parent | 7c6da2f7ceea2956197641b6cdb1e2f79cdb063e (diff) |
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 <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>
Diffstat (limited to 'libglusterfs/src/mem-types.h')
-rw-r--r-- | libglusterfs/src/mem-types.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |