Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/fs/zfs/
H A Ddmu_tx.c81 tx->tx_txg = txg; in dmu_tx_create_assigned()
114 if (err == 0 && tx->tx_txg != 0) { in dmu_tx_hold_object_impl()
122 dn->dn_assigned_txg = tx->tx_txg; in dmu_tx_hold_object_impl()
414 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_write()
630 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_free()
722 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_zap()
806 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_bonus()
818 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_space()
838 ASSERT(tx->tx_txg != 0); in dmu_tx_holds()
862 ASSERT(tx->tx_txg != 0); in dmu_tx_dirty_buf()
[all …]
H A Ddnode.c362 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = DN_ZERO_BONUSLEN; in dnode_setbonuslen()
364 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen; in dnode_setbonuslen()
375 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype; in dnode_setbonus_type()
385 dn->dn_rm_spillblk[tx->tx_txg&TXG_MASK] = DN_KILL_SPILLBLK; in dnode_rm_spill()
553 dn->dn_object, tx->tx_txg, blocksize, ibs); in dnode_allocate()
607 dn->dn_allocated_txg = tx->tx_txg; in dnode_allocate()
611 dn->dn_next_indblkshift[tx->tx_txg & TXG_MASK] = ibs; in dnode_allocate()
612 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen; in dnode_allocate()
613 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype; in dnode_allocate()
614 dn->dn_next_blksz[tx->tx_txg & TXG_MASK] = dn->dn_datablksz; in dnode_allocate()
[all …]
H A Ddnode_sync.c43 int txgoff = tx->tx_txg & TXG_MASK; in dnode_increase_indirection()
165 uint64_t txg = tx->tx_txg; in free_verify()
487 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync_free()
535 dnode_rele(dn, (void *)(uintptr_t)tx->tx_txg); in dnode_sync_free()
549 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync()
577 if (dn->dn_allocated_txg == tx->tx_txg) { in dnode_sync()
632 dn->dn_free_txg <= tx->tx_txg; in dnode_sync()
692 ASSERT(dn->dn_allocated_txg == tx->tx_txg); in dnode_sync()
718 dnode_rele(dn, (void *)(uintptr_t)tx->tx_txg); in dnode_sync()
H A Ddbuf.c929 uint64_t txg = tx->tx_txg; in dbuf_free_range()
1117 ASSERT3U(db->db_last_dirty->dr_txg, ==, tx->tx_txg); in dbuf_new_size()
1147 int txgoff = tx->tx_txg & TXG_MASK; in dbuf_dirty()
1149 ASSERT(tx->tx_txg != 0); in dbuf_dirty()
1204 ASSERT(*drp == NULL || (*drp)->dr_txg <= tx->tx_txg || in dbuf_dirty()
1206 while ((dr = *drp) != NULL && dr->dr_txg > tx->tx_txg) in dbuf_dirty()
1208 if (dr && dr->dr_txg == tx->tx_txg) { in dbuf_dirty()
1236 dn->dn_next_nlevels[(tx->tx_txg-1) & TXG_MASK] > db->db_level || in dbuf_dirty()
1237 dn->dn_next_nlevels[(tx->tx_txg-2) & TXG_MASK] > db->db_level); in dbuf_dirty()
1276 dbuf_fix_old_data(db, tx->tx_txg); in dbuf_dirty()
[all …]
H A Ddsl_scan.c192 scn->scn_phys.scn_max_txg = tx->tx_txg; in dsl_scan_setup_sync()
308 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg, in dsl_scan_done()
1446 scn->scn_restart_txg <= tx->tx_txg) { in dsl_scan_sync()
1452 func, tx->tx_txg); in dsl_scan_sync()
1535 (longlong_t)tx->tx_txg, err); in dsl_scan_sync()
1543 ddt_sync(spa, tx->tx_txg); in dsl_scan_sync()
1583 if (scn->scn_done_txg == tx->tx_txg) { in dsl_scan_sync()
1586 zfs_dbgmsg("txg %llu scan complete", tx->tx_txg); in dsl_scan_sync()
1597 (longlong_t)tx->tx_txg, in dsl_scan_sync()
1608 (longlong_t)tx->tx_txg, in dsl_scan_sync()
[all …]
H A Ddsl_dir.c1007 if (txg_list_add(&dp->dp_dirty_dirs, dd, tx->tx_txg)) { in dsl_dir_dirty()
1028 ASSERT0(dd->dd_tempreserved[tx->tx_txg&TXG_MASK]); in dsl_dir_sync()
1029 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", tx->tx_txg, in dsl_dir_sync()
1030 dd->dd_space_towrite[tx->tx_txg&TXG_MASK] / 1024); in dsl_dir_sync()
1031 dd->dd_space_towrite[tx->tx_txg&TXG_MASK] = 0; in dsl_dir_sync()
1131 uint64_t txg = tx->tx_txg; in dsl_dir_tempreserve_impl()
1266 err = arc_tempreserve_space(lsize, tx->tx_txg); in dsl_dir_tempreserve_space()
1284 txg_delay(dd->dd_pool, tx->tx_txg, in dsl_dir_tempreserve_space()
1310 int txgidx = tx->tx_txg & TXG_MASK; in dsl_dir_tempreserve_clear()
1314 ASSERT3U(tx->tx_txg, !=, 0); in dsl_dir_tempreserve_clear()
[all …]
H A Ddsl_dataset.c154 ASSERT(bp->blk_birth <= tx->tx_txg); in dsl_dataset_block_kill()
157 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill()
171 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill()
816 dsphys->ds_creation_txg = tx->tx_txg == TXG_INITIAL ? 1 : tx->tx_txg; in dsl_dataset_create_sync_dd()
1055 if (txg_list_add(&dp->dp_dirty_datasets, ds, tx->tx_txg)) { in dsl_dataset_dirty()
1114 ds->ds_trysnap_txg = tx->tx_txg; in dsl_dataset_snapshot_check_impl()
1123 if (dsl_dataset_phys(ds)->ds_prev_snap_txg >= tx->tx_txg) in dsl_dataset_snapshot_check_impl()
1337 crtxg = tx->tx_txg; in dsl_dataset_snapshot_sync_impl()
1415 ASSERT3U(dsl_dataset_phys(ds)->ds_prev_snap_txg, <, tx->tx_txg); in dsl_dataset_snapshot_sync_impl()
1646 if (ds->ds_resume_bytes[tx->tx_txg & TXG_MASK] != 0) { in dsl_dataset_sync()
[all …]
H A Ddsl_destroy.c162 dsl_free_sync(poa->pio, dp, tx->tx_txg, bp); in process_old_cb()
248 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_snapshot_sync_impl()
566 dsl_free(ka->tx->tx_pool, ka->tx->tx_txg, bp); in kill_blkptr()
722 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_head_sync_impl()
H A Dspa_history.c444 if (tx->tx_txg == TXG_INITIAL || !spa_writeable(spa)) { in log_internal()
455 fnvlist_add_uint64(nvl, ZPOOL_HIST_TXG, tx->tx_txg); in log_internal()
H A Ddmu_object.c197 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type = in dmu_object_zapify()
H A Ddmu_objset.c832 mdn->dn_next_nlevels[tx->tx_txg & TXG_MASK] = in dmu_objset_create_impl()
1129 dprintf_ds(os->os_dsl_dataset, "txg=%llu\n", tx->tx_txg); in dmu_objset_sync()
1154 zio = arc_write(pio, os->os_spa, tx->tx_txg, in dmu_objset_sync()
1176 txgoff = tx->tx_txg & TXG_MASK; in dmu_objset_sync()
1326 if (dr->dr_txg == tx->tx_txg) in dmu_objset_userquota_find_data()
H A Dzfeature.c416 tx->tx_txg == TXG_INITIAL)); in spa_feature_create_zap_objects()
H A Ddsl_pool.c651 dp->dp_dirty_pertxg[tx->tx_txg & TXG_MASK] += space; in dsl_pool_dirty_space()
H A Dspa_misc.c1246 if (tx->tx_txg != TXG_INITIAL) in spa_activate_mos_feature()
H A Dspa.c6009 ASSERT(tx->tx_txg != TXG_INITIAL); in spa_sync_version()
6090 if (tx->tx_txg != TXG_INITIAL) in spa_sync_props()
6147 if (tx->tx_txg != TXG_INITIAL) in spa_sync_props()
/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_tx.h57 uint64_t tx_txg; member