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

remove "_object" from method names

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.10.0
    • Labels:
    • Rank (Obsolete):
      9223372036854775807

      Description

      Lots of OSD dt_object_operations method implementations have _object in the name, but the actual method name does not (e.g. lod_object_write_lock() for the .dt_write_lock() method). This makes it difficult to trace which function is implementing a particular method without first having to jump through the method declaration table.

      Since we already know that these functions are operating on objects (by virtue of being in the dt_object_operations table) there is no value in having _object in the function name. Rename the functions to match the method name (e.g. lod_write_lock() for .dt_write_lock()).

        Attachments

          Activity

            People

            • Assignee:
              adilger Andreas Dilger
              Reporter:
              adilger Andreas Dilger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: