Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
None
-
3
-
9223372036854775807
Description
The latest lustre code (New tag 2.10.53) commit 57fccbb3 is causing the following lbuild error:
https://build.hpdd.intel.com/job/lustre-reviews/50400/arch=x86_64,build_type=server,distro=el7,ib_stack=inkernel/console
/tmp/rpmbuild-lustre-buildbot-Wi8EL9Vz/BUILD/lustre-2.10.53_1_g63b8101/lustre/lfsck/lfsck_striped_dir.c: In function 'lfsck_read_stripe_lmv': /tmp/rpmbuild-lustre-buildbot-Wi8EL9Vz/BUILD/lustre-2.10.53_1_g63b8101/lustre/lfsck/lfsck_striped_dir.c:855: error: 'LMV_HASH_FLAG_DEAD' undeclared (first use in this function) /tmp/rpmbuild-lustre-buildbot-Wi8EL9Vz/BUILD/lustre-2.10.53_1_g63b8101/lustre/lfsck/lfsck_striped_dir.c:855: error: (Each undeclared identifier is reported only once /tmp/rpmbuild-lustre-buildbot-Wi8EL9Vz/BUILD/lustre-2.10.53_1_g63b8101/lustre/lfsck/lfsck_striped_dir.c:855: error: for each function it appears in.)
Seems related to this definition:
#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2, 10, 53, 0) /* Since lustre 2.8, this flag will not be needed, instead this DEAD * and orphan flags will be stored in LMA (see LMAI_ORPHAN) * Keep this flag just for LFSCK, because it still might meet such flag when it checks the old FS / #define LMV_HASH_FLAG_DEAD 0x40000000 #endif