mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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>
This commit is contained in:
parent
493dca6178
commit
fce08f2f3b
4 changed files with 94 additions and 92 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue