[LU-11000] Retain cached dentries under directory update lock Created: 04/May/18  Updated: 05/Dec/23

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

Type: Improvement 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-10999 Use readdir cache for lookup when ava... Open
is related to LU-17329 Relaxed POSIX Consistency for Lustre Open
Rank (Obsolete): 9223372036854775807

 Description   

In line with LU-10999 we should be able to retain directory entries in cache on the clients even without update locks assuming we have UPDATE lock on the parent directory.

Currently this mostly affects various opens that are routinely answered without any LOOKUP bit set.

We already have the code that iterates all the children when a directory UPDATE lock is canceled in search of negative dentries, so we can use that to also prune all such lockless dentries too.


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