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.
15 /* Sorting hat for log items as they're read in. */
27 * Help sort recovered log items into the order required to replay them
28 * correctly. Log item types that always use XLOG_REORDER_ITEM_LIST do
36 void (*ra_pass2)(struct xlog *log, struct xlog_recover_item *item);
39 int (*commit_pass1)(struct xlog *log, struct xlog_recover_item *item);
42 * This function should do whatever work is needed for pass2 of log
46 * the recovered item to construct an in-core log intent item and
47 * insert it into the AIL. The in-core log intent item should have 1
49 * recovered log item for the intent-done item; (b) replay the work and
50 * log a new intent-done item; or (c) recovery fails and we have to
55 * log item. Next, it should find the in-core log intent item in the
58 int (*commit_pass2)(struct xlog *log, struct list_head *buffer_list,
79 * Macros, structures, prototypes for internal log manager use.
104 xlog_tid_t r_log_tid; /* log's transaction id */
117 void xlog_buf_readahead(struct xlog *log, xfs_daddr_t blkno, uint len,
119 bool xlog_is_buffer_cancelled(struct xlog *log, xfs_daddr_t blkno, uint len);
123 void xlog_recover_release_intent(struct xlog *log, unsigned short intent_type,
125 int xlog_alloc_buf_cancel_table(struct xlog *log);
126 void xlog_free_buf_cancel_table(struct xlog *log);
129 void xlog_check_buf_cancel_table(struct xlog *log);
131 #define xlog_check_buf_cancel_table(log) do { } while (0) argument
135 * Transform a regular reservation into one suitable for recovery of a log
140 * to avoid livelocks if the log grant space is nearly exhausted due to the