Lines Matching defs:txg
190 * Txg statistics - Information exported regarding each txg sync
194 uint64_t txg; /* txg id */
195 txg_state_t state; /* active txg state */
209 "%-8s %-8s %-12s %-12s %-12s %-12s\n", "txg", "birth", "state",
250 (longlong_t)sth->txg, sth->times[TXG_STATE_BIRTH], state,
315 * Add a new txg to historical record.
318 spa_txg_history_add(spa_t *spa, uint64_t txg, hrtime_t birth_time)
327 sth->txg = txg;
339 * Set txg state completion time and increment current state.
342 spa_txg_history_set(spa_t *spa, uint64_t txg, txg_state_t completed_state,
355 if (sth->txg == txg) {
368 * Set txg IO stats.
371 spa_txg_history_set_io(spa_t *spa, uint64_t txg, uint64_t nread,
384 if (sth->txg == txg) {
400 spa_txg_history_init_io(spa_t *spa, uint64_t txg, dsl_pool_t *dp)
413 ts->txg = txg;
414 ts->ndirty = dp->dp_dirty_pertxg[txg & TXG_MASK];
416 spa_txg_history_set(spa, txg, TXG_STATE_WAIT_FOR_SYNC, gethrtime());
436 spa_txg_history_set(spa, ts->txg, TXG_STATE_SYNCED, gethrtime());
437 spa_txg_history_set_io(spa, ts->txg,
572 uint64_t txg; /* txg of last sync */
588 "%-10s %s\n", "id", "txg", "timestamp", "error", "duration",
603 (u_longlong_t)smh->mmp_node_id, (u_longlong_t)smh->txg,
738 spa_mmp_history_add(spa_t *spa, uint64_t txg, uint64_t timestamp,
749 smh->txg = txg;