[LU-14396] cache llapi_search_mounts() result Created: 25/Sep/18  Updated: 02/Feb/21

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Lustre Manual Triage
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-11264 llapi_* routines demonstrate poor per... Open
Rank (Obsolete): 9223372036854775807

 Description   

Both llapi_open_by_fid() and llapi_layout_get_by_path() call llapi_search_mounts() for each call, but will typically be called with the same parameters each time. It would be useful to have an in-memory (LRU, maybe even a single entry) cache for the results for a given query to avoid the overhead.


Generated at Sat Feb 10 03:09:22 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.