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 */
378 * Incore version of the on-disk inode core structures. We log this directly
482 * Buffer Log Format definitions
484 * These are the physical dirty bitmap definitions for the log format structure.
512 * This is the structure used to lay out a buf log item in the log. The data
528 unsigned short blf_type; /* buf log item type indicator */
589 * EFI/EFD log format definitions
614 * This is the structure used to lay out an efi log item in the
615 * log. The efi_extents field is a variable size array whose
619 uint16_t efi_type; /* efi log item type */
635 uint16_t efi_type; /* efi log item type */
651 uint16_t efi_type; /* efi log item type */
667 * This is the structure used to lay out an efd log item in the
668 * log. The efd_extents array is a variable size array whose
672 uint16_t efd_type; /* efd log item type */
688 uint16_t efd_type; /* efd log item type */
704 uint16_t efd_type; /* efd log item type */
720 * RUI/RUD (reverse mapping) log format definitions
751 * This is the structure used to lay out an rui log item in the
752 * log. The rui_extents field is a variable size array whose
756 uint16_t rui_type; /* rui log item type */
772 * This is the structure used to lay out an rud log item in the
773 * log. The rud_extents array is a variable size array whose
777 uint16_t rud_type; /* rud log item type */
784 * CUI/CUD (refcount update) log format definitions
799 * This is the structure used to lay out a cui log item in the
800 * log. The cui_extents field is a variable size array whose
804 uint16_t cui_type; /* cui log item type */
820 * This is the structure used to lay out a cud log item in the
821 * log. The cud_extents array is a variable size array whose
825 uint16_t cud_type; /* cud log item type */
832 * BUI/BUD (inode block mapping) log format definitions
847 * This is the structure used to lay out an bui log item in the
848 * log. The bui_extents field is a variable size array whose
852 uint16_t bui_type; /* bui log item type */
868 * This is the structure used to lay out an bud log item in the
869 * log. The bud_extents array is a variable size array whose
873 uint16_t bud_type; /* bud log item type */
880 * Dquot Log format definitions.
886 uint16_t qlf_type; /* dquot log item type */
895 * log format struct for QUOTAOFF records.
903 unsigned short qf_type; /* quotaoff log item type */
943 * Inode create log item structure
945 * Log recovery assumes the first two entries are the type and size and they fit
950 uint16_t icl_type; /* type of log format structure */
951 uint16_t icl_size; /* size of log format structure */
978 * This is the structure used to lay out an attr log item in the
979 * log.
982 uint16_t alfi_type; /* attri log item type */
994 uint16_t alfd_type; /* attrd log item type */