Lines Matching defs:iclog
426 * modified at the time it gets written into the iclog.
438 * formatting step to write the regions into the iclog buffer. Writing the
439 * ophdrs during the iclog write means that we can support splitting large
440 * regions across iclog boundares without needing a change in the format of the
445 * format the regions into the iclog as though they are being formatted
605 * Check if we need to steal iclog headers. atomic_read() is not a
608 * reservation from this commit, we've already got one iclog header
773 * Record the LSN of the iclog we were just granted space to start writing into.
774 * If the context doesn't have a start_lsn recorded, then this iclog will
781 struct xlog_in_core *iclog)
784 xfs_lsn_t lsn = be64_to_cpu(iclog->ic_header.h_lsn);
802 * has been flushed to stable storage before this iclog is
806 iclog->ic_flags |= XLOG_ICL_NEED_FLUSH;
812 * Take a reference to the iclog for the context so that we still hold
814 * context controls when the iclog is released for IO.
816 atomic_inc(&iclog->ic_refcnt);
820 * iclog for an entire commit record, so we can attach the context
823 * same iclog order their IO completion callbacks in the same order that
824 * the commit records appear in the iclog.
827 list_add_tail(&ctx->iclog_entry, &iclog->ic_callbacks);
836 ctx->commit_iclog = iclog;
1252 * it gets written into the iclog first.
1284 * checks for this - ACTIVE can be either a past completed iclog or a
1285 * future iclog being filled, while WANT_SYNC through SYNC_DONE can be a
1286 * past or future iclog awaiting IO or ordered IO completion to be run.
1287 * In the latter case, if it's a future iclog and we wait on it, the we
1290 * iclog header lsn and compare it to the commit lsn to determine if we
1302 * on the most recent older iclog here.
1316 * The commit iclog must be written to stable storage to guarantee
1446 * ACTIVE iclog. This then requires another full log force to push to disk,
1631 * still be in an active iclog is pushed to stable storage.
1645 * iclog flush is necessary following this call.
1728 * to pass through it's iclog state machine error handling, even though