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

Noisy "mdt_attr_valid_xlate()) Unknown attr bits: 0x60000"

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • Lustre 2.7.0, Lustre 2.10.5
    • None
    • 3
    • 9223372036854775807

    Description

      When testing 2.12.0 clients against 2.10.5 servers, the server log was filled up by this kind of message: 

      LustreError: 14950:0:(mdt_lib.c:961:mdt_attr_valid_xlate()) Unknown attr bits: 0x60000
      LustreError: 14950:0:(mdt_lib.c:961:mdt_attr_valid_xlate()) Skipped 3853 previous similar messages

       

      2.12 clients are sending RPC with LSOM attributes, matching this 0x60000, that 2.10 servers do not understand. The error looks more to me like a warning as the server will simply ignore the LSOM attributes.

      static __u64 mdt_attr_valid_xlate(__u64 in, struct mdt_reint_record *rr,
                                        struct md_attr *ma)
      {
      
                  ...
      
                  in &= ~(MDS_ATTR_MODE | MDS_ATTR_UID | MDS_ATTR_GID | MDS_ATTR_PROJID |
                      MDS_ATTR_ATIME | MDS_ATTR_MTIME | MDS_ATTR_CTIME |
                      MDS_ATTR_ATIME_SET | MDS_ATTR_CTIME_SET | MDS_ATTR_MTIME_SET |
                      MDS_ATTR_SIZE | MDS_ATTR_BLOCKS | MDS_ATTR_ATTR_FLAG |
                      MDS_ATTR_FORCE | MDS_ATTR_KILL_SUID | MDS_ATTR_KILL_SGID |
                      MDS_ATTR_FROM_OPEN | MDS_OPEN_OWNEROVERRIDE);
                  if (in != 0)
                      CERROR("Unknown attr bits: %#llx\n", in);
                  return out;
      }

       

      I think we should make that at least a warning, of even maybe a debug.

      What do you think? I can send a patch for that, based on your preference.

       

      Attachments

        Issue Links

          Activity

            [LU-11928] Noisy "mdt_attr_valid_xlate()) Unknown attr bits: 0x60000"
            jgmitter Joseph Gmitter (Inactive) made changes -
            Fix Version/s Original: Lustre 2.13.0 [ 14290 ]
            adilger Andreas Dilger made changes -
            Resolution New: Duplicate [ 3 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Fix Version/s Original: Lustre 2.10.7 [ 14401 ]
            Fix Version/s Original: Lustre 2.12.1 [ 14406 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by LU-12021 [ LU-12021 ]
            adilger Andreas Dilger made changes -
            Affects Version/s New: Lustre 2.7.0 [ 10631 ]
            adilger Andreas Dilger made changes -
            Priority Original: Minor [ 4 ] New: Major [ 3 ]
            pjones Peter Jones made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Aurelien Degremont [ degremoa ]
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.10.7 [ 14401 ]
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.13.0 [ 14290 ]
            Fix Version/s New: Lustre 2.12.1 [ 14406 ]
            degremoa Aurelien Degremont (Inactive) made changes -
            Description Original: When testing 2.12.0 clients against 2.10.5 servers, the server log was filled up by this kind of message: 
            {noformat}
            LustreError: 14950:0:(mdt_lib.c:961:mdt_attr_valid_xlate()) Unknown attr bits: 0x60000
            LustreError: 14950:0:(mdt_lib.c:961:mdt_attr_valid_xlate()) Skipped 3853 previous similar messages{noformat}
             

            2.12 clients are sending RPC with LSOM attributes, matching this 0x60000. The error looks more to me like a warning as the server will simply ignore the LSOM attributes.
            {code:java}
            static __u64 mdt_attr_valid_xlate(__u64 in, struct mdt_reint_record *rr,
                                              struct md_attr *ma)
            {

                        ...

                        in &= ~(MDS_ATTR_MODE | MDS_ATTR_UID | MDS_ATTR_GID | MDS_ATTR_PROJID |
                            MDS_ATTR_ATIME | MDS_ATTR_MTIME | MDS_ATTR_CTIME |
                            MDS_ATTR_ATIME_SET | MDS_ATTR_CTIME_SET | MDS_ATTR_MTIME_SET |
                            MDS_ATTR_SIZE | MDS_ATTR_BLOCKS | MDS_ATTR_ATTR_FLAG |
                            MDS_ATTR_FORCE | MDS_ATTR_KILL_SUID | MDS_ATTR_KILL_SGID |
                            MDS_ATTR_FROM_OPEN | MDS_OPEN_OWNEROVERRIDE);
                        if (in != 0)
                            CERROR("Unknown attr bits: %#llx\n", in);
                        return out;
            }{code}
             

            I think we should make that at least a warning, of even maybe a debug.

            What do you think? I can send a patch for that, based on your preference.

             
            New: When testing 2.12.0 clients against 2.10.5 servers, the server log was filled up by this kind of message: 
            {noformat}
            LustreError: 14950:0:(mdt_lib.c:961:mdt_attr_valid_xlate()) Unknown attr bits: 0x60000
            LustreError: 14950:0:(mdt_lib.c:961:mdt_attr_valid_xlate()) Skipped 3853 previous similar messages{noformat}
             

            2.12 clients are sending RPC with LSOM attributes, matching this 0x60000, that 2.10 servers do not understand. The error looks more to me like a warning as the server will simply ignore the LSOM attributes.
            {code:java}
            static __u64 mdt_attr_valid_xlate(__u64 in, struct mdt_reint_record *rr,
                                              struct md_attr *ma)
            {

                        ...

                        in &= ~(MDS_ATTR_MODE | MDS_ATTR_UID | MDS_ATTR_GID | MDS_ATTR_PROJID |
                            MDS_ATTR_ATIME | MDS_ATTR_MTIME | MDS_ATTR_CTIME |
                            MDS_ATTR_ATIME_SET | MDS_ATTR_CTIME_SET | MDS_ATTR_MTIME_SET |
                            MDS_ATTR_SIZE | MDS_ATTR_BLOCKS | MDS_ATTR_ATTR_FLAG |
                            MDS_ATTR_FORCE | MDS_ATTR_KILL_SUID | MDS_ATTR_KILL_SGID |
                            MDS_ATTR_FROM_OPEN | MDS_OPEN_OWNEROVERRIDE);
                        if (in != 0)
                            CERROR("Unknown attr bits: %#llx\n", in);
                        return out;
            }{code}
             

            I think we should make that at least a warning, of even maybe a debug.

            What do you think? I can send a patch for that, based on your preference.

             

            People

              degremoa Aurelien Degremont (Inactive)
              degremoa Aurelien Degremont (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: