summaryrefslogtreecommitdiffstats
path: root/fs/hostfs
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2010-04-29 01:55:50 +0200
committerAlex Elder <aelder@sgi.com>2010-04-29 23:22:13 +0200
commit9bf729c0af67897ea8498ce17c29b0683f7f2028 (patch)
tree9e6350fd9da5aef0b53ddeddd82f618ae16bf931 /fs/hostfs
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jba... (diff)
downloadlinux-9bf729c0af67897ea8498ce17c29b0683f7f2028.tar.xz
linux-9bf729c0af67897ea8498ce17c29b0683f7f2028.zip
xfs: add a shrinker to background inode reclaim
On low memory boxes or those with highmem, kernel can OOM before the background reclaims inodes via xfssyncd. Add a shrinker to run inode reclaim so that it inode reclaim is expedited when memory is low. This is more complex than it needs to be because the VM folk don't want a context added to the shrinker infrastructure. Hence we need to add a global list of XFS mount structures so the shrinker can traverse them. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions