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,
80 * Macros, structures, prototypes for internal log manager use.
105 xlog_tid_t r_log_tid; /* log's transaction id */
118 void xlog_buf_readahead(struct xlog *log, xfs_daddr_t blkno, uint len,
120 bool xlog_is_buffer_cancelled(struct xlog *log, xfs_daddr_t blkno, uint len);
124 void xlog_recover_release_intent(struct xlog *log, unsigned short intent_type,
126 int xlog_alloc_buf_cancel_table(struct xlog *log);
127 void xlog_free_buf_cancel_table(struct xlog *log);
130 void xlog_check_buf_cancel_table(struct xlog *log);
132 #define xlog_check_buf_cancel_table(log) do { } while (0) argument
136 * Transform a regular reservation into one suitable for recovery of a log
141 * to avoid livelocks if the log grant space is nearly exhausted due to the
159 void xlog_recover_intent_item(struct xlog *log, struct xfs_log_item *lip,