[LU-2973] lov_mds_md not swabbed in ll_getxattr Created: 15/Mar/13 Updated: 29/Apr/15 Resolved: 24/May/13 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Ned Bass | Assignee: | Keith Mannthey (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | endianness, patch | ||
| Environment: |
ppc Linux client |
||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||
| Rank (Obsolete): | 7244 | ||||||||||||||||||||
| Description |
|
Striping data obtained via getxattr() is not byte-swapped before returning it to the user. The attached C program demonstrates the problem and produces the following output on a PPC client. Expected stripe size 2097152, got 8192 Expected stripe count 3, got 768 Expected lmm magic 0bd10bd0, got d00bd10b I've taken a stab at a fix which I'll push to gerrit. |
| Comments |
| Comment by Ned Bass [ 15/Mar/13 ] |
|
Patch for master is here: |
| Comment by Peter Jones [ 16/Mar/13 ] |
|
Keith Can you please take care of this one? Thanks Peter |
| Comment by Keith Mannthey (Inactive) [ 24/May/13 ] |
|
Userspace will deal with the swabbing. Patch abandoned. |
| Comment by Ned Bass [ 18/Jul/13 ] |
|
Verified complete, closing. |