Re: getdents and dentry cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 30, 2013 at 03:07:06PM -0400, TR Reardon wrote:
> Just looking for a pointer or a brief history that might make clearer to me what is not currently obvious, having exhaustively scanned through this list and kernel source. ?
> 
> For filesystems such as ext2/3/4, getdents() just calls down to the underlying filesystem which in turns calls into the disk pagecache. ?Why is getdents() not instead serviced via dcache?

Er...  Just how would it be serviced via dcache?  dcache granularity is one
entry; getdents() is used to give _all_ entries in directory, present in
dcache or not.  Moreover, how would you get them in the right order, even
if all of them were present in dcache?
--
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




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux