Article 5Z1T4 [$] Dealing with negative dentries

[$] Dealing with negative dentries

by
jake
from LWN.net on (#5Z1T4)
The problem of negative dentries accumulating in the dentry cache in anunbounded manner, as we looked at back inApril, came up at the2022 Linux Storage,Filesystem, Memory-management and BPF Summit (LSFMM).Negative dentries reflect failed file-name lookups, which are then cached,saving an expensive operation if the file name in question is looked upagain. There is no mechanism to proactively prune back those cacheentries, however, so the cache keeps growing until memory pressure finallycauses the system to forcibly evict some of them, which can make the systemunresponsive for a long time or even cause a soft lockup.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments