Lines Matching defs:log

49  * requires us to log "intent" items in case log recovery needs to
50 * redo the operation, and to log "done" items to indicate that redo
65 * - Create a log intent item for that type.
78 * - Create a log done item for that type, and attach it to the
79 * log intent item.
80 * - For each work item attached to the log intent item,
82 * * Attach the work item to the log done item.
88 * The key here is that we must log an intent item for all pending
89 * work items every time we roll the transaction, and that we must log
102 * To get a fresh transaction, we want to log the existing log done
103 * item to prevent the log intent item from replaying, immediately log
104 * a new log intent item with the unfinished work items, roll the
106 * log done item and the new log intent item must be in the same
113 * unfinished work. Next, it should reset the log done item's list
115 * defer_finish sees the -EAGAIN, logs the new log intent item
120 * transaction reservation to fit the new log intent item.
165 * If we should crash before t2 commits, log recovery replays
195 * Ensure there's a log intent item associated with this deferred work item if
196 * the operation must be restarted on crash. Returns 1 if there's a log item;
222 * For each pending item in the intake list, log its intent item and the
226 * Returns 1 if at least one log item was associated with the deferred work;
227 * 0 if there are no log items; or a negative errno.
343 /* Rejoin the buffers and dirty them so the log moves forward. */
416 * Prevent a log intent item from pinning the tail of the log by logging a
417 * done item to release the intent item; and then log a new intent item.
425 struct xlog *log = (*tpp)->t_mountp->m_log;
434 * If the log intent item for this deferred op is not a part of
435 * the current log checkpoint, relog the intent item to keep
436 * the log tail moving forward. We're ok with this being racy
446 * the minimum required free space in the log. Only sample
447 * the log threshold once per call.
450 threshold_lsn = xlog_grant_push_threshold(log, 0);
494 * back on the list and log a new log intent item to
549 * pinning the log tail.
564 /* Relog intent items to keep the log moving. */
693 * work so that it can process unfinished items recovered from the log in
696 * Create and log intent items for all the work that we're capturing so that we
698 * before log recovery gets a chance to finish the work it put off. The entire
735 /* Preserve the log reservation size. */
742 * still have to shut down the log and release things
786 * needed to finish a log intent item that we recovered from the log. If any