HomeSort by relevance Sort by last modified time
    Searched defs:txg (Results 1 - 17 of 17) sorted by null

  /netvirt/usr/src/uts/common/fs/zfs/
dsl_synctask.c 81 uint64_t txg; local
88 txg = dmu_tx_get_txg(tx);
115 VERIFY(0 == txg_list_add(&dstg->dstg_pool->dp_sync_tasks, dstg, txg));
119 txg_wait_synced(dstg->dstg_pool, txg);
130 uint64_t txg; local
133 txg = dmu_tx_get_txg(tx);
134 VERIFY(0 == txg_list_add(&dstg->dstg_pool->dp_sync_tasks, dstg, txg));
dnode_sync.c 139 uint64_t txg = tx->tx_txg; local
169 while (dr && dr->dr_txg > txg)
171 ASSERT(dr == NULL || dr->dr_txg == txg);
187 * future txg.
416 uint64_t txg = dr->dr_txg; local
434 dbuf_rele(db, (void *)(uintptr_t)txg);
spa_config.c 373 spa_config_generate(spa_t *spa, vdev_t *vd, uint64_t txg, int getstats)
386 * If txg is -1, report the current value of spa->spa_config_txg.
388 if (txg == -1ULL)
389 txg = spa->spa_config_txg;
400 txg) == 0);
440 uint64_t txg; local
446 txg = spa_last_synced_txg(spa) + 1;
460 vdev_init(tvd, txg);
470 txg_wait_synced(spa->spa_dsl_pool, txg);
txg.c 26 #pragma ident "@(#)txg.c 1.3 08/01/03 SMI"
42 int txg_time = 5; /* max 5 seconds worth of delta per txg */
45 * Prepare the txg subsystem.
48 txg_init(dsl_pool_t *dp, uint64_t txg)
69 tx->tx_open_txg = txg;
73 * Close down the txg subsystem.
200 uint64_t txg; local
204 txg = tx->tx_open_txg;
205 tc->tc_count[txg & TXG_MASK]++;
208 th->th_txg = txg;
280 uint64_t txg; local
343 uint64_t txg; local
430 uint64_t txg = tx->tx_open_txg + 1; local
    [all...]
vdev_label.c 124 * txg Transaction group in which this label was written
364 uint64_t state, pool_guid, device_guid, txg, spare_pool; local
394 &txg) != 0)) {
420 txg == 0 && vdtxg == crtxg)
566 * We mark it as being from txg 0 to indicate that it's not
568 * be written again with a meaningful txg by spa_sync().
696 * Consider the following situation: txg is safely synced to disk. We've
697 * written the first uberblock for txg + 1, and then we lose power. When we
698 * come back up, we fail to see the uberblock for txg + 1 because, say,
699 * it was on a mirrored device and the replica to which we wrote txg +
    [all...]
vdev_mirror.c 214 uint64_t txg = zio->io_txg; local
217 ASSERT(zio->io_bp == NULL || zio->io_bp->blk_birth == txg);
236 if (!vdev_dtl_contains(&mc->mc_vd->vdev_dtl_map, txg, 1))
243 * Every device is either missing or has this txg in its DTL.
dnode.c 360 dprintf("os=%p obj=%llu txg=%llu blocksize=%d ibs=%d\n", dn->dn_objset,
686 uint64_t txg = tx->tx_txg; local
696 /* ASSERT(dn->dn_free_txg == 0 || dn->dn_free_txg >= txg); */
705 if (list_link_active(&dn->dn_dirty_link[txg & TXG_MASK])) {
712 ASSERT3U(dn->dn_next_bonuslen[txg&TXG_MASK], ==, 0);
713 ASSERT3U(dn->dn_next_blksz[txg&TXG_MASK], ==, 0);
715 dprintf_ds(os->os_dsl_dataset, "obj=%llu txg=%llu\n",
716 dn->dn_object, txg);
718 if (dn->dn_free_txg > 0 && dn->dn_free_txg <= txg) {
719 list_insert_tail(&os->os_free_dnodes[txg&TXG_MASK], dn)
    [all...]
dsl_dir.c 578 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", tx->tx_txg,
684 uint64_t txg = tx->tx_txg; local
688 int txgidx = txg & TXG_MASK;
691 ASSERT3U(txg, !=, 0);
786 * Reserve space in this dsl_dir, to be used in this tx's txg.
dbuf.c 630 * buffer for the first time in a txg, and when we are freeing
638 dbuf_fix_old_data(dmu_buf_impl_t *db, uint64_t txg)
659 ASSERT(dr->dr_txg >= txg - 2);
680 uint64_t txg = dr->dr_txg; local
694 txg, &dr->dt.dl.dr_overridden_by, NULL, NULL, ARC_WAIT);
712 uint64_t txg = tx->tx_txg; local
753 if (dr->dr_txg == txg) {
769 dbuf_fix_old_data(db, txg);
976 * in a previous txg, we don't know how much
990 * transaction group won't leak out when we sync the older txg
1116 uint64_t txg = tx->tx_txg; local
1885 uint64_t txg = tx->tx_txg; local
2078 uint64_t txg = tx->tx_txg; local
2198 uint64_t txg = zio->io_txg; local
    [all...]
vdev.c 727 vdev_metaslab_init(vdev_t *vd, uint64_t txg)
765 if (txg == 0) {
783 m << vd->vdev_ms_shift, 1ULL << vd->vdev_ms_shift, txg);
1107 vdev_create(vdev_t *vd, uint64_t txg, boolean_t isreplacing)
1126 if ((error = vdev_label_init(vd, txg, isreplacing ?
1142 vdev_init(vdev_t *vd, uint64_t txg)
1154 VERIFY(vdev_metaslab_init(vd, txg) == 0);
1158 vdev_dirty(vdev_t *vd, int flags, void *arg, uint64_t txg)
1164 (void) txg_list_add(&vd->vdev_ms_list, arg, txg);
1167 (void) txg_list_add(&vd->vdev_dtl_list, arg, txg);
1488 uint64_t txg; local
1555 uint64_t txg; local
1607 uint64_t txg; local
1666 uint64_t txg; local
1866 uint64_t txg = zio->io_txg; local
    [all...]
zil.c 45 * either the DMU transaction group (txg) commits them to the stable pool
210 zil_parse_lr_func_t *parse_lr_func, void *arg, uint64_t txg)
247 parse_blk_func(zilog, &blk, arg, txg);
265 parse_lr_func(zilog, lr, arg, txg);
332 uint64_t txg = 0; local
354 txg = dmu_tx_get_txg(tx);
357 NULL, txg);
373 lwb->lwb_max_txg = txg;
388 txg_wait_synced(zilog->zl_dmu_pool, txg);
409 uint64_t txg; local
472 uint64_t txg; local
673 uint64_t txg; local
776 uint64_t txg = lrc->lrc_txg; local
951 uint64_t txg; local
1116 uint64_t txg = dmu_tx_get_txg(tx); local
1286 uint64_t txg; local
    [all...]
zio.c 31 #include <sys/txg.h>
334 zio_create(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp,
347 zio->io_txg = txg;
487 uint64_t txg, blkptr_t *bp, void *data, uint64_t size,
501 zio = zio_create(pio, spa, txg, bp, data, size, done, private,
515 if (bp->blk_birth != txg) {
531 uint64_t txg, blkptr_t *bp, void *data, uint64_t size,
537 zio = zio_create(pio, spa, txg, bp, data, size, done, private,
563 uint64_t txg, blkptr_t *bp, void *data, uint64_t size,
573 zio = zio_create(pio, spa, txg, bp, data, size, done, private
625 ASSERT3U(spa_first_txg(spa), <=, txg); local
1538 uint64_t txg = zio->io_txg; local
    [all...]
spa.c 48 #include <sys/txg.h>
1887 uint64_t txg = TXG_INITIAL; local
2393 uint64_t txg; local
2502 uint64_t txg, open_txg; local
2683 uint64_t txg; local
3127 uint64_t txg; local
3629 uint64_t txg; local
    [all...]
zfs_ioctl.c 2485 uint64_t txg; local
    [all...]
  /netvirt/usr/src/lib/libzfs/common/
libzfs_import.c 35 * pool guid -> toplevel vdev guid -> label txg
38 * examined every device, we pick the best label txg config for each toplevel
209 uint64_t pool_guid, vdev_guid, top_guid, txg, state; local
240 * we write a label with txg == 0 so that we can identify the device
252 &txg) != 0 || txg == 0) {
301 if (ce->ce_txg == txg)
310 ce->ce_txg = txg;
723 uint64_t state, txg, size; local
751 &txg) != 0 || txg == 0))
    [all...]
  /netvirt/usr/src/cmd/zpool/
zpool_main.c 3481 uint64_t txg; local
    [all...]
  /netvirt/usr/src/cmd/ztest/
ztest.c 60 * the transaction group number is less than the current, open txg.
80 #include <sys/txg.h>
740 " in txg %llu = %d\n",
1732 uint64_t n, s, txg; local
2191 uint64_t txg, last_txg; local
2390 uint64_t txg, object, count, wsize, wc, zl_wsize, zl_wc; local
    [all...]

Completed in 1059 milliseconds