Lines Matching full:log

13  * On-disk Log Format definitions.
15 * This file contains all the on-disk format definitions used within the log. It
16 * includes the physical log structure itself, as well as all the log item
17 * format structures that are written into the log and intepreted by log
18 * recovery. We start with the physical log format definitions, and then work
19 * through all the log items definitions and everything they encode into the
20 * log.
28 #define XLOG_VERSION_2 2 /* Large IClogs, Log sunit */
40 /* Minimum number of transactions that must fit in the log (defined by mkfs) */
43 #define XLOG_REC_SHIFT(log) \ argument
44 BTOBB(1 << (xfs_has_logv2(log->l_mp) ? \
46 #define XLOG_TOTAL_REC_SHIFT(log) \ argument
47 BTOBB(XLOG_MAX_ICLOGS << (xfs_has_logv2(log->l_mp) ? \
70 /* Log Clients */
77 * Log item for unmount records.
127 * Flags to log operation header
132 * the remainder of the current active in-core log, it is split up into
167 __be32 h_magicno; /* log record (LR) identifier : 4 */
168 __be32 h_cycle; /* write cycle of log : 4 */
173 __le32 h_crc; /* crc of log record : 4 */
175 __be32 h_num_logops; /* number of log operations in this LR : 4 */
178 __be32 h_fmt; /* format of log record : 4 */
184 __be32 xh_cycle; /* write cycle of log : 4 */
189 * Quite misnamed, because this union lays out the actual on-disk log buffer.
197 /* not an on-disk structure, but needed by log recovery in userspace */
208 * This is the structure written in the log at the head of every transaction. It
231 * Log item types.
285 * Inode Log Item Format definitions.
287 * This is the structure used to lay out an inode log item in the
288 * log. The size of the inline data/extents/b-tree root to be logged
293 uint16_t ilf_type; /* inode log item type */
310 * Old 32 bit systems will log in this format without the 64 bit
315 uint16_t ilf_type; /* inode log item type */
334 #define XFS_ILOG_CORE 0x001 /* log standard inode fields */
335 #define XFS_ILOG_DDATA 0x002 /* log i_df.if_data */
336 #define XFS_ILOG_DEXT 0x004 /* log i_df.if_extents */
337 #define XFS_ILOG_DBROOT 0x008 /* log i_df.i_broot */
338 #define XFS_ILOG_DEV 0x010 /* log the dev field */
340 #define XFS_ILOG_ADATA 0x040 /* log i_af.if_data */
341 #define XFS_ILOG_AEXT 0x080 /* log i_af.if_extents */
342 #define XFS_ILOG_ABROOT 0x100 /* log i_af.i_broot */
391 * Incore version of the on-disk inode core structures. We log this directly
495 * Buffer Log Format definitions
497 * These are the physical dirty bitmap definitions for the log format structure.
525 * This is the structure used to lay out a buf log item in the log. The data
541 unsigned short blf_type; /* buf log item type indicator */
602 * EFI/EFD log format definitions
627 * This is the structure used to lay out an efi log item in the
628 * log. The efi_extents field is a variable size array whose
632 uint16_t efi_type; /* efi log item type */
648 uint16_t efi_type; /* efi log item type */
664 uint16_t efi_type; /* efi log item type */
680 * This is the structure used to lay out an efd log item in the
681 * log. The efd_extents array is a variable size array whose
685 uint16_t efd_type; /* efd log item type */
701 uint16_t efd_type; /* efd log item type */
717 uint16_t efd_type; /* efd log item type */
733 * RUI/RUD (reverse mapping) log format definitions
764 * This is the structure used to lay out an rui log item in the
765 * log. The rui_extents field is a variable size array whose
769 uint16_t rui_type; /* rui log item type */
785 * This is the structure used to lay out an rud log item in the
786 * log. The rud_extents array is a variable size array whose
790 uint16_t rud_type; /* rud log item type */
797 * CUI/CUD (refcount update) log format definitions
812 * This is the structure used to lay out a cui log item in the
813 * log. The cui_extents field is a variable size array whose
817 uint16_t cui_type; /* cui log item type */
833 * This is the structure used to lay out a cud log item in the
834 * log. The cud_extents array is a variable size array whose
838 uint16_t cud_type; /* cud log item type */
845 * BUI/BUD (inode block mapping) log format definitions
862 * This is the structure used to lay out an bui log item in the
863 * log. The bui_extents field is a variable size array whose
867 uint16_t bui_type; /* bui log item type */
883 * This is the structure used to lay out an bud log item in the
884 * log. The bud_extents array is a variable size array whose
888 uint16_t bud_type; /* bud log item type */
895 * XMI/XMD (file mapping exchange) log format definitions
898 /* This is the structure used to lay out an mapping exchange log item. */
900 uint16_t xmi_type; /* xmi log item type */
941 /* This is the structure used to lay out an mapping exchange done log item. */
943 uint16_t xmd_type; /* xmd log item type */
950 * Dquot Log format definitions.
956 uint16_t qlf_type; /* dquot log item type */
965 * log format struct for QUOTAOFF records.
973 unsigned short qf_type; /* quotaoff log item type */
1013 * Inode create log item structure
1015 * Log recovery assumes the first two entries are the type and size and they fit
1020 uint16_t icl_type; /* type of log format structure */
1021 uint16_t icl_size; /* size of log format structure */
1052 * This is the structure used to lay out an attr log item in the
1053 * log.
1056 uint16_t alfi_type; /* attri log item type */
1079 uint16_t alfd_type; /* attrd log item type */