android_kernel_xiaomi_sdm845/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] Update license/copyright notices to match the prefered SGI 2005-11-02 14:59:41 +11:00
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] 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] 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] 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