[LU-16199] Ubuntu kernel version detection in ldiskfs patch series selection is not working properly Created: 30/Sep/22  Updated: 10/Oct/22  Resolved: 10/Oct/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.8, Lustre 2.15.1
Fix Version/s: Lustre 2.16.0

Type: Bug Priority: Trivial
Reporter: Åke Sandgren Assignee: Åke Sandgren
Resolution: Fixed Votes: 0
Labels: ubuntu

Epic/Theme: ldiskfs
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The code in config/lustre-build-ldiskfs.m4 for detecting Ubuntu kernel version is not working correctly.

A Ubuntu kernel version looks like 5.4.0-126-generic, the

AS_VERSION_COMPARE([$LINUXRELEASE],[5.8.0],[

code lines doesn't work as intended.



 Comments   
Comment by Gerrit Updater [ 03/Oct/22 ]

"ake sandgren <ake.sandgren@hpc2n.umu.se>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/48717
Subject: LU-16199 ldiskfs: make ubuntu kernel version detection better
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d09da1384b4c1064b712a39075ccedaa39b0ad31

Comment by Gerrit Updater [ 10/Oct/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48717/
Subject: LU-16199 ldiskfs: make ubuntu kernel version detection better
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 3f5227b04ed712d5b441a7735a4beacdbb099156

Comment by Peter Jones [ 10/Oct/22 ]

Landed for 2.16

Generated at Sat Feb 10 03:24:54 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.