| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 0/2] xfs: RCU inode freeing and lookups V2 |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Mon, 29 Nov 2010 11:50:24 +1100 |
| Cc: | paulmck@xxxxxxxxxxxxxxxxxx, eric.dumazet@xxxxxxxxx |
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. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/3] xfs: use generic per-cpu counter infrastructure, Dave Chinner |
|---|---|
| Next by Date: | [PATCH 2/2] xfs: convert pag_ici_lock to a spin lock, Dave Chinner |
| Previous by Thread: | [PATCH 0/3] Use generic percpu counters in XFS, Dave Chinner |
| Next by Thread: | [PATCH 2/2] xfs: convert pag_ici_lock to a spin lock, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |