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

fs/lustre: recognize soft-links on file open #12172

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

edgargabriel
Copy link
Member

the llapi_file_get_stripe() function does not accept as an input file a soft-link. Check therefore whether the filename provided in File_open is a soft-link, retrieve the real file name in case it is, make sure it is also on a Lustre file system, and use the real filename in the llapi_file_get_stripe() function call instead.

Fixes issue #12141

Signed-off-by: Edgar Gabriel [email protected]
(cherry picked from commit c6a6c25)

the llapi_file_get_stripe() function does not accept as an input file a
soft-link. Check therefore whether the filename provided in File_open
is a soft-link, retrieve the real file name in case it is, make sure
it is also on a Lustre file system, and use the real filename in the
llapi_file_get_stripe() function call instead.

Fixes issue open-mpi#12141

Signed-off-by: Edgar Gabriel <[email protected]>
(cherry picked from commit c6a6c25)
@github-actions github-actions bot added this to the v5.0.1 milestone Dec 19, 2023
@wenduwan wenduwan merged commit 4acc76a into open-mpi:v5.0.x Dec 21, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants