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.
124 * Flags to log operation header
129 * the remainder of the current active in-core log, it is split up into
164 __be32 h_magicno; /* log record (LR) identifier : 4 */
165 __be32 h_cycle; /* write cycle of log : 4 */
170 __le32 h_crc; /* crc of log record : 4 */
172 __be32 h_num_logops; /* number of log operations in this LR : 4 */
175 __be32 h_fmt; /* format of log record : 4 */
181 __be32 xh_cycle; /* write cycle of log : 4 */
186 * Quite misnamed, because this union lays out the actual on-disk log buffer.
194 /* not an on-disk structure, but needed by log recovery in userspace */
205 * This is the structure written in the log at the head of every transaction. It
228 * Log item types.
266 * Inode Log Item Format definitions.
268 * This is the structure used to lay out an inode log item in the
269 * log. The size of the inline data/extents/b-tree root to be logged
274 uint16_t ilf_type; /* inode log item type */
291 * Old 32 bit systems will log in this format without the 64 bit
296 uint16_t ilf_type; /* inode log item type */
315 #define XFS_ILOG_CORE 0x001 /* log standard inode fields */
316 #define XFS_ILOG_DDATA 0x002 /* log i_df.if_data */
317 #define XFS_ILOG_DEXT 0x004 /* log i_df.if_extents */
318 #define XFS_ILOG_DBROOT 0x008 /* log i_df.i_broot */
319 #define XFS_ILOG_DEV 0x010 /* log the dev field */
321 #define XFS_ILOG_ADATA 0x040 /* log i_af.if_data */
322 #define XFS_ILOG_AEXT 0x080 /* log i_af.if_extents */
323 #define XFS_ILOG_ABROOT 0x100 /* log i_af.i_broot */
371 * Incore version of the on-disk inode core structures. We log this directly
475 * Buffer Log Format definitions
477 * These are the physical dirty bitmap definitions for the log format structure.
505 * This is the structure used to lay out a buf log item in the log. The data
521 unsigned short blf_type; /* buf log item type indicator */
582 * EFI/EFD log format definitions
607 * This is the structure used to lay out an efi log item in the
608 * log. The efi_extents field is a variable size array whose
612 uint16_t efi_type; /* efi log item type */
628 uint16_t efi_type; /* efi log item type */
644 uint16_t efi_type; /* efi log item type */
660 * This is the structure used to lay out an efd log item in the
661 * log. The efd_extents array is a variable size array whose
665 uint16_t efd_type; /* efd log item type */
681 uint16_t efd_type; /* efd log item type */
697 uint16_t efd_type; /* efd log item type */
713 * RUI/RUD (reverse mapping) log format definitions
744 * This is the structure used to lay out an rui log item in the
745 * log. The rui_extents field is a variable size array whose
749 uint16_t rui_type; /* rui log item type */
765 * This is the structure used to lay out an rud log item in the
766 * log. The rud_extents array is a variable size array whose
770 uint16_t rud_type; /* rud log item type */
777 * CUI/CUD (refcount update) log format definitions
792 * This is the structure used to lay out a cui log item in the
793 * log. The cui_extents field is a variable size array whose
797 uint16_t cui_type; /* cui log item type */
813 * This is the structure used to lay out a cud log item in the
814 * log. The cud_extents array is a variable size array whose
818 uint16_t cud_type; /* cud log item type */
825 * BUI/BUD (inode block mapping) log format definitions
840 * This is the structure used to lay out an bui log item in the
841 * log. The bui_extents field is a variable size array whose
845 uint16_t bui_type; /* bui log item type */
861 * This is the structure used to lay out an bud log item in the
862 * log. The bud_extents array is a variable size array whose
866 uint16_t bud_type; /* bud log item type */
873 * Dquot Log format definitions.
879 uint16_t qlf_type; /* dquot log item type */
888 * log format struct for QUOTAOFF records.
896 unsigned short qf_type; /* quotaoff log item type */
936 * Inode create log item structure
938 * Log recovery assumes the first two entries are the type and size and they fit
943 uint16_t icl_type; /* type of log format structure */
944 uint16_t icl_size; /* size of log format structure */
971 * This is the structure used to lay out an attr log item in the
972 * log.
975 uint16_t alfi_type; /* attri log item type */
987 uint16_t alfd_type; /* attrd log item type */