[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: |
|
||||||||
| 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 |
| Comment by Gerrit Updater [ 08/Mar/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41452/ |
| Comment by Peter Jones [ 19/Mar/21 ] |
|
Landed for 2.15 |