linux/fs/xfs/quota
David Chinner 7b2e2a31f5 [XFS] Allow 64 bit machines to avoid the AIL lock during flushes
When copying lsn's from the log item to the inode or dquot flush lsn, we
currently grab the AIL lock. We do this because the LSN is a 64 bit
quantity and it needs to be read atomically. The lock is used to guarantee
atomicity for 32 bit platforms.

Make the LSN copying a small function, and make the function used
conditional on BITS_PER_LONG so that 64 bit machines don't need to take
the AIL lock in these places.

SGI-PV: 988143

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

Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
2008-10-30 17:39:12 +11:00
..
xfs_dquot_item.c [XFS] Fix build brakage from patch "Clean up dquot pincount code" 2008-10-30 17:05:18 +11:00
xfs_dquot_item.h
xfs_dquot.c [XFS] Allow 64 bit machines to avoid the AIL lock during flushes 2008-10-30 17:39:12 +11:00
xfs_dquot.h [XFS] Clean up dquot pincount code. 2008-10-30 17:05:04 +11:00
xfs_qm_bhv.c
xfs_qm_stats.c
xfs_qm_stats.h
xfs_qm_syscalls.c [XFS] use xfs_sync_inodes rather than xfs_syncsub 2008-10-30 17:15:12 +11:00
xfs_qm.c [XFS] Kill xfs_sync() 2008-10-30 17:16:11 +11:00
xfs_qm.h [XFS] Clean up dquot pincount code. 2008-10-30 17:05:04 +11:00
xfs_quota_priv.h
xfs_trans_dquot.c