Lines Matching +full:sync +full:- +full:flag
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) International Business Machines Corp., 2000-2004
4 * Portions Copyright (C) Christoph Hellwig, 2001-2002
36 * blocks 2 - (N-1) are used to contain log records.
38 * when a volume group is varied-on-line, logRedo() must have
61 __le32 flag; /* 4: option */ member
62 __le32 state; /* 4: state - see below */
65 uuid_t uuid; /* 16: 128-bit journal uuid */
72 /* log flag: commit option (see jfs_filsys.h) */
113 __le16 eor; /* 2: end-of-log offset of lasrt record write */
116 __le32 data[LOGPSIZE / 4 - 4]; /* log record area */
139 * in main-memory.)
143 * the data area is rounded up to an integral number of 4-bytes and
145 * the descriptor is of size of multiple of 4-bytes and aligned on a
146 * 4-byte boundary.
207 * transaction commit: no type-dependent information;
211 * REDOPAGE: after-image
213 * apply after-image;
222 pxd_t pxd; /* 8: on-disk page pxd */
228 * do not apply after-image records which precede this record
238 pxd_t pxd; /* 8: on-disk page pxd */
244 * either in-line PXD,
245 * or out-of-line XADLIST;
260 * do not apply after-image records which precede this
272 pxd_t pxd; /* 8: on-disk page pxd */
276 * SYNCPT: log sync point
281 __le32 sync; /* 4: syncpt address (0 = here) */ member
287 * file system mount: no type-dependent information;
310 * (last to be read in logredo()) - it prevents
312 * of the inumber esp. the on-disk inode itself.
328 pxd_t pxd; /* 8: on-disk page pxd */
334 * no type-dependent information
355 struct list_head sb_list;/* This is used to sync metadata
366 unsigned long flag; /* 4: flag */ member
392 int lsn; /* 4: end-of-log */
395 int sync; /* 4: addr from last logsync() */ member
400 uuid_t uuid; /* 16: 128-bit uuid of log device */
402 int no_integrity; /* 3: flag to disable journaling to disk */
406 * Log flag
414 * group commit flag
467 u16 flag; /* only meaninful in tblock */ member
470 struct list_head synclist; /* log sync list link */
477 #define LOGSYNC_LOCK_INIT(log) spin_lock_init(&(log)->synclock)
478 #define LOGSYNC_LOCK(log, flags) spin_lock_irqsave(&(log)->synclock, flags)
480 spin_unlock_irqrestore(&(log)->synclock, flags)
482 /* compute the difference in bytes of lsn from sync point */
485 diff = (lsn) - (log)->syncpt;\
487 diff += (log)->logsize;\