Whamcloud - gitweb
LU-9500 lnd: Don't Page Align remote_addr with FastReg 37/28237/2
authorDoug Oucharek <doug.s.oucharek@intel.com>
Tue, 16 May 2017 23:00:53 +0000 (16:00 -0700)
committerJohn L. Hammond <john.hammond@intel.com>
Mon, 7 Aug 2017 18:51:00 +0000 (18:51 +0000)
commitf87c7c2cee6fc5a0864a757917a414dc605554b3
tree5fa927008b493cc57beb3bdebfa230897ccbe451
parentdf511e8ae810352abb0839e92e02b342d53a79db
LU-9500 lnd: Don't Page Align remote_addr with FastReg

Trying to page align the remote_addr for IB_RDMA_WRITE work
requests is triggering "dump_cqe" errors from MOFED 4.x + mlx5.

This patch removes the address masking we were doing with FastReg
which was trying to page align remote_addr values. I am also
removing the setting of "mr->iova" with FastReg as this is being
done in the call to ib_map_mr_sg() and could cause problems.

Lustre-change: https://review.whamcloud.com/27149
Lustre-commit: 6c6341804133ea0a4d4535c621f28f61fe6c29ab

Signed-off-by: Doug Oucharek <doug.s.oucharek@intel.com>
Change-Id: If35baa467d8d60866f709b5feea7f619063c6da4
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/28237
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h
lnet/klnds/o2iblnd/o2iblnd_cb.c