XFS: replace the mount inode list with radix tree traversals
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 24 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | XFS: Remove xfs_iflush_all and clean up xfs_finish_reclaim_all()fs/ fs/ fs/ +2 more | +23 | 3 replies | |
| 2/4 | XFS: Use the inode tree for finding dirty inodesfs/ | +99 | 19 replies | |
| 3/4 | XFS: Traverse inode trees when releasing dquotsfs/ | +53 | 0 replies | |
| 4/4 | XFS: remove the mount inode listfs/ fs/ fs/ +1 more | +1 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] XFS: replace the mount inode list with radix tree traversals
The list of all inodes on a mount is superfluous. We can traverse all inodes now by walking the per-AG inode radix trees without needing a separate list. This enables us to remove a bunch of complex list traversal code and remove another two pointers from the xfs_inode.
Also, by replacing the sync traversal with an ascending inode number traversal, we will issue better inode I/O patterns for writeback triggered by xfssyncd or unmount.
Diffstat for the change:
xfs/quota/xfs_qm_syscalls.c | 120 ++++++-------- xfs/xfs_iget.c | 42 ----- xfs/xfs_inode.c | 39 ---- xfs/xfs_inode.h | 11 - xfs/xfs_mount.c | 7 xfs/xfs_mount.h | 1 xfs/xfs_vfsops.c | 366 ++++++++++++-------------------------------- xfs/xfs_vnodeops.c | 42 ++--- 8 files changed, 176 insertions(+), 452 deletions(-)