Linus Torvalds writes: (Summary) Even if we did a perfect
job at shrinking them and took no time at all doing so, the fact that
you can generate an effecitvely infinite amount of negative dentries
and then polluting the dentry hash chains with them _could_ be a
performance problem.
performance problem.
No sane application does that, and we handle the "obvious" cases already: ie if you create a lot of files in a deep subdirectory and then do "rm -rf dir", we *will* throw the negative dentries away as we remove the directories they are in.
performance problem.
No sane application does that, and we handle the "obvious" cases already: ie if you create a lot of files in a deep subdirectory and then do "rm -rf dir", we *will* throw the negative dentries away as we remove the directories they are in.