/* We do this unlocked - we only need to know whether there is anything in the AIL at the time we are called. We don't need to access the contents of any of the objects, so the lock is not needed.  */
void xfs_trans_ail_push(struct xfs_ail *ailp, xfs_lsn_t threshold_lsn)
/* We do this unlocked - we only need to know whether there is anything in the AIL at the time we are called. We don't need to access the contents of any of the objects, so the lock is not needed.  */
void xfs_trans_ail_push(struct xfs_ail *ailp, xfs_lsn_t threshold_lsn)
{
	xfs_log_item_t	*lip;
	lip = xfs_ail_min(ailp);
	if (lip && !XFS_FORCED_SHUTDOWN(ailp->xa_mount)) {
		if (XFS_LSN_CMP(threshold_lsn, ailp->xa_target) > 0)
			xfsaild_wakeup(ailp, threshold_lsn);
	}
}