On Sun, 20 Apr 2025 at 06:49, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > > On Fri, Apr 11, 2025 at 11:40:28AM +0200, Miklos Szeredi wrote: > > > Except for shrink_dcache_parent() I don't see any uses. And it's also > > a question whether shrinking negative dentries is useful or not. > > One-word answer: umount. shink_dcache_sb() should work fine in that situation. The only thing it can't do is hunt down spurious references to dentries, but that's a debug thing and not something that is needed in production. Am I missing something? Thanks, Miklos