Whamcloud - gitweb
LU-8056 o2iblnd: ib_query_device removed in 4.5 21/20221/7
authorLi Dongyang <dongyang.li@anu.edu.au>
Mon, 20 Jun 2016 02:46:30 +0000 (22:46 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 5 Jul 2016 23:48:54 +0000 (23:48 +0000)
commit31d6445718b896290198f5d127f86c174d499c6c
treee192b3a43c5e99c2fd00600ddf5f9563116a5e4f
parent2f52edac77f9d16e701272bf80028bfafe33edd6
LU-8056 o2iblnd: ib_query_device removed in 4.5

We should use the cached attributes in ib_device instead of
calling ib_query_device since kernel 4.5

Linux-commit:182a2da0c768a9ec64abb0d6009667057f1c06af
Linux-commit:cebfe5ca038e2a0f677b41e9682501708ffa2ff3

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