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.