Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-1185 FID on OST
  3. LU-2682

clean up direct _id and _seq access, use ost_id everywhere

Details

    • Technical task
    • Resolution: Fixed
    • Major
    • Lustre 2.4.0
    • Lustre 2.4.0
    • None
    • 6269

    Description

      There are a number of cleanups that should be done for the ost_id members of various structures.

      Access/copying the individual _id and _seq fields should be replaced with the _oi field, and compatibility macros for accessing the individual fields should be removed.

      POID/DOID macros should be introduced to print out the _oi fields, similar to PFID/DFID is used for lu_fid fields. Johann had a patch for doing some of this in http://review.whamcloud.com/2004 that needs to be refreshed and resubmitted.

      Attachments

        Issue Links

          Activity

            [LU-2682] clean up direct _id and _seq access, use ost_id everywhere
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.4.0 [ 10154 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-2684 [ LU-2684 ]
            adilger Andreas Dilger made changes -
            Description New: There are a number of cleanups that should be done for the ost_id members of various structures.

            Access/copying the individual _id and _seq fields should be replaced with the _oi field, and compatibility macros for accessing the individual fields should be removed.

            POID/DOID macros should be introduced to print out the _oi fields, similar to PFID/DFID is used for lu_fid fields. Johann had a patch for doing some of this in http://review.whamcloud.com/2004 that needs to be refreshed and resubmitted.
            adilger Andreas Dilger created issue -

            People

              di.wang Di Wang
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: