aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_sync.h
diff options
context:
space:
mode:
authorDavid Chinner <david@fromorbit.com>2008-10-30 17:37:03 +1100
committerLachlan McIlroy <lachlan@sgi.com>2008-10-30 17:37:03 +1100
commitfce08f2f3bd0d08feeb4cea70e44aa3471d9bb4c (patch)
tree30bf4d33e61442b459b33c9d0bb3e5fedd3884a2 /fs/xfs/linux-2.6/xfs_sync.h
parent493dca6178cf4a6ae2a16c602d6cb455bb7d31bd (diff)
downloadkernel_samsung_smdk4412-fce08f2f3bd0d08feeb4cea70e44aa3471d9bb4c.zip
kernel_samsung_smdk4412-fce08f2f3bd0d08feeb4cea70e44aa3471d9bb4c.tar.gz
kernel_samsung_smdk4412-fce08f2f3bd0d08feeb4cea70e44aa3471d9bb4c.tar.bz2
[XFS] move inode reclaim functions to xfs_sync.c
Background inode reclaim is run by the xfssyncd. Move the reclaim worker functions to be close to the sync code as the are very similar in structure and are both run from the same background thread. SGI-PV: 988142 SGI-Modid: xfs-linux-melb:xfs-kern:32329a Signed-off-by: David Chinner <david@fromorbit.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sync.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_sync.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sync.h b/fs/xfs/linux-2.6/xfs_sync.h
index 3b49aa3..23117a1 100644
--- a/fs/xfs/linux-2.6/xfs_sync.h
+++ b/fs/xfs/linux-2.6/xfs_sync.h
@@ -45,4 +45,7 @@ void xfs_quiesce_attr(struct xfs_mount *mp);
void xfs_flush_inode(struct xfs_inode *ip);
void xfs_flush_device(struct xfs_inode *ip);
+int xfs_finish_reclaim(struct xfs_inode *ip, int locked, int sync_mode);
+int xfs_finish_reclaim_all(struct xfs_mount *mp, int noblock, int mode);
+
#endif