Home
last modified time | relevance | path

Searched refs:tx_txg (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_tx.c77 tx->tx_txg = txg; in dmu_tx_create_assigned()
103 if (tx->tx_txg != 0) { in dmu_tx_hold_dnode_impl()
111 dn->dn_assigned_txg = tx->tx_txg; in dmu_tx_hold_dnode_impl()
292 ASSERT0(tx->tx_txg); in dmu_tx_hold_write()
309 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_remap_l1indirect()
326 ASSERT0(tx->tx_txg); in dmu_tx_hold_write_by_dnode()
359 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_free_impl()
469 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_zap_impl()
519 ASSERT0(tx->tx_txg); in dmu_tx_hold_zap()
532 ASSERT0(tx->tx_txg); in dmu_tx_hold_zap_by_dnode()
[all …]
H A Ddnode.c394 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = DN_ZERO_BONUSLEN; in dnode_setbonuslen()
396 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen; in dnode_setbonuslen()
407 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype; in dnode_setbonus_type()
417 dn->dn_rm_spillblk[tx->tx_txg&TXG_MASK] = DN_KILL_SPILLBLK; in dnode_rm_spill()
592 dn->dn_objset, dn->dn_object, tx->tx_txg, blocksize, ibs, dn_slots); in dnode_allocate()
653 dn->dn_allocated_txg = tx->tx_txg; in dnode_allocate()
657 dn->dn_next_indblkshift[tx->tx_txg & TXG_MASK] = ibs; in dnode_allocate()
658 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen; in dnode_allocate()
659 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype; in dnode_allocate()
660 dn->dn_next_blksz[tx->tx_txg & TXG_MASK] = dn->dn_datablksz; in dnode_allocate()
[all …]
H A Ddnode_sync.c45 int txgoff = tx->tx_txg & TXG_MASK; in dnode_increase_indirection()
179 uint64_t txg = tx->tx_txg; in free_verify()
559 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync_free()
610 dnode_rele(dn, (void *)(uintptr_t)tx->tx_txg); in dnode_sync_free()
625 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync()
663 if (dn->dn_allocated_txg == tx->tx_txg) { in dnode_sync()
722 dn->dn_free_txg <= tx->tx_txg; in dnode_sync()
818 ASSERT(dn->dn_allocated_txg == tx->tx_txg); in dnode_sync()
844 dnode_rele(dn, (void *)(uintptr_t)tx->tx_txg); in dnode_sync()
H A Ddbuf.c1506 uint64_t txg = tx->tx_txg; in dbuf_free_range()
1633 ASSERT3U(db->db_last_dirty->dr_txg, ==, tx->tx_txg); in dbuf_new_size()
1687 int txgoff = tx->tx_txg & TXG_MASK; in dbuf_dirty()
1690 ASSERT(tx->tx_txg != 0); in dbuf_dirty()
1754 if (tx->tx_txg > dn->dn_dirty_txg) in dbuf_dirty()
1755 dn->dn_dirty_txg = tx->tx_txg; in dbuf_dirty()
1765 ASSERT(*drp == NULL || (*drp)->dr_txg <= tx->tx_txg || in dbuf_dirty()
1767 while ((dr = *drp) != NULL && dr->dr_txg > tx->tx_txg) in dbuf_dirty()
1769 if (dr && dr->dr_txg == tx->tx_txg) { in dbuf_dirty()
1794 VERIFY3U(tx->tx_txg, <=, spa_final_dirty_txg(os->os_spa)); in dbuf_dirty()
[all …]
H A Ddsl_dataset.c183 ASSERT(birth <= tx->tx_txg); in dsl_dataset_block_remapped()
224 ASSERT(bp->blk_birth <= tx->tx_txg); in dsl_dataset_block_kill()
227 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill()
241 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill()
1070 dsphys->ds_creation_txg = tx->tx_txg == TXG_INITIAL ? 1 : tx->tx_txg; in dsl_dataset_create_sync_dd()
1166 os->os_next_write_raw[tx->tx_txg & TXG_MASK] = B_TRUE; in dsl_dataset_zero_zil()
1317 ASSERT3U(tx->tx_txg, >, dsl_dataset_phys(ds)->ds_prev_snap_txg); in dsl_dataset_dirty()
1320 if (txg_list_add(&dp->dp_dirty_datasets, ds, tx->tx_txg)) { in dsl_dataset_dirty()
1329 !os->os_next_write_raw[tx->tx_txg & TXG_MASK]) { in dsl_dataset_dirty()
1382 ds->ds_trysnap_txg = tx->tx_txg; in dsl_dataset_snapshot_check_impl()
[all …]
H A Ddsl_dir.c1141 if (txg_list_add(&dp->dp_dirty_dirs, dd, tx->tx_txg)) { in dsl_dir_dirty()
1162 ASSERT0(dd->dd_tempreserved[tx->tx_txg&TXG_MASK]); in dsl_dir_sync()
1163 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", tx->tx_txg, in dsl_dir_sync()
1164 dd->dd_space_towrite[tx->tx_txg&TXG_MASK] / 1024); in dsl_dir_sync()
1165 dd->dd_space_towrite[tx->tx_txg&TXG_MASK] = 0; in dsl_dir_sync()
1265 uint64_t txg = tx->tx_txg; in dsl_dir_tempreserve_impl()
1397 err = arc_tempreserve_space(dd->dd_pool->dp_spa, lsize, tx->tx_txg); in dsl_dir_tempreserve_space()
1415 txg_delay(dd->dd_pool, tx->tx_txg, in dsl_dir_tempreserve_space()
1441 int txgidx = tx->tx_txg & TXG_MASK; in dsl_dir_tempreserve_clear()
1445 ASSERT3U(tx->tx_txg, !=, 0); in dsl_dir_tempreserve_clear()
[all …]
H A Dspa_checkpoint.c321 sdc.sdc_txg = tx->tx_txg; in spa_checkpoint_discard_thread_sync()
339 tx->tx_txg, vd->vdev_id, (words_before - words_after), in spa_checkpoint_discard_thread_sync()
H A Ddmu_objset.c1064 mdn->dn_next_nlevels[tx->tx_txg & TXG_MASK] = in dmu_objset_create_impl_dnstats()
1211 tx->tx_txg); in dmu_objset_create_sync()
1219 if (txg_list_member(&dp->dp_dirty_datasets, ds, tx->tx_txg)) { in dmu_objset_create_sync()
1226 tx->tx_txg); in dmu_objset_create_sync()
1583 if (dn->dn_dirty_txg == tx->tx_txg) in dmu_objset_sync_dnodes()
1678 dprintf_ds(os->os_dsl_dataset, "txg=%llu\n", tx->tx_txg); in dmu_objset_sync()
1709 os->os_next_write_raw[tx->tx_txg & TXG_MASK]) { in dmu_objset_sync()
1716 zio = arc_write(pio, os->os_spa, tx->tx_txg, in dmu_objset_sync()
1743 txgoff = tx->tx_txg & TXG_MASK; in dmu_objset_sync()
2082 if (tx->tx_txg <= os->os_spa->spa_claim_max_txg) in dmu_objset_do_userquota_updates()
[all …]
H A Ddsl_scan.c615 scn->scn_restart_txg <= tx->tx_txg); in dsl_scan_restarting()
735 scn->scn_phys.scn_max_txg = tx->tx_txg; in dsl_scan_setup_sync()
921 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg, in dsl_scan_done()
928 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg, in dsl_scan_done()
3317 (longlong_t)tx->tx_txg, err); in dsl_process_async_destroys()
3325 ddt_sync(spa, tx->tx_txg); in dsl_process_async_destroys()
3419 func, (longlong_t)tx->tx_txg); in dsl_scan_sync()
3570 (longlong_t)tx->tx_txg, in dsl_scan_sync()
3578 (longlong_t)tx->tx_txg, in dsl_scan_sync()
3620 scn->scn_done_txg = tx->tx_txg + 1; in dsl_scan_sync()
[all …]
H A Ddsl_destroy.c140 dsl_free_sync(poa->pio, dp, tx->tx_txg, bp); in process_old_cb()
264 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_snapshot_sync_impl()
655 dsl_free(ka->tx->tx_pool, ka->tx->tx_txg, bp); in kill_blkptr()
815 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_head_sync_impl()
H A Dspa_history.c532 if (tx->tx_txg == TXG_INITIAL || !spa_writeable(spa)) { in log_internal()
543 fnvlist_add_uint64(nvl, ZPOOL_HIST_TXG, tx->tx_txg); in log_internal()
H A Dzfeature.c429 ASSERT((!spa->spa_sync_on && tx->tx_txg == TXG_INITIAL) || in spa_feature_create_zap_objects()
H A Ddmu_object.c438 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type = in dmu_object_zapify()
H A Dzil.c788 ASSERT3U(tx->tx_txg, ==, spa_first_txg(zilog->zl_spa)); in zil_claim()
827 os->os_next_write_raw[tx->tx_txg & TXG_MASK] = B_TRUE; in zil_claim()
857 os->os_next_write_raw[tx->tx_txg & TXG_MASK] = B_TRUE; in zil_claim()
H A Dzcp.c653 zfs_dbgmsg("txg %lld ZCP: %s", ri->zri_tx->tx_txg, dbgstring); in zcp_debug()
H A Ddsl_pool.c889 dp->dp_dirty_pertxg[tx->tx_txg & TXG_MASK] += space; in dsl_pool_dirty_space()
H A Dspa.c8071 ASSERT(tx->tx_txg != TXG_INITIAL);
8152 if (tx->tx_txg != TXG_INITIAL)
8214 if (tx->tx_txg != TXG_INITIAL)
8422 uint64_t txg = tx->tx_txg;
8508 uint64_t txg = tx->tx_txg;
H A Dspa_misc.c1426 if (tx->tx_txg != TXG_INITIAL) in spa_activate_mos_feature()
H A Ddsl_crypt.c2131 os->os_next_write_raw[tx->tx_txg & TXG_MASK] = B_TRUE; in dsl_crypto_recv_raw_objset_sync()
H A Dmetaslab.c3662 VERIFY3U(tx->tx_txg, <=, spa_final_dirty_txg(spa)); in metaslab_flush_update()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_tx.h57 uint64_t tx_txg; member