Lines Matching refs:lsn
560 * Hence if NEED_FUA is set and the current iclog tail lsn is empty, write the
563 * the checkpoint commit that wrote the initial tail lsn value. The tail lsn in
565 * always capture the tail lsn on the iclog on the first NEED_FUA release
1720 * Don't pass in an lsn greater than the lsn of the last
1721 * log record known to be on disk. Use a snapshot of the last sync lsn
1734 * policy which pushes on an lsn which is further along in the log once we
2446 * B. If this is first write, save away start lsn
2666 xfs_lsn_t lowest_lsn = 0, lsn;
2673 lsn = be64_to_cpu(iclog->ic_header.h_lsn);
2674 if ((lsn && !lowest_lsn) || XFS_LSN_CMP(lsn, lowest_lsn) < 0)
2675 lowest_lsn = lsn;
2746 * If this is not the lowest lsn iclog, then we will leave it
2929 /* On the 1st write to an iclog, figure out lsn. This works
3135 xfs_lsn_t lsn = be64_to_cpu(iclog->ic_header.h_lsn);
3147 if (be64_to_cpu(iclog->ic_header.h_lsn) != lsn)
3253 * If an iclog with that lsn can be found:
3260 * to force a given lsn to disk must wait on the queue attached to the
3267 xfs_lsn_t lsn,
3280 while (be64_to_cpu(iclog->ic_header.h_lsn) != lsn) {
3365 xfs_lsn_t lsn;
3372 lsn = xlog_cil_force_seq(log, seq);
3373 if (lsn == NULLCOMMITLSN)
3376 ret = xlog_force_lsn(log, lsn, flags, log_flushed, false);
3379 ret = xlog_force_lsn(log, lsn, flags, log_flushed, true);
3836 xfs_lsn_t lsn)
3853 if (lsn == NULLCOMMITLSN)
3856 valid = xlog_valid_lsn(mp->m_log, lsn);
3864 CYCLE_LSN(lsn), BLOCK_LSN(lsn),