[LU-14405] 'lfs fid2path' failed with -ERANGE if directory has 8 stripes Created: 09/Feb/21  Updated: 05/May/21  Resolved: 19/Mar/21

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

Type: Bug Priority: Minor
Reporter: Lai Siyao Assignee: Lai Siyao
Resolution: Fixed Votes: 0
Labels: None

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

 Description   

mdt_path_current() uses mdt_thread_info.mti_xattr_buf to read LMV, whose size is static and can't hold LMV with 8 stripes. Instead, it should use the standard mdt_stripe_get() to read LMV which allocates dynamic memory to hold LMV.



 Comments   
Comment by Gerrit Updater [ 09/Feb/21 ]

Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41452
Subject: LU-14405 mdt: read LMV with mdt_stripe_get()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 3d1ff6cf566c89b2ab23fda98be18183e773257c

Comment by Gerrit Updater [ 08/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41452/
Subject: LU-14405 mdt: read LMV with mdt_stripe_get()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 9dbfa36d3dd2434cfcffa13f76beb89fa3516586

Comment by Peter Jones [ 19/Mar/21 ]

Landed for 2.15

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