Lines Matching full:log

10  * Each log item type (XFS_LI_*) gets its own xlog_recover_item_ops to
11 * define how recovery should work for that type of log item.
16 /* Sorting hat for log items as they're read in. */
28 * Help sort recovered log items into the order required to replay them
29 * correctly. Log item types that always use XLOG_REORDER_ITEM_LIST do
37 void (*ra_pass2)(struct xlog *log, struct xlog_recover_item *item);
40 int (*commit_pass1)(struct xlog *log, struct xlog_recover_item *item);
43 * This function should do whatever work is needed for pass2 of log
47 * the recovered item to construct an in-core log intent item and
48 * insert it into the AIL. The in-core log intent item should have 1
50 * recovered log item for the intent-done item; (b) replay the work and
51 * log a new intent-done item; or (c) recovery fails and we have to
56 * log item. Next, it should find the in-core log intent item in the
59 int (*commit_pass2)(struct xlog *log, struct list_head *buffer_list,
82 * Macros, structures, prototypes for internal log manager use.
107 xlog_tid_t r_log_tid; /* log's transaction id */
120 void xlog_buf_readahead(struct xlog *log, xfs_daddr_t blkno, uint len,
122 bool xlog_is_buffer_cancelled(struct xlog *log, xfs_daddr_t blkno, uint len);
128 void xlog_recover_release_intent(struct xlog *log, unsigned short intent_type,
130 int xlog_alloc_buf_cancel_table(struct xlog *log);
131 void xlog_free_buf_cancel_table(struct xlog *log);
134 void xlog_check_buf_cancel_table(struct xlog *log);
136 #define xlog_check_buf_cancel_table(log) do { } while (0) argument
140 * Transform a regular reservation into one suitable for recovery of a log
145 * to avoid livelocks if the log grant space is nearly exhausted due to the
163 void xlog_recover_intent_item(struct xlog *log, struct xfs_log_item *lip,