[LU-6212] listxattr() on HSM released file does not return lustre.lov Created: 05/Feb/15 Updated: 30/Jan/22 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | hsm, lov, xattr | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 17382 | ||||||||
| Description |
|
For a regular file ll_listxattr() will only emit a lustre.lov xattr name if the member lli_has_smd of the associated lli is true. lli_has_smd is initialized using lsm_has_objects() which returns false for released LSMs. Hence an HSM released file does not return lustre.lov from listxattr(). Explicitly calling getxattr() to request lustre.lov will return the attribute. But it will not have the correct stripe count. See LU-6211. |