Details
-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
Lustre 2.4.0
-
ppc Linux client
-
3
-
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.
Attachments
Issue Links
- is related to
-
LU-6536 lum->lmm_stripe_count used unswabbed in llapi_layout_get_by_fd()
- Resolved
-
LU-3268 lod_verify_striping(): bad userland LOV MAGIC: 0xd00bd10b
- Resolved
-
LU-3284 some stripe ioctl() handling issues and questions
- Closed
-
LU-3602 make utility functions availalbe to user space
- In Progress