[LU-10999] Use readdir cache for lookup when available Created: 04/May/18  Updated: 05/Dec/23

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

Type: New Feature Priority: Major
Reporter: Oleg Drokin Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-3308 large readdir chunk size slows unlink... Reopened
is related to LU-4096 Do not allocate large buffer for read... Resolved
is related to LU-17329 Relaxed POSIX Consistency for Lustre Open
is related to LU-11000 Retain cached dentries under director... Open
Rank (Obsolete): 9223372036854775807

 Description   

It looks like when we have a fully (and even not so fully?) populated readdir cache under update lock on the client, we could be using that for lookup.

Obvious benefit is ability to have negative lookups without any RPCs. Benefits for positive lookups are a bit less certain since even for things like unlinks the permission check would need more data (if we don't yet have the inode cached), though potentially we can still use that with better performance.


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