On Thu, May 28, 2009 at 01:43:40PM +0200, Miklos Szeredi wrote: > On Thu, 28 May 2009, Nick Piggin wrote: > > Please humour a relative vfs/procfs newbie... Why do filesystems insist that > > a dentry must be !DCACHE_UNHASHED in order to work in /proc/pid/fd/? I can't > > find the code that checks this, and pipefs fds for example _seems_ to work in > > proc/pid with this patch applied... > > I suspect this is more of an optimization: the old code tries not to > burden the global dentry cache with all the anonymous pipes, sockets, > etc. since they won't ever be looked up from the cache. But I also couldn't see that the flag causes the dcache to put the entry in the hash or not... -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html