diff options
author | Dave Chinner <dchinner@redhat.com> | 2010-09-24 04:40:15 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-10-18 16:07:52 -0400 |
commit | 65d0f20533c503b50bd5e7e86434512af7761eea (patch) | |
tree | 0e04d6898fc0c729886067a3daf79b10a7a19992 /fs/xfs/xfs_mount.h | |
parent | 69d6cc76cff3573ceefda178b75e20878866fdc3 (diff) |
xfs: split inode AG walking into separate code for reclaim
The reclaim walk requires different locking and has a slightly
different walk algorithm, so separate it out so that it can be
optimised separately.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index 622da2179a57..7ab240930ba5 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
@@ -327,6 +327,8 @@ xfs_daddr_to_agbno(struct xfs_mount *mp, xfs_daddr_t d) | |||
327 | * perag get/put wrappers for ref counting | 327 | * perag get/put wrappers for ref counting |
328 | */ | 328 | */ |
329 | struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno); | 329 | struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno); |
330 | struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *mp, xfs_agnumber_t agno, | ||
331 | int tag); | ||
330 | void xfs_perag_put(struct xfs_perag *pag); | 332 | void xfs_perag_put(struct xfs_perag *pag); |
331 | 333 | ||
332 | /* | 334 | /* |