[LU-11511] ‘LMV_HASH_FLAG_DEAD’ undeclared Created: 12/Oct/18  Updated: 25/Nov/19  Resolved: 14/Aug/19

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: Qian Yingjin Assignee: Lai Siyao
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

lustre-release/lustre/lfsck/lfsck_striped_dir.c: In function ‘lfsck_read_stripe_lmv’:
/root/qian/LSOM/dom/lustre-release/lustre/lfsck/lfsck_striped_dir.c:871:30: error: ‘LMV_HASH_FLAG_DEAD’ undeclared (first us
!(lmv->lmv_hash_type & LMV_HASH_FLAG_DEAD)))
^
lustre-release/lustre/lfsck/lfsck_striped_dir.c:871:30: note: each undeclared identifier is reported onl
lustre-release/lustre/lfsck/lfsck_striped_dir.c: At top level:
cc1: error: unrecognized command line option "-Wno-format-truncation" [-Werror]

 

This build problem is same as LU-9995 :lbuild error: 'LMV_HASH_FLAG_DEAD' undeclared (first use in this function)



 Comments   
Comment by Oleg Drokin [ 12/Oct/18 ]

yeah, we don't need to be deprecating it this soon

Comment by Gerrit Updater [ 12/Oct/18 ]

Oleg Drokin (green@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33356
Subject: LU-11511 fix build breakage with LMV_HASH_FLAG_DEAD undeclared
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 269725175f2c93d660a2c877a9a478d1554fbffb

Comment by Gerrit Updater [ 12/Oct/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33356/
Subject: LU-11511 fix build breakage with LMV_HASH_FLAG_DEAD undeclared
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 5f4ca70b2aa45174907d3924b63bd953180674fe

Comment by Peter Jones [ 12/Oct/18 ]

Landed for 2.12

Comment by Oleg Drokin [ 12/Oct/18 ]

We cannot close this ticket since we will forget about it come 2.13 time.

We need to leave this open and have somebody actually work on defusing the timebomb.

Comment by Lai Siyao [ 09/Jul/19 ]

https://review.whamcloud.com/#/c/35318/ has removed this flag, this ticket can be closed after landing the patch.

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