Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility Lustre 2.15.3 #130

Open
b-vm opened this issue Jul 19, 2023 · 1 comment
Open

Compatibility Lustre 2.15.3 #130

b-vm opened this issue Jul 19, 2023 · 1 comment

Comments

@b-vm
Copy link

b-vm commented Jul 19, 2023

Uncommenting this was necessary to run make rpm for Lustre 2.15.3:

/* A new LL_IOC_MDC_GETINFO has been defined since Lustre 2.12.4,
* but it doesn't return a struct stat.
* Use the old (compatible) ioctl() instead.
*/
#ifdef IOC_MDC_GETFILEINFO_OLD
# define IOC_MDC_GETFILEINFO_V1 IOC_MDC_GETFILEINFO_OLD
#else
# define IOC_MDC_GETFILEINFO_V1 IOC_MDC_GETFILEINFO
#endif

The error it caused before I uncommented that:

image

@AeonJJohnson
Copy link

Uncommenting? Or commenting it out? Builds failed for me on 2.15.2 unless I commented out 854->858.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants