Hi Luis On 4/15/25 15:38, Luis Henriques wrote:
This patch adds a new mount option that will allow to set a workqueue to periodically invalidate expired dentries. When this parameter is set, every new (or revalidated) dentry will be added to a tree, sorted by expiry time. The workqueue period is set when a filesystem is mounted using this new parameter, and can not be less than 5 seconds.
I will look into it tomorrow. I wonder a bit if we can extend it to provide an LRU and to limit max cached dentries without a timeout. Need to think about details.
Thanks, Bernd