[LU-6241] osd--ldiskfs no longer compiles on SLES11 SP3 Created: 12/Feb/15  Updated: 12/Feb/15  Resolved: 12/Feb/15

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

Type: Bug Priority: Critical
Reporter: James A Simmons Assignee: Bob Glossman (Inactive)
Resolution: Not a Bug Votes: 0
Labels: ldiskfs, suse
Environment:

Any SLES11 SP3 server environment.


Severity: 2
Rank (Obsolete): 17481

 Description   

Started to do some testing on my SLES11 SP3 test machine to discover this build error.

In file included from /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c:71:
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h: In function ‘ldiskfs_get_htree_eof’:
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1094: error: ‘FMODE_32BITHASH’ undeclared (first use in this function)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1094: error: (Each undeclared identifier is reported only once
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1094: error: for each function it appears in.)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1095: error: ‘FMODE_64BITHASH’ undeclared (first use in this function)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1096: error: ‘LDISKFS_HTREE_EOF_32BIT’ undeclared (first use in this function)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1098: error: ‘LDISKFS_HTREE_EOF_64BIT’ undeclared (first use in this function)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c: In function ‘osd_it_ea_init’:
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c:5002: error: ‘FMODE_64BITHASH’ undeclared (first use in this function)
/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c:5004: error: ‘FMODE_32BITHASH’ undeclared (first use in this function)
make[8]: *** [/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.o] Error 1
make[7]: *** [/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs] Error 2
make[6]: *** [/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre] Error 2
make[5]: *** [_module_/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94] Error 2

I tracked it down to a missing patch for ldiskfs.



 Comments   
Comment by Gerrit Updater [ 12/Feb/15 ]

James Simmons (uja.ornl@gmail.com) uploaded a new patch: http://review.whamcloud.com/13751
Subject: LU-6241 ldiskfs: missing ldiskfs patch for SLES11 SP3
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d1945647188edb304438b7bee6657891479f3848

Comment by Bob Glossman (Inactive) [ 12/Feb/15 ]

what sles11sp3 kernel version are you seeing this build failure on? I don't see it in current sles11sp3.

I think the change you are trying to make in the patch you applied already exists upstream in the latest sles11sp3 kernel ext4 source.

Comment by James A Simmons [ 12/Feb/15 ]

3.0.101-0.35.1. The kernel to old?

Comment by Bob Glossman (Inactive) [ 12/Feb/15 ]

yes. current is 3.0.101-0.46. we only support the latest of any given distro.

Comment by Bob Glossman (Inactive) [ 12/Feb/15 ]

note that officially supported versions are shown in lustre/ChangeLog. see 3.0.101-0.46 listed there

Comment by James A Simmons [ 12/Feb/15 ]

Its been a long time since I played with SLES11 SP3

Comment by Bob Glossman (Inactive) [ 12/Feb/15 ]

James, you aren't that out of date. we've been on -0.46 since the beginning of the year. it just seems like forever.

Comment by James A Simmons [ 12/Feb/15 ]

In that case this ticket can be closed.

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