[Linux-cachefs] Re: [PATCH 3/7] FS-Cache: Avoid ENFILE checking for kernel-specific open files

Andrew Morton akpm at osdl.org
Fri Apr 21 00:11:18 UTC 2006


David Howells <dhowells at redhat.com> wrote:
>
>   (1) Each AFS or NFS _dentry_ retained in the system pins a file in the
>       backing cache if it's also cached, whether or not it's open.

That would seem to be a great shortcoming in fscache.

I guess as memory reclaim reaps the top-level dentries those file*'s will
also be freed up, leading to their dentries becoming reclaimable, leading
to their inodes being reclaimable.

But still.  Is it not possible to release those files-pinned-by-dcache when
the top-level files are closed?




More information about the Linux-cachefs mailing list