[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 |
| Comment by Gerrit Updater [ 16/May/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/22542/ |