diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-30 15:45:11 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-10-09 09:39:24 -0700 |
commit | 6065474081094c19b7d524f49d2d1948f5a28e02 (patch) | |
tree | 849e0fba6a6d0c9f26e962cc28acf9c8efbc4d67 /fs/xfs/xfs_icache.h | |
parent | a6ab93ef18f917e442b2ce300b10c1d6b5c53579 (diff) |
xfs: parallelize inode inactivation
Split the inode inactivation work into per-AG work items so that we can
take advantage of parallelization.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_icache.h')
-rw-r--r-- | fs/xfs/xfs_icache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_icache.h b/fs/xfs/xfs_icache.h index eaddfba46f3e..f0a18238bc86 100644 --- a/fs/xfs/xfs_icache.h +++ b/fs/xfs/xfs_icache.h @@ -86,5 +86,7 @@ void xfs_inactive_worker(struct work_struct *work); int xfs_inactive_inodes(struct xfs_mount *mp, struct xfs_eofblocks *eofb); void xfs_inactive_force(struct xfs_mount *mp); void xfs_inactive_shutdown(struct xfs_mount *mp); +void xfs_inactive_cancel_work(struct xfs_mount *mp); +void xfs_inactive_schedule_work(struct xfs_mount *mp, unsigned long delay); #endif |