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

  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/
dsl_synctask.c 79 uint64_t txg; local
86 txg = dmu_tx_get_txg(tx);
113 VERIFY(0 == txg_list_add(&dstg->dstg_pool->dp_sync_tasks, dstg, txg));
117 txg_wait_synced(dstg->dstg_pool, txg);
120 txg_wait_synced(dstg->dstg_pool, txg + TXG_DEFER_SIZE);
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));
zio_checksum.c 120 * Set the external verifier for a gang block based on <vdev, offset, txg>,
127 uint64_t txg = BP_PHYSICAL_BIRTH(bp); local
131 ZIO_SET_CHECKSUM(zcp, DVA_GET_VDEV(dva), DVA_GET_OFFSET(dva), txg, 0);
136 * The vdev is implicit, and the txg is unknowable at pool open time --
spa_config.c 332 spa_config_generate(spa_t *spa, vdev_t *vd, uint64_t txg, int getstats)
349 * If txg is -1, report the current value of spa->spa_config_txg.
351 if (txg == -1ULL)
352 txg = spa->spa_config_txg;
363 txg) == 0);
424 uint64_t txg; local
430 txg = spa_last_synced_txg(spa) + 1;
445 vdev_expand(tvd, txg);
453 txg_wait_synced(spa->spa_dsl_pool, txg);
vdev_disk.c 510 uint64_t offset, state, txg = 0; local
532 &txg) != 0 || txg == 0) {
vdev_label.c 122 * txg Transaction group in which this label was written
452 uint64_t state, pool_guid, device_guid, txg, spare_pool; local
482 &txg) != 0)) {
508 txg == 0 && vdtxg == crtxg)
649 * We mark it as being from txg 0 to indicate that it's not
651 * be written again with a meaningful txg by spa_sync().
782 * Consider the following situation: txg is safely synced to disk. We've
783 * written the first uberblock for txg + 1, and then we lose power. When we
784 * come back up, we fail to see the uberblock for txg + 1 because, say,
785 * it was on a mirrored device and the replica to which we wrote txg +
    [all...]
dnode_sync.c 138 uint64_t txg = tx->tx_txg; local
168 while (dr && dr->dr_txg > txg)
170 ASSERT(dr == NULL || dr->dr_txg == txg);
186 * future txg.
425 uint64_t txg = dr->dr_txg; local
442 dbuf_rele_and_unlock(db, (void *)(uintptr_t)txg);
vdev_mirror.c 214 uint64_t txg = zio->io_txg; local
217 ASSERT(zio->io_bp == NULL || BP_PHYSICAL_BIRTH(zio->io_bp) == txg);
236 if (!vdev_dtl_contains(mc->mc_vd, DTL_MISSING, txg, 1))
244 * Every device is either missing or has this txg in its DTL.
dmu_traverse.c 403 uint64_t txg = txg_start; local
410 if (ds->ds_phys->ds_prev_snap_txg > txg)
411 txg = ds->ds_phys->ds_prev_snap_txg;
412 err = traverse_dataset(ds, txg, flags, func, arg);
txg.c 40 int zfs_txg_timeout = 30; /* max seconds worth of delta per txg */
43 * Prepare the txg subsystem.
46 txg_init(dsl_pool_t *dp, uint64_t txg)
75 tx->tx_open_txg = txg;
79 * Close down the txg subsystem.
222 uint64_t txg; local
226 txg = tx->tx_open_txg;
227 tc->tc_count[txg & TXG_MASK]++;
230 th->th_txg = txg;
232 return (txg);
366 uint64_t txg; local
440 uint64_t txg; local
    [all...]
dnode.c 362 dprintf("os=%p obj=%llu txg=%llu blocksize=%d ibs=%d\n", dn->dn_objset,
693 uint64_t txg = tx->tx_txg; local
705 /* ASSERT(dn->dn_free_txg == 0 || dn->dn_free_txg >= txg); */
714 if (list_link_active(&dn->dn_dirty_link[txg & TXG_MASK])) {
721 ASSERT3U(dn->dn_next_bonuslen[txg&TXG_MASK], ==, 0);
722 ASSERT3U(dn->dn_next_blksz[txg&TXG_MASK], ==, 0);
724 dprintf_ds(os->os_dsl_dataset, "obj=%llu txg=%llu\n",
725 dn->dn_object, txg);
727 if (dn->dn_free_txg > 0 && dn->dn_free_txg <= txg) {
728 list_insert_tail(&os->os_free_dnodes[txg&TXG_MASK], dn)
    [all...]
dsl_dir.c 577 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", tx->tx_txg,
689 uint64_t txg = tx->tx_txg; local
694 int txgidx = txg & TXG_MASK;
698 ASSERT3U(txg, !=, 0);
800 * Reserve space in this dsl_dir, to be used in this tx's txg.
    [all...]
dbuf.c 636 * buffer for the first time in a txg, and when we are freeing
644 dbuf_fix_old_data(dmu_buf_impl_t *db, uint64_t txg)
665 ASSERT(dr->dr_txg >= txg - 2);
687 uint64_t txg = dr->dr_txg; local
701 dsl_free(spa_get_dsl(db->db_dnode->dn_objset->os_spa), txg, bp);
726 uint64_t txg = tx->tx_txg; local
745 db->db_last_dirty->dr_txg < txg) {
789 if (dr->dr_txg == txg) {
805 dbuf_fix_old_data(db, txg);
1015 * transaction group won't leak out when we sync the older txg
1158 uint64_t txg = tx->tx_txg; local
2028 uint64_t txg = tx->tx_txg; local
2231 uint64_t txg = zio->io_txg; local
2340 uint64_t txg = tx->tx_txg; local
    [all...]
zil.c 43 * either the DMU transaction group (txg) commits them to the stable pool
251 zil_parse_lr_func_t *parse_lr_func, void *arg, uint64_t txg)
291 if ((error = parse_blk_func(zilog, &blk, arg, txg)) != 0)
310 if ((error = parse_lr_func(zilog, lr, arg, txg)) != 0)
405 uint64_t txg = 0; local
428 txg = dmu_tx_get_txg(tx);
431 zio_free_zil(zilog->zl_spa, txg, &blk);
435 error = zio_alloc_zil(zilog->zl_spa, txg, &blk, NULL,
452 lwb->lwb_max_txg = txg;
468 txg_wait_synced(zilog->zl_dmu_pool, txg);
489 uint64_t txg; local
791 uint64_t txg; local
890 uint64_t txg = lrc->lrc_txg; local
1078 uint64_t txg; local
1263 uint64_t txg = dmu_tx_get_txg(tx); local
1433 uint64_t txg; local
    [all...]
vdev.c 796 vdev_metaslab_init(vdev_t *vd, uint64_t txg)
806 ASSERT(txg == 0 || spa_config_held(spa, SCL_ALLOC, RW_WRITER));
839 if (txg == 0) {
858 m << vd->vdev_ms_shift, 1ULL << vd->vdev_ms_shift, txg);
861 if (txg == 0)
867 if (txg == 0)
2441 uint64_t txg = zio->io_txg; local
    [all...]
zio.c 29 #include <sys/txg.h>
469 zio_create(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp,
519 zio->io_txg = txg;
595 zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp,
613 zio = zio_create(pio, spa, txg, bp, data, size, done, private,
625 zio_rewrite(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, void *data,
631 zio = zio_create(pio, spa, txg, bp, data, size, done, private,
651 zio_free(spa_t *spa, uint64_t txg, const blkptr_t *bp)
653 bplist_enqueue_deferred(&spa->spa_free_bplist[txg & TXG_MASK], bp);
657 zio_free_sync(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp
1639 uint64_t txg = pio->io_txg; local
1946 uint64_t txg = zio->io_txg; local
    [all...]
spa.c 47 #include <sys/txg.h>
2400 uint64_t txg = TXG_INITIAL; local
2699 uint64_t guid, txg; local
3250 uint64_t txg, id; local
3360 uint64_t txg, open_txg; local
3545 uint64_t txg; local
3809 uint64_t txg; local
3893 uint64_t txg = 0; local
    [all...]
  /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/
fsys_zfs.c 1213 uint64_t pool_state, txg = 0; local
1241 if (nvlist_lookup_value(nvlist, ZPOOL_CONFIG_POOL_TXG, &txg,
1246 if (txg == 0)
    [all...]
  /onnv/onnv-gate/usr/src/lib/libzfs/common/
libzfs_import.c 33 * pool guid -> toplevel vdev guid -> label txg
36 * examined every device, we pick the best label txg config for each toplevel
213 uint64_t pool_guid, vdev_guid, top_guid, txg, state; local
244 * we write a label with txg == 0 so that we can identify the device
256 &txg) != 0 || txg == 0) {
305 if (ce->ce_txg == txg)
314 ce->ce_txg = txg;
487 * We rely on the fact that the max txg for the
864 uint64_t state, txg, size local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/zpool/
zpool_main.c 3749 uint64_t txg; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/zdb/
zdb.c 139 (void) fprintf(stderr, " -t <txg> -- highest txg to use when "
409 (void) printf("\t [%6llu] %s: txg %llu, pass %llu\n",
817 uint64_t time, txg, ievent; local
829 ZPOOL_HIST_TXG, &txg) == 0);
837 "[internal %s txg:%lld] %s",
838 hist_event_table[ievent], txg,
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ztest/
ztest.c 58 * the transaction group number is less than the current, open txg.
78 #include <sys/txg.h>
295 * The callbacks are ordered by txg number.
998 uint64_t txg; local
1016 txg = dmu_tx_get_txg(tx);
1017 ASSERT(txg != 0);
1018 return (txg);
1046 uint64_t offset, uint64_t gen, uint64_t txg, uint64_t crtxg)
1053 bt->bt_txg = txg;
1059 uint64_t offset, uint64_t gen, uint64_t txg, uint64_t crtxg
1202 uint64_t txg; local
1285 uint64_t object, txg; local
1337 uint64_t gen, txg, lrtxg, crtxg; local
1459 uint64_t txg; local
1500 uint64_t txg, lrtxg, crtxg; local
1618 uint64_t txg = lr->lr_common.lrc_txg; local
1901 uint64_t txg; local
1918 txg_wait_synced(dmu_objset_pool(os), txg); local
3065 uint64_t n, s, txg; local
3328 uint64_t n, s, txg; local
3616 uint64_t txg, last_txg; local
3755 uint64_t object, txg; local
3796 uint64_t txg, object, count, wsize, wc, zl_wsize, zl_wc; local
3988 uint64_t old_txg, txg; local
4430 uint64_t object, blocksize, txg, pattern, psize; local
4490 txg_wait_synced(spa_get_dsl(spa), txg); local
    [all...]

Completed in 4870 milliseconds