Skip to content

xfs: RCU inode freeing and lookups V2

Dave Chinner linux-xfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: convert inode cache lookups to use RCU lockingfs/xfs/linux-2.6/xfs_sync.c fs/xfs/xfs_iget.c fs/xfs/xfs_inode.c+93 -290 replies
2/2xfs: convert pag_ici_lock to a spin lockfs/xfs/linux-2.6/xfs_sync.c fs/xfs/xfs_ag.h fs/xfs/xfs_iget.c +1 more+14 -140 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlex ElderChristoph Hellwig
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] xfs: RCU inode freeing and lookups V2

This series converts the XFS inode cache to use SLAB_DESTROY_BY_RCU for freeing of the inodes and uses RCU locking for all the lookups. It uses the ip->i_ino values and ip->i_flags & XFS_IRECLAIM being checked under the ip->i_flags_lock to detect inodes that have been freed during lookups.

Version 2:

- check ip->i_ino under i_flags lock on cache hit
- remove duplicate ip->i_ino == 0 check in xfs_dqrele_inode
- Fixed inode cluster walks to check for valid i_ino under i_flags_lock.
- Fixed ag walk lookups to check i_ino under i_flags_lock.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs