Re: negative dentries wasting ram

Alexander Viro
2002-05-24T16:25:50Z

On Fri, 24 May 2002, Andrea Arcangeli wrote:

> it's not a common case to delete a file and then to try to access it,

I'm less than sure about that.

> while there are common cases that wants to avoid stale dentries around
> for deleted files.

Keep in mind that e.g. rm -rf on a tree _will_ evict the dentries in
question, so quite a few of these cases actually don't leave the stuff
behind.