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

lov_mds_md not swabbed in ll_getxattr

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • Lustre 2.4.0
    • ppc Linux client
    • 3
    • 7244

      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.

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

              Created:
              Updated:
              Resolved: