Lines Matching defs:log
106 * This is called by the log manager code to determine the LSN of the tail of
107 * the log. This is exactly the LSN of the first item in the AIL. If the AIL
289 * Splice the log item list into the AIL at the given LSN. We splice to the
352 * We clear the log item failed state here as well, but we have to be careful
354 * may be the failed log items. Hence if we clear the log item failed state
357 * xfs_buf_delwri_queue. It makes no difference to the buffer or log items which
361 * Hence we can safely queue the buffer for IO before we clear the failed log
398 * If log item pinning is enabled, skip the push and track the item as
406 * caller will force the log. This should only happen for intent items
408 * the on-disk log.
436 * load. Stalling for that long when the tail of the log is pinned and
437 * needs flushing will hard stop the transaction subsystem when log
580 * the restart to issue a log force to unpin the stuck items.
755 struct xlog *log = ailp->ail_log;
763 if (!xlog_is_shutdown(log))
764 xlog_assign_tail_lsn_locked(log->l_mp);
769 xfs_log_space_wake(log->l_mp);
775 * @xfs_trans_ail_update takes an array of log items that all need to be
778 * it to the AIL. If we move the first item in the AIL, update the log tail to
783 * lock held. As a result, once we have the AIL lock, we need to check each log
835 /* Insert a log item into the AIL. */
847 * Delete one log item from the AIL.
849 * If this item was at the tail of the AIL, return the LSN of the log item so
850 * that we can use it to check if the LSN of the tail of the log has moved
877 struct xlog *log = ailp->ail_log;
883 if (shutdown_type && !xlog_is_shutdown(log)) {
884 xfs_alert_tag(log->l_mp, XFS_PTAG_AILDELETE,
885 "%s: attempting to delete a log item that is not in the AIL",
887 xlog_force_shutdown(log, shutdown_type);