[LU-5389] llite: optimize ll_fid2path() Created: 21/Jul/14  Updated: 25/Jul/14  Resolved: 25/Jul/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0, Lustre 2.5.2, Lustre 2.4.3
Fix Version/s: Lustre 2.7.0

Type: Bug Priority: Minor
Reporter: Frank Zago (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: patch

Severity: 3
Rank (Obsolete): 15003

 Description   

The only parameter from userspace that matters is the length of the
buffer. We don't need to allocate then import the whole structure. By
importing only that length, we can save a memory allocation.

Add sparse annotations to that function.



 Comments   
Comment by Frank Zago (Inactive) [ 21/Jul/14 ]

http://review.whamcloud.com/11167

Comment by James Nunez (Inactive) [ 25/Jul/14 ]

Landed to master.

Generated at Sat Feb 10 01:51:04 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.