[LU-14583] llapi_file_get_stripe() should check for softlink Created: 05/Apr/21  Updated: 16/Jun/22  Resolved: 19/May/21

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

Type: Bug Priority: Major
Reporter: Mahmoud Hanafi Assignee: Peter Jones
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

MPI-IO using llapi_file_get_stripe() returns error, when trying to get striping info for a soft-link. llapi_file_get_stripe() returns “get_stripe failed: 61 (No data available)”

llapi_file_get_stripe should follow softlink.

The softlink point back to a file on lustre.



 Comments   
Comment by Peter Jones [ 06/Apr/21 ]

Mahmoud

Which version of MPI-IO are you using and who is the maintainer?

Thanks

Peter

Comment by Mahmoud Hanafi [ 06/Apr/21 ]

Open MPI: 4.1.1a1
Open MPI repo revision: v4.1.0-2-g5955da99f7

ompi_info | grep -in romio
187: MCA io: romio321 (MCA v2.1.0, API v2.0.0, Component v4.1.1)

Comment by Gerrit Updater [ 07/Apr/21 ]

John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/43229
Subject: LU-14583 llapi: handle symlinks in llapi_file_get_stripe()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 9455c334e9c62f0ec664201ea79565c86cba9ee5

Comment by Gerrit Updater [ 19/May/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43229/
Subject: LU-14583 llapi: handle symlinks in llapi_file_get_stripe()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: cd4caef54f63b6a0d26a90d879f378b7fe3d4862

Comment by Peter Jones [ 19/May/21 ]

Landed for 2.15

Comment by Mahmoud Hanafi [ 02/Jun/21 ]

Is this required on both server and clients?

Thanks

Comment by John Hammond [ 02/Jun/21 ]

> Is this required on both server and clients?

Clients only. This is a change to userspace libraries used by lfs.

Comment by Bjoern Olausson [ 16/Nov/21 ]

Will this fix be backported to 2.12.x?

 

Generated at Sat Feb 10 03:11:00 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.