Skip to content

Make eviction strategy in dir cache link-aware - #3630

Closed
peterebden wants to merge 5 commits into
thought-machine:masterfrom
peterebden:dir-cache-link-aware-eviction
Closed

peterebden wants to merge 5 commits into
thought-machine:masterfrom
peterebden:dir-cache-link-aware-eviction

Conversation

@peterebden

@peterebden peterebden commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

First part of #3629

Accounts for links in cache files so when cleaning we don't free things from the cache that are actively used elsewhere. We bump mtime on retrieve and use that to evict instead of atime (which is not usually updated frequently, most things mount with relatime).

@peterebden
peterebden force-pushed the dir-cache-link-aware-eviction branch from db987d6 to 7f6dff6 Compare October 24, 2026 09:04
@peterebden peterebden closed this Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant