Details

    • Technical task
    • Resolution: Done
    • Minor
    • None
    • None
    • None
    • 9223372036854775807

    Description

      Soon after it mounts a file system a client will ask for a sequence of file IDs to be preassigned to it. This fosters an efficiency in that it doesn't need to wait for the FID to be assigned at the time it needs it and it can get many at once.

      This is done in a "lazy" way in that the client does not issue the request until the first time it needs a FID. The PtlRPC SEQ_QUERY accomplishes this. The MDT returns a FID sequence number, which is a 64 bit unsigned that acts as the first half of any of the FID's in the sequence. The second half is the object ID (32 bits) and the version (32 bits) as documented in lustre/include/lustre/lustre_user.h in the "struct lu_fid".

      Expand on the above and incorporate it into the file_id.txt portion of the protocol document.

      Attachments

        Activity

          [LUDOC-283] Improve discussion of file IDs.
          uselton Andrew Uselton (Inactive) made changes -
          Resolution New: Done [ 10000 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

          This appears in the discussion of 'struct lu_fid'. It is in the struct_lu_fid.txt portion of the sources.

          uselton Andrew Uselton (Inactive) added a comment - This appears in the discussion of 'struct lu_fid'. It is in the struct_lu_fid.txt portion of the sources.
          uselton Andrew Uselton (Inactive) made changes -
          Description Original: Soon after it mounts a file system a client will ask for a sequence of file IDs to be preassigned to it. This fosters an efficiency in that it doesn't need to wait for the FID to be assigned at the time it needs it and it can get many at once.

          This is done in a "lazy: way in that the client does not issue the request untill the first time it needs a FID. The PtlRPC SEQ_QUERY accomplishes this. The MDT returns a FID sequence number, which is a 64 bit unsigned that acts as the first have of any of the FID's in the sequence. The second half is the object ID (32 bits) and the version (32 bits) as documented in lustre/include/lustre/lustre_user.h in the "struct lu_fid".

          Expand on the above and incorporate it into the file_id.txt portion of the protocol document.
          New: Soon after it mounts a file system a client will ask for a sequence of file IDs to be preassigned to it. This fosters an efficiency in that it doesn't need to wait for the FID to be assigned at the time it needs it and it can get many at once.

          This is done in a "lazy" way in that the client does not issue the request until the first time it needs a FID. The PtlRPC SEQ_QUERY accomplishes this. The MDT returns a FID sequence number, which is a 64 bit unsigned that acts as the first half of any of the FID's in the sequence. The second half is the object ID (32 bits) and the version (32 bits) as documented in lustre/include/lustre/lustre_user.h in the "struct lu_fid".

          Expand on the above and incorporate it into the file_id.txt portion of the protocol document.
          uselton Andrew Uselton (Inactive) made changes -
          Assignee Original: Jodi Levi [ jlevi ] New: Andrew Uselton [ uselton ]
          uselton Andrew Uselton (Inactive) made changes -
          Parent New: LUDOC-280 [ 29563 ]
          Severity Original: 3 [ 10022 ]
          Issue Type Original: Bug [ 1 ] New: Technical task [ 7 ]
          uselton Andrew Uselton (Inactive) created issue -

          People

            uselton Andrew Uselton (Inactive)
            uselton Andrew Uselton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: