aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/xfs/xfs_icreate_item.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2018-05-09 07:49:09 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-05-10 08:56:46 -0700
commitd686d12d23ae1a6a5a52ad2f794f3955985fd54d (patch)
treea9280f721da88cd9a3c90b3c8a4d665ac5fd0eea /fs/xfs/xfs_icreate_item.c
parentxfs: adder caller IP to xfs_defer* tracepoints (diff)
downloadwireguard-linux-d686d12d23ae1a6a5a52ad2f794f3955985fd54d.tar.xz
wireguard-linux-d686d12d23ae1a6a5a52ad2f794f3955985fd54d.zip
xfs: don't assert fail with AIL lock held
Been hitting AIL ordering assert failures recently, but been unable to trace them down because the system immediately hangs up onteh spinlock that was held when this assert fires: XFS: Assertion failed: XFS_LSN_CMP(prev_lip->li_lsn, lip->li_lsn) <= 0, file: fs/xfs/xfs_trans_ail.c, line: 52 Move the assertions outside of the spinlock so the corpse can be dissected. Thanks to Brian Foster for supplying a clean way of doing this. Signed-Off-By: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_icreate_item.c')
0 files changed, 0 insertions, 0 deletions