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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: