[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 ref() |
| Comment by Gerrit Updater [ 14/Jun/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32529/ ref() |
| Comment by Peter Jones [ 19/Jun/18 ] |
|
Landed for 2.12 |