Skip to content
Commit 979df72e authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Add an ACCESS cache memory shrinker



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>
parent cfcea3e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment