[LU-4986] lustre_types.h gone Created: 30/Apr/14 Updated: 05/Apr/18 Resolved: 05/Apr/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question/Request | Priority: | Major |
| Reporter: | Susan Coulter | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | llnl | ||
| Environment: |
LLNL TOSS/chaos version toss-release-2.1-3.ch5.1 |
||
| Issue Links: |
|
||||||||||||
| Rank (Obsolete): | 13810 | ||||||||||||
| Description |
|
One of our codes is expected to find lustre_types.h in order to compile in use of lustre. Apparently that header file does not exist any longer. This is holding up validation of our new cluster. Here is some info on the lustre client. root@wf001:/usr/include# rpm -qf /usr/include/lustre root@wf001:/usr/include# rpm -ql lustre | grep include Thanx in advance. |
| Comments |
| Comment by John Hammond [ 30/Apr/14 ] |
|
Hi Susan, Looking at lustre_types.h for 1.8 and lustre/lustre_user.h from 2.1 it appears that the latter should have what you need. If not try including lustre/lustre_idl.h. |
| Comment by Christopher Morrone [ 02/May/14 ] |
|
This is a duplicate of I would mostly discourage users from including lustre_user.h or replying on its contents. I do recognize however that some things in there may just be necessary right now. I strongly discourage any external applications users from including lustre_idl.h. lustre_idl.h constantly has problems compiling in user space (see The good news is that lustre_types.h probably did not contain anything that your users actually needed directly. I would have them remove that include and instead use: #include <liblustreapi.h> Note that we transitioned from liblustreapi.h to lustreapi.h in lustre 2.4, but fortunately this time we did it in a backwards compatible way. So liblustreapi.h should continue to work for a number of years. |