summaryrefslogtreecommitdiff
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-07-25 19:28:19 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-09-23 07:24:29 +0400
commit979df72e6f963b42ee484f2eca049c3344da0ba7 (patch)
treef3ba48a16203c899dbe57482c1ff7f1c02e0c9ca /include/linux/dcache.h
parentcfcea3e8c66c2dcde98d5c2693d4bff50b5cac97 (diff)
downloadlinux-979df72e6f963b42ee484f2eca049c3344da0ba7.tar.xz
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/dcache.h')
0 files changed, 0 insertions, 0 deletions