Skip to content

XFS: Track reclaimable inodes in inode cache.

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6XFS: move inode reclaim functions to xfs_sync.cfs/xfs/linux-2.6/xfs_sync.c fs/xfs/linux-2.6/xfs_sync.h fs/xfs/xfs_inode.h +1 more+94 -921 reply
2/6XFS: mark inodes for reclaim via a tag in the inode radix treefs/xfs/linux-2.6/xfs_sync.c fs/xfs/linux-2.6/xfs_sync.h fs/xfs/xfs_ag.h +2 more+54 -02 replies
3/6XFS: rename inode reclaim functionsfs/xfs/linux-2.6/xfs_sync.c fs/xfs/linux-2.6/xfs_sync.h fs/xfs/xfs_mount.c +1 more+9 -92 replies
4/6XFS: use the inode radix tree for reclaiming inodesfs/xfs/linux-2.6/xfs_sync.c+71 -101 reply
5/6XFS: kill deleted inodes listfs/xfs/linux-2.6/xfs_super.c fs/xfs/linux-2.6/xfs_sync.c fs/xfs/xfs_iget.c +5 more+8 -321 reply
6/6XFS: use is_bad_inode() directly in xfs_reclaim_inode()fs/xfs/linux-2.6/xfs_sync.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] XFS: Track reclaimable inodes in inode cache.

Move the tracking of reclaimable inodes into the inode radix trees. This currently does not replace the reclaim flags in the inode, rather it allows traversal of all reclaimable inodes by walking the per-AG inode radix trees without needing a separate list. This enables us to remove a struct list_head from the struct xfs_inode and the xfs_mount, as well as a filesystem global lock which also has the benefit of removing a point of serialisation during inode reclaim.

Like the matching sync code, this also allows reclaim of inodes in ascending inode numbers which substantially improves I/O patterns during reclaim driven inode flushing.