[LU-11051] remove obd_{get,put}ref() and call lov_{get,put}ref() directly Created: 23/May/18  Updated: 19/Jun/18  Resolved: 19/Jun/18

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

Type: Improvement Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

obd_getref() and obd_putref() are only used in the lov layer and only implemented by the lov layer. So they can be removed in favor of direct calls. Also the naming of these functions can be improved, since they do not manage references on the lov device but on its targets array.



 Comments   
Comment by Gerrit Updater [ 23/May/18 ]

John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/32529
Subject: LU-11051 obd: remove obd_

{get,put}

ref()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 853785b7b218edf617fdea9080b365e6c3aea55e

Comment by Gerrit Updater [ 14/Jun/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32529/
Subject: LU-11051 obd: remove obd_

{get,put}

ref()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0aeb8c251e852784451140f137faa361e04bfcc5

Comment by Peter Jones [ 19/Jun/18 ]

Landed for 2.12

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