[LU-11224] T10PI assume several kernel features are enabled. Created: 07/Aug/18  Updated: 21/Aug/18  Resolved: 18/Aug/18

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

Type: Bug Priority: Critical
Reporter: James A Simmons Assignee: Li Xi
Resolution: Fixed Votes: 0
Labels: None
Environment:

Power8 running 4.14 kernel. Can be any kernel with options assumed to be turned on.


Issue Links:
Related
is related to LU-11200 Centos 8 arm64 server support Resolved
is related to LU-11096 Lustre doesn't build if kernel has no... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

While porting to Power8 I ran into the following:

obdclass: Unknown symbol ip_compute_csum (err 0)

This is due to the new lustre T10Pi code assuming this is available. The same problem exist due to it assuming CONFIG_BLK_DEV_INTEGRITY is set.



 Comments   
Comment by Peter Jones [ 07/Aug/18 ]

Dongyang/Li Xi

Could you please advise?

Thanks

Peter

Comment by Gerrit Updater [ 07/Aug/18 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/32953
Subject: LU-11224 obd: use correct ip_compute_csum() version
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 05d5ce61514bdf12b3eab0b8fe0b639a892e9d48

Comment by Gerrit Updater [ 18/Aug/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32953/
Subject: LU-11224 obd: use correct ip_compute_csum() version
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 82fe90a1d07d08fdd4dd2fc3a9bc0d83926dad37

Comment by Peter Jones [ 18/Aug/18 ]

Landed for 2.12

Comment by Chris Horn [ 21/Aug/18 ]

FYI - I'm seeing a related compile bugĀ https://jira.whamcloud.com/browse/LU-11274

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