Re: [PATCH/RFC] VFS: don't keep disconnected dentries on d_anon

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

 



On Thu, Dec 21, 2017 at 09:45:40AM +1100, NeilBrown wrote:
> -c/ Helper routines to allocate anonymous dentries, and to help attach
> +   prefix.  If the refcount on a dentry with this flag set
> +   becomes zero, the dentry is immediately discarded, rather than being
> +   kept in the dcache.  If a dentry that is not already in the dcache
> +   is repeatedly accessed by filehandle (as NFSD might do), an new dentry
> +   will be a allocated for each access, and discarded at the end of

s/a //

> +   the access.  As there is no parent, children, or name in the dentry
> +   is it unlikely that there will be any useful information to lose,
> +   and allocating a new dentry should normally be fast.

How about:

As the dentry is completely unattached, there is little information to
lose, and allocating a new dentry is normally fast.




[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