• Trond Myklebust's avatar
    NFS: Add an ACCESS cache memory shrinker · 979df72e
    Trond Myklebust authored
    A pinned inode may in theory end up filling memory with cached ACCESS
    calls. This patch ensures that the VM may shrink away the cache in these
    particular cases.
    The shrinker works by iterating through the list of inodes on the global
    nfs_access_lru_list, and removing the least recently used access
    cache entry until it is done (or until the entire cache is empty).
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    979df72e
dir.c 50.5 KB