]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: Avoid inodes in reclaim when flushing from inode cache
authorDave Chinner <david@fromorbit.com>
Thu, 11 Mar 2010 22:42:09 +0000 (09:42 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:41:15 +0000 (07:41 -0700)
commit22a482c6215ed335d2de07aa113d3cd317015cf7
treeacc2fcc44b34ccb4d525c83dda8fadc0c3df0d00
parent96ce91ba515e97ef6996f5847d3bcc46ed647385
xfs: Avoid inodes in reclaim when flushing from inode cache

commit 018027be90a6946e8cf3f9b17b5582384f7ed117 upstream

The reclaim code will handle flushing of dirty inodes before reclaim
occurs, so avoid them when determining whether an inode is a
candidate for flushing to disk when walking the radix trees.  This
is based on a test patch from Christoph Hellwig.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/xfs/linux-2.6/xfs_sync.c