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.
273 * Inode Log Item Format definitions.
275 * This is the structure used to lay out an inode log item in the
276 * log. The size of the inline data/extents/b-tree root to be logged
281 uint16_t ilf_type; /* inode log item type */
298 * Old 32 bit systems will log in this format without the 64 bit
303 uint16_t ilf_type; /* inode log item type */
322 #define XFS_ILOG_CORE 0x001 /* log standard inode fields */
323 #define XFS_ILOG_DDATA 0x002 /* log i_df.if_data */
324 #define XFS_ILOG_DEXT 0x004 /* log i_df.if_extents */
325 #define XFS_ILOG_DBROOT 0x008 /* log i_df.i_broot */
326 #define XFS_ILOG_DEV 0x010 /* log the dev field */
328 #define XFS_ILOG_ADATA 0x040 /* log i_af.if_data */
329 #define XFS_ILOG_AEXT 0x080 /* log i_af.if_extents */
330 #define XFS_ILOG_ABROOT 0x100 /* log i_af.i_broot */
385 * Incore version of the on-disk inode core structures. We log this directly
489 * Buffer Log Format definitions
491 * These are the physical dirty bitmap definitions for the log format structure.
519 * This is the structure used to lay out a buf log item in the log. The data
535 unsigned short blf_type; /* buf log item type indicator */
596 * EFI/EFD log format definitions
621 * This is the structure used to lay out an efi log item in the
622 * log. The efi_extents field is a variable size array whose
626 uint16_t efi_type; /* efi log item type */
642 uint16_t efi_type; /* efi log item type */
658 uint16_t efi_type; /* efi log item type */
674 * This is the structure used to lay out an efd log item in the
675 * log. The efd_extents array is a variable size array whose
679 uint16_t efd_type; /* efd log item type */
695 uint16_t efd_type; /* efd log item type */
711 uint16_t efd_type; /* efd log item type */
727 * RUI/RUD (reverse mapping) log format definitions
758 * This is the structure used to lay out an rui log item in the
759 * log. The rui_extents field is a variable size array whose
763 uint16_t rui_type; /* rui log item type */
779 * This is the structure used to lay out an rud log item in the
780 * log. The rud_extents array is a variable size array whose
784 uint16_t rud_type; /* rud log item type */
791 * CUI/CUD (refcount update) log format definitions
806 * This is the structure used to lay out a cui log item in the
807 * log. The cui_extents field is a variable size array whose
811 uint16_t cui_type; /* cui log item type */
827 * This is the structure used to lay out a cud log item in the
828 * log. The cud_extents array is a variable size array whose
832 uint16_t cud_type; /* cud log item type */
839 * BUI/BUD (inode block mapping) log format definitions
856 * This is the structure used to lay out an bui log item in the
857 * log. The bui_extents field is a variable size array whose
861 uint16_t bui_type; /* bui log item type */
877 * This is the structure used to lay out an bud log item in the
878 * log. The bud_extents array is a variable size array whose
882 uint16_t bud_type; /* bud log item type */
889 * XMI/XMD (file mapping exchange) log format definitions
892 /* This is the structure used to lay out an mapping exchange log item. */
894 uint16_t xmi_type; /* xmi log item type */
935 /* This is the structure used to lay out an mapping exchange done log item. */
937 uint16_t xmd_type; /* xmd log item type */
944 * Dquot Log format definitions.
950 uint16_t qlf_type; /* dquot log item type */
959 * log format struct for QUOTAOFF records.
967 unsigned short qf_type; /* quotaoff log item type */
1007 * Inode create log item structure
1009 * Log recovery assumes the first two entries are the type and size and they fit
1014 uint16_t icl_type; /* type of log format structure */
1015 uint16_t icl_size; /* size of log format structure */
1046 * This is the structure used to lay out an attr log item in the
1047 * log.
1050 uint16_t alfi_type; /* attri log item type */
1073 uint16_t alfd_type; /* attrd log item type */