summaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-07-08 06:14:39 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 07:44:35 +0200
commit98b745c647a5a90c3c21ea43cbfad9a47b0dfad7 (patch)
tree08917a620b6d15076223c1ef75996a1a76a13abd /fs/file_table.c
parentinode: convert inode_stat.nr_unused to per-cpu counters (diff)
downloadlinux-98b745c647a5a90c3c21ea43cbfad9a47b0dfad7.tar.xz
linux-98b745c647a5a90c3c21ea43cbfad9a47b0dfad7.zip
inode: Make unused inode LRU per superblock
The inode unused list is currently a global LRU. This does not match the other global filesystem cache - the dentry cache - which uses per-superblock LRU lists. Hence we have related filesystem object types using different LRU reclaimation schemes. To enable a per-superblock filesystem cache shrinker, both of these caches need to have per-sb unused object LRU lists. Hence this patch converts the global inode LRU to per-sb LRUs. The patch only does rudimentary per-sb propotioning in the shrinker infrastructure, as this gets removed when the per-sb shrinker callouts are introduced later on. Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions