linux-stable/fs/xfs/quota
Peter Leckie bc3048e3cd [XFS] Clean up dquot pincount code.
This is a code cleanup and optimization that removes a per mount point
spinlock from the quota code and cleans up the code.

The patch changes the pincount from being an int protected by a spinlock
to an atomic_t allowing the pincount to be manipulated without holding the
spinlock.

This cleanup also protects against random wakup's of both the aild and
xfssyncd by reevaluating the pincount after been woken. Two latter patches
will address the Spurious wakeups.

SGI-PV: 986789

SGI-Modid: xfs-linux-melb:xfs-kern:32215a

Signed-off-by: Peter Leckie <pleckie@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Donald Douwsma <donaldd@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2008-10-30 17:05:04 +11:00
..
xfs_dquot.c [XFS] Clean up dquot pincount code. 2008-10-30 17:05:04 +11:00
xfs_dquot.h [XFS] Clean up dquot pincount code. 2008-10-30 17:05:04 +11:00
xfs_dquot_item.c [XFS] Clean up dquot pincount code. 2008-10-30 17:05:04 +11:00
xfs_dquot_item.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:59:41 +11:00
xfs_qm.c [XFS] Clean up dquot pincount code. 2008-10-30 17:05:04 +11:00
xfs_qm.h [XFS] Clean up dquot pincount code. 2008-10-30 17:05:04 +11:00
xfs_qm_bhv.c [XFS] cleanup xfs_mountfs 2008-08-13 16:49:32 +10:00
xfs_qm_stats.c [XFS] Remove unused header files for MAC and CAP checking functionality. 2007-02-10 18:37:28 +11:00
xfs_qm_stats.h [XFS] Replace __inline with inline 2008-04-18 11:51:15 +10:00
xfs_qm_syscalls.c [XFS] kill bhv_vnode_t 2008-08-13 16:22:40 +10:00
xfs_quota_priv.h [XFS] s/XFS_PURGE_INODE/IRELE/g s/VN_HOLD(XFS_ITOV())/IHOLD()/ 2008-07-28 16:59:29 +10:00
xfs_trans_dquot.c [XFS] shrink mrlock_t 2008-04-29 15:54:02 +10:00