Re: [PATCH 3/7] FS-Cache: Avoid ENFILE checking for kernel-specificopen files

From: Andrew Morton
Date: Thu Apr 20 2006 - 20:12:24 EST


David Howells <dhowells@xxxxxxxxxx> 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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/