[LU-8589] remove "_object" from method names Created: 07/Sep/16  Updated: 16/May/17  Resolved: 16/May/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.10.0

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: easy

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()).



 Comments   
Comment by Gerrit Updater [ 16/Sep/16 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: http://review.whamcloud.com/22542
Subject: LU-8589 osd: remove "object" from method function names
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e88b531afeaa9e5477089b49d020da20aa7e5cbd

Comment by Gerrit Updater [ 16/May/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/22542/
Subject: LU-8589 osd: remove "object" from method function names
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 434eeba4d33d9ddd871cff080d51534081bb3d30

Generated at Sat Feb 10 02:18:52 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.