Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-2973

lov_mds_md not swabbed in ll_getxattr

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a Bug
    • Affects Version/s: Lustre 2.4.0
    • Fix Version/s: None
    • Labels:
    • Environment:
      ppc Linux client
    • 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                keith Keith Mannthey (Inactive)
                Reporter:
                nedbass Ned Bass
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: