Go to the documentation of this file.
18 #ifndef __XFS_LOG_RECOVER_H__
19 #define __XFS_LOG_RECOVER_H__
25 #define XLOG_RHASH_BITS 4
26 #define XLOG_RHASH_SIZE 16
27 #define XLOG_RHASH_SHIFT 2
28 #define XLOG_RHASH(tid) \
29 ((((__uint32_t)tid)>>XLOG_RHASH_SHIFT) & (XLOG_RHASH_SIZE-1))
31 #define XLOG_MAX_REGIONS_IN_ITEM (XFS_MAX_BLOCKSIZE / XFS_BLF_CHUNK / 2 + 1)
55 #define ITEM_TYPE(i) (*(ushort *)(i)->ri_buf[0].i_addr)
61 #define XLOG_BC_TABLE_SIZE 64
63 #define XLOG_RECOVER_PASS1 1
64 #define XLOG_RECOVER_PASS2 2