• Lachlan McIlroy's avatar
    [XFS] Use KM_NOFS for debug trace buffers · 5695ef46
    Lachlan McIlroy authored
    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: default avatarLachlan McIlroy <lachlan@sgi.com>
    Signed-off-by: default avatarDavid Chinner <david@fromorbit.com>
    5695ef46
Name
Last commit
Last update
..
xfs_dquot.c Loading commit data...
xfs_dquot.h Loading commit data...
xfs_dquot_item.c Loading commit data...
xfs_dquot_item.h Loading commit data...
xfs_qm.c Loading commit data...
xfs_qm.h Loading commit data...
xfs_qm_bhv.c Loading commit data...
xfs_qm_stats.c Loading commit data...
xfs_qm_stats.h Loading commit data...
xfs_qm_syscalls.c Loading commit data...
xfs_quota_priv.h Loading commit data...
xfs_trans_dquot.c Loading commit data...