[Linux-cachefs] [PATCH] CacheFiles: Provide read-and-reset release counters for cachefilesd
Al Viro
viro at ZenIV.linux.org.uk
Mon Feb 1 17:35:01 UTC 2016
On Mon, Feb 01, 2016 at 04:43:04PM +0000, David Howells wrote:
> Provide read-and-reset objects- and blocks-released counters for cachefilesd
> to use to work out whether there's anything new that can be culled.
>
> One of the problems cachefilesd has is that if all the objects in the cache
> are pinned by inodes lying dormant in the kernel inode cache, there isn't
> anything for it to cull. In such a case, it just spins around walking the
> filesystem tree and scanning for something to cull. This eats up a lot of
> CPU time.
Applied.
More information about the Linux-cachefs
mailing list