Lines Matching defs:log
39 * requires us to log "intent" items in case log recovery needs to
40 * redo the operation, and to log "done" items to indicate that redo
55 * - Create a log intent item for that type.
68 * - Create a log done item for that type, and attach it to the
69 * log intent item.
70 * - For each work item attached to the log intent item,
72 * * Attach the work item to the log done item.
78 * The key here is that we must log an intent item for all pending
79 * work items every time we roll the transaction, and that we must log
92 * To get a fresh transaction, we want to log the existing log done
93 * item to prevent the log intent item from replaying, immediately log
94 * a new log intent item with the unfinished work items, roll the
96 * log done item and the new log intent item must be in the same
103 * unfinished work. Next, it should reset the log done item's list
105 * defer_finish sees the -EAGAIN, logs the new log intent item
110 * transaction reservation to fit the new log intent item.
155 * If we should crash before t2 commits, log recovery replays
197 * For each pending item in the intake list, log its intent item and the
304 /* Rejoin the buffers and dirty them so the log moves forward. */
350 * Prevent a log intent item from pinning the tail of the log by logging a
351 * done item to release the intent item; and then log a new intent item.
359 struct xlog *log = (*tpp)->t_mountp->m_log;
368 * If the log intent item for this deferred op is not a part of
369 * the current log checkpoint, relog the intent item to keep
370 * the log tail moving forward. We're ok with this being racy
380 * the minimum required free space in the log. Only sample
381 * the log threshold once per call.
384 threshold_lsn = xlog_grant_push_threshold(log, 0);
425 * back on the list and log a new log intent item to
478 * pinning the log tail.
487 /* Possibly relog intent items to keep the log moving. */
615 * work so that it can process unfinished items recovered from the log in
618 * Create and log intent items for all the work that we're capturing so that we
620 * before log recovery gets a chance to finish the work it put off. The entire
654 /* Preserve the log reservation size. */
683 * needed to finish a log intent item that we recovered from the log. If any