public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xfs: RCU inode freeing and lookups V2
@ 2010-11-29  0:50 Dave Chinner
  2010-11-29  0:50 ` [PATCH 1/2] xfs: convert inode cache lookups to use RCU locking Dave Chinner
  2010-11-29  0:50 ` [PATCH 2/2] xfs: convert pag_ici_lock to a spin lock Dave Chinner
  0 siblings, 2 replies; 3+ messages in thread
From: Dave Chinner @ 2010-11-29  0:50 UTC (permalink / raw)
  To: xfs; +Cc: paulmck, eric.dumazet

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
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-29  0:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-29  0:50 [PATCH 0/2] xfs: RCU inode freeing and lookups V2 Dave Chinner
2010-11-29  0:50 ` [PATCH 1/2] xfs: convert inode cache lookups to use RCU locking Dave Chinner
2010-11-29  0:50 ` [PATCH 2/2] xfs: convert pag_ici_lock to a spin lock Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox