[LU-11861] master can't build with lock debug enabled Created: 15/Jan/19  Updated: 20/Sep/22  Resolved: 06/Feb/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.13.0, Lustre 2.12.10

Type: Bug Priority: Blocker
Reporter: Alexey Lyashkov Assignee: Alexey Lyashkov
Resolution: Fixed Votes: 0
Labels: None
Environment:

RHEL 7.4 debug kernel


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

/Users/c17817/work/Lustre/work-wc/LU-11413/lustre/lustre/obdclass/llog_cat.c: In function ‘llog_cat_prep_log’:
/Users/c17817/work/Lustre/work-wc/LU-11413/lustre/lustre/obdclass/llog_cat.c:284:42: error: ‘LLOGH_CAT’ undeclared (first use in this function)
down_read_nested(&cathandle->lgh_lock, LLOGH_CAT);
^
/Users/c17817/work/Lustre/work-wc/LU-11413/lustre/lustre/obdclass/llog_cat.c:284:42: note: each undeclared identifier is reported only once for each function it appears in
/Users/c17817/work/Lustre/work-wc/LU-11413/lustre/lustre/obdclass/llog_cat.c:285:47: error: ‘LLOGH_LOG’ undeclared (first use in this function)
down_write_nested(&(*ploghandle)->lgh_lock, LLOGH_LOG);



 Comments   
Comment by Gerrit Updater [ 15/Jan/19 ]

Alexey Lyashkov (c17817@cray.com) uploaded a new patch: https://review.whamcloud.com/34030
Subject: LU-11861 obdclass: fix build with debug kernel
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: cc7dffcb792dd1b0e9df2ecab865921dd854eb1e

Comment by Gerrit Updater [ 06/Feb/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34030/
Subject: LU-11861 obdclass: fix build with debug kernel
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 2dc87bb143e998e25585673b5f0ba7e2f317475e

Comment by Peter Jones [ 06/Feb/19 ]

Landed for 2.13

Comment by Gerrit Updater [ 05/Mar/21 ]

Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/41897
Subject: LU-11861 obdclass: fix build with debug kernel
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 8d7623013291f105707001ffbea517028d88f1fc

Comment by Gerrit Updater [ 20/Sep/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/41897/
Subject: LU-11861 obdclass: fix build with debug kernel
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: bcbee25b076161e993cea3e9762b896cdf289a9d

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