linux-uconsole/fs/xfs/quota
Dave Chinner a899608c6a xfs: add a shrinker to background inode reclaim
commit 9bf729c0af upstream

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>
Acked-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-12 14:57:13 -07:00
..
xfs_dquot.c xfs: use generic Posix ACL code 2009-06-10 17:07:47 +02:00
xfs_dquot.h xfs: kill xfs_qmops 2009-06-08 15:33:32 +02:00
xfs_dquot_item.c xfs: use generic Posix ACL code 2009-06-10 17:07:47 +02:00
xfs_dquot_item.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:59:41 +11:00
xfs_qm.c xfs: use generic Posix ACL code 2009-06-10 17:07:47 +02:00
xfs_qm.h xfs: kill xfs_qmops 2009-06-08 15:33:32 +02:00
xfs_qm_bhv.c xfs: quota limit statvfs available blocks 2010-04-26 07:41:16 -07:00
xfs_qm_stats.c xfs: switch to seq_file 2009-09-15 12:29:24 -05:00
xfs_qm_stats.h [XFS] Replace __inline with inline 2008-04-18 11:51:15 +10:00
xfs_qm_syscalls.c xfs: add a shrinker to background inode reclaim 2010-05-12 14:57:13 -07:00
xfs_quota_priv.h xfs: sanitize qh_lock wrappers 2009-02-09 08:47:22 +01:00
xfs_trans_dquot.c xfs: use generic Posix ACL code 2009-06-10 17:07:47 +02:00