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

clean up MDD orphan handling code style

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.4.0
    • 5525

    Description

      Clean up the code style of the MDD orphan handling, since there are numerous extraneous wrapper functions and abstractions that do not improve the code readability, and functions that are used outside of mdd_orphan.c should keep the mdd_ prefix for consistency.

      Also the orphan nlink handling in osd_object_ref_{add,del}(), which is based on ldiskfs_{inc,dec}_link(), is missing a fix compared to the upstream kernel, and is implemented in a manner that is more complex than needed.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: