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

return the wrong size in ll_getxattr

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • None
    • None
    • 3
    • 9752

    Description

      In ll_getxattr,
      if (size == 0 && S_ISDIR(inode->i_mode)) {
      /* XXX directory EA is fix for now, optimize to save

      • RPC transfer */
        GOTO(out, rc = sizeof(struct lov_user_md));
        when size == 0, it return the size of lov_user_md(lov_user_md_v1) as the LOV size. And if we set pool inside default EA, the return size would be less than the actual EA size(lov_user_md_v3). Then we will get error during rsync (with enable xattr).

      Attachments

        Activity

          People

            di.wang Di Wang
            di.wang Di Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: