android_kernel_xiaomi_sm8350/fs/xfs/quota
Lachlan McIlroy 5695ef46ef [XFS] Use KM_NOFS for debug trace buffers
Use KM_NOFS to prevent recursion back into the filesystem which can cause
deadlocks.

In the case of xfs_iread() we hold the lock on the inode cluster buffer
while allocating memory for the trace buffers. If we recurse back into XFS
to flush data that may require a transaction to allocate extents which
needs log space. This can deadlock with the xfsaild thread which can't
push the tail of the log because it is trying to get the inode cluster
buffer lock.

SGI-PV: 981498

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

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
2008-08-13 16:51:57 +10:00
..
xfs_dquot_item.c [XFS] replace dquot flush semaphore with a completion 2008-08-13 16:41:43 +10:00
xfs_dquot_item.h
xfs_dquot.c [XFS] Use KM_NOFS for debug trace buffers 2008-08-13 16:51:57 +10:00
xfs_dquot.h [XFS] replace dquot flush semaphore with a completion 2008-08-13 16:41:43 +10:00
xfs_qm_bhv.c [XFS] cleanup xfs_mountfs 2008-08-13 16:49:32 +10:00
xfs_qm_stats.c
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_qm.c [XFS] cleanup xfs_mountfs 2008-08-13 16:49:32 +10:00
xfs_qm.h [XFS] cleanup xfs_mountfs 2008-08-13 16:49:32 +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