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

osd_xattr_list() in osd-zfs returns -ERANGE for LU_BUF_NULL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • Lustre 2.4.0
    • Lustre 2.4.0
    • None
    • 3
    • 4438

      osd-zfs's osd_xattr_list(), when called in the mdt_getxattr_pack_reply() path, returns -ERANGE for the valid size query. This could lead to failures in sanity 17k and 56w. The function should return the size of the xattr list if the caller passes in a NULL buffer.

            mdiep Minh Diep - TLC
            liwei Li Wei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: