[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: |
|
||||||||||||||||||||
| 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. |