Whamcloud - gitweb
LU-10089 o2iblnd: use IB_MR_TYPE_SG_GAPS 51/29551/3
authorAmir Shehata <amir.shehata@intel.com>
Tue, 10 Oct 2017 19:26:56 +0000 (12:26 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Oct 2017 07:34:54 +0000 (07:34 +0000)
commit1b609396e468949f2420f14fed5ebfc999366b62
tree2e03efb114d9c17ea6f5c2d3bf85d84d79edfa1b
parent1755c9f628c2a9f240c1d78765c4d4dd74c46e99
LU-10089 o2iblnd: use IB_MR_TYPE_SG_GAPS

When allocating fastreg buffers use IB_MR_TYPE_SG_GAPS
instead of IB_MR_TYPE_MEM_REG, since the fragments we provide
the fast registration API can have gaps. MEM_REG doesn't handle
that case.

Test-Parameters: trivial
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I36dba6f676fdbc60730aed7c50d71f2a6b7c2549
Reviewed-on: https://review.whamcloud.com/29551
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Doug Oucharek <dougso@me.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/klnds/o2iblnd/o2iblnd.c