Whamcloud - gitweb
LU-6215 o2iblnd: port to new fast reg API introduced in 4.4 86/19186/5
authorLi Dongyang <dongyang.li@anu.edu.au>
Wed, 4 May 2016 17:11:15 +0000 (13:11 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 16 May 2016 16:48:04 +0000 (16:48 +0000)
commit2366ba2b6f8ac2a6eeff796e89f1df9ce7ac546e
tree9dd4c9f1213764a8afb228c5d7ea07dba4165939
parentbccfc65d04dbd59bedb5dc1509bbdc732fc09b53
LU-6215 o2iblnd: port to new fast reg API introduced in 4.4

Remove the allocation of fastreg page list, as the page
vector is now private to the provider. Just pass tx_frags
to ib_map_mr_sg() and construct ib_reg_wr.
Defer the conversion of tx_frags to tx_pages and only do
it when the new API is not available.

Linux-commit: 4c67e2bfc8b7121d51434362fa7c2d012f8bcf1b
Linux-commit: 39bfc271bd687be2c8e396e976c0fb9a97963400

Signed-off-by: Li Dongyang <dongyang.li@anu.edu.au>
Change-Id: I5c62b0370ad6ddcc93102a29343491968e4446d0
Reviewed-on: http://review.whamcloud.com/19186
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/autoconf/lustre-lnet.m4
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h
lnet/klnds/o2iblnd/o2iblnd_cb.c