Go to the documentation of this file.
59 #define LOGMAGIC 0x87654321
62 #define MAX_ACTIVE 128
83 #define NULL_UUID "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
138 #define LOGPHDRSIZE 8
139 #define LOGPTLRSIZE 8
168 #define LOG_COMMIT 0x8000
169 #define LOG_SYNCPT 0x4000
170 #define LOG_MOUNT 0x2000
171 #define LOG_REDOPAGE 0x0800
172 #define LOG_NOREDOPAGE 0x0080
173 #define LOG_NOREDOINOEXT 0x0040
174 #define LOG_UPDATEMAP 0x0008
175 #define LOG_NOREDOFILE 0x0001
178 #define LOG_INODE 0x0001
179 #define LOG_XTREE 0x0002
180 #define LOG_DTREE 0x0004
181 #define LOG_BTROOT 0x0010
182 #define LOG_EA 0x0020
183 #define LOG_ACL 0x0040
184 #define LOG_DATA 0x0080
185 #define LOG_NEW 0x0100
186 #define LOG_EXTEND 0x0200
187 #define LOG_RELOCATE 0x0400
188 #define LOG_DIR_XTREE 0x0800
191 #define LOG_ALLOCXADLIST 0x0080
192 #define LOG_ALLOCPXDLIST 0x0040
193 #define LOG_ALLOCXAD 0x0020
194 #define LOG_ALLOCPXD 0x0010
195 #define LOG_FREEXADLIST 0x0008
196 #define LOG_FREEPXDLIST 0x0004
197 #define LOG_FREEXAD 0x0002
198 #define LOG_FREEPXD 0x0001
352 #define LOGRDSIZE (sizeof(struct lrd))
421 #define log_INLINELOG 1
422 #define log_SYNCBARRIER 2
423 #define log_QUIESCE 3
430 #define logGC_PAGEOUT 0x00000001
433 #define tblkGC_QUEUE 0x0001
434 #define tblkGC_READY 0x0002
435 #define tblkGC_COMMIT 0x0004
436 #define tblkGC_COMMITTED 0x0008
437 #define tblkGC_EOP 0x0010
438 #define tblkGC_FREE 0x0020
439 #define tblkGC_LEADER 0x0040
440 #define tblkGC_ERROR 0x0080
441 #define tblkGC_LAZY 0x0100 // D230860
442 #define tblkGC_UNLOCKED 0x0200 // D230860
471 #define l_redrive_next l_freelist
490 #define LOGSYNC_LOCK_INIT(log) spin_lock_init(&(log)->synclock)
491 #define LOGSYNC_LOCK(log, flags) spin_lock_irqsave(&(log)->synclock, flags)
492 #define LOGSYNC_UNLOCK(log, flags) \
493 spin_unlock_irqrestore(&(log)->synclock, flags)
496 #define logdiff(diff, lsn, log)\
498 diff = (lsn) - (log)->syncpt;\
500 diff += (log)->logsize;\