Support for Lustre Servers on Ubuntu 14.04/16.04 Kernel 4.4.0 (LU-9564)

[LU-10526] Ubuntu Kernel 4.4.0 lacks IB_DEVICE_SG_GAPS_REG and IB_MR_TYPE_SG_GAPS symbols Created: 17/Jan/18  Updated: 11/Sep/18  Resolved: 25/Jan/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.2
Fix Version/s: Lustre 2.11.0

Type: Technical task Priority: Minor
Reporter: Martin Schröder Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None
Environment:

Distribution: Ubuntu 14.04/16.04
Kernel: 4.4.0-*


Issue Links:
Blocker
is blocking LU-9564 Support for Lustre Servers on Ubuntu ... Resolved
Epic/Theme: lnet
Epic: lnet
Rank (Obsolete): 9223372036854775807

 Description   

Recently, a change has been merged to "lnet/klnds/o2iblnd/o2iblnd.c" which introduces the usage of IB_DEVICE_SG_GAPS_REG and IB_MR_TYPE_SG_GAPS.

Unfortunately, these symbols are not available in the 4.4.0 Kernels as used by Ubuntu 14/16.

Additionally, there seems to be general warning against their use:

Also, there is a related performance issue as reported in LU-10394.

 

The solution is to create a preprocessor guard around their use, so that Kernels lacking these symbols will not use them and revert to using the older IB_MR_TYPE_MEM_REG, instead.



 Comments   
Comment by Gerrit Updater [ 17/Jan/18 ]

Martin Schroeder (martin.h.schroeder@intel.com) uploaded a new patch: https://review.whamcloud.com/30893
Subject: LU-10526 build: Ubuntu Kernel 4.4.0 lacks symbols used by o2iblnd.c
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: cbffd11b4b7da1d252541b46c54439d59b594272

Comment by Gerrit Updater [ 25/Jan/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30893/
Subject: LU-10526 build: Ubuntu Kernel 4.4.0 lacks symbols used by o2iblnd.c
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 73ff9cb8de7a7515f98694deab4afc7df1f8d3b2

Comment by Peter Jones [ 25/Jan/18 ]

Landed for 2.11

Comment by Minh Diep [ 25/Jan/18 ]

according to ashehata, we don't need this in LTS 2.10.x

Generated at Sat Feb 10 02:35:52 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.