diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-06-21 10:35:53 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-07-23 18:21:42 -0700 |
commit | d33d33b4c32b47972756fa277fabdfc18348ed30 (patch) | |
tree | 03b4fe7e9095c0b495892bfba3bd11e1c3fe298e /fs/xfs/xfs_icache.h | |
parent | e2d022f002d4138c8b35337b4ff008cb0e0c83e0 (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 <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_icache.h')
-rw-r--r-- | fs/xfs/xfs_icache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_icache.h b/fs/xfs/xfs_icache.h index abfe4c82f8c5..0d7a33096e60 100644 --- a/fs/xfs/xfs_icache.h +++ b/fs/xfs/xfs_icache.h @@ -84,6 +84,6 @@ void xfs_inodegc_worker(struct work_struct *work); void xfs_inodegc_flush(struct xfs_mount *mp); void xfs_inodegc_stop(struct xfs_mount *mp); void xfs_inodegc_start(struct xfs_mount *mp); -int xfs_inodegc_register_shrinker(struct xfs_mount *mp); +int xfs_inodegc_register_shrinker(struct xfs_perag *pag); #endif |