/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | dmu_tx.c | 82 tx->tx_txg = txg; in dmu_tx_create_assigned() 115 if (err == 0 && tx->tx_txg != 0) { in dmu_tx_hold_object_impl() 123 dn->dn_assigned_txg = tx->tx_txg; in dmu_tx_hold_object_impl() 415 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_write() 631 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_free() 723 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_zap() 807 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_bonus() 819 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_space() 839 ASSERT(tx->tx_txg != 0); in dmu_tx_holds() 863 ASSERT(tx->tx_txg != 0); in dmu_tx_dirty_buf() [all …]
|
H A D | dnode.c | 363 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = DN_ZERO_BONUSLEN; in dnode_setbonuslen() 365 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen; in dnode_setbonuslen() 376 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype; in dnode_setbonus_type() 386 dn->dn_rm_spillblk[tx->tx_txg&TXG_MASK] = DN_KILL_SPILLBLK; in dnode_rm_spill() 554 dn->dn_object, tx->tx_txg, blocksize, ibs); in dnode_allocate() 608 dn->dn_allocated_txg = tx->tx_txg; in dnode_allocate() 612 dn->dn_next_indblkshift[tx->tx_txg & TXG_MASK] = ibs; in dnode_allocate() 613 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen; in dnode_allocate() 614 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype; in dnode_allocate() 615 dn->dn_next_blksz[tx->tx_txg & TXG_MASK] = dn->dn_datablksz; in dnode_allocate() [all …]
|
H A D | dnode_sync.c | 43 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 D | dbuf.c | 924 uint64_t txg = tx->tx_txg; in dbuf_free_range() 1112 ASSERT3U(db->db_last_dirty->dr_txg, ==, tx->tx_txg); in dbuf_new_size() 1168 int txgoff = tx->tx_txg & TXG_MASK; in dbuf_dirty() 1170 ASSERT(tx->tx_txg != 0); in dbuf_dirty() 1225 ASSERT(*drp == NULL || (*drp)->dr_txg <= tx->tx_txg || in dbuf_dirty() 1227 while ((dr = *drp) != NULL && dr->dr_txg > tx->tx_txg) in dbuf_dirty() 1229 if (dr && dr->dr_txg == tx->tx_txg) { in dbuf_dirty() 1248 dn->dn_next_nlevels[(tx->tx_txg-1) & TXG_MASK] > db->db_level || in dbuf_dirty() 1249 dn->dn_next_nlevels[(tx->tx_txg-2) & TXG_MASK] > db->db_level); in dbuf_dirty() 1288 dbuf_fix_old_data(db, tx->tx_txg); in dbuf_dirty() [all …]
|
H A D | dsl_scan.c | 198 scn->scn_phys.scn_max_txg = tx->tx_txg; in dsl_scan_setup_sync() 314 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg, in dsl_scan_done() 1452 scn->scn_restart_txg <= tx->tx_txg) { in dsl_scan_sync() 1458 func, tx->tx_txg); in dsl_scan_sync() 1555 (longlong_t)tx->tx_txg, err); in dsl_scan_sync() 1563 ddt_sync(spa, tx->tx_txg); in dsl_scan_sync() 1604 if (scn->scn_done_txg == tx->tx_txg) { in dsl_scan_sync() 1607 zfs_dbgmsg("txg %llu scan complete", tx->tx_txg); in dsl_scan_sync() 1618 (longlong_t)tx->tx_txg, in dsl_scan_sync() 1629 (longlong_t)tx->tx_txg, in dsl_scan_sync() [all …]
|
H A D | dsl_dir.c | 1003 if (txg_list_add(&dp->dp_dirty_dirs, dd, tx->tx_txg)) { in dsl_dir_dirty() 1024 ASSERT0(dd->dd_tempreserved[tx->tx_txg&TXG_MASK]); in dsl_dir_sync() 1025 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", tx->tx_txg, in dsl_dir_sync() 1026 dd->dd_space_towrite[tx->tx_txg&TXG_MASK] / 1024); in dsl_dir_sync() 1027 dd->dd_space_towrite[tx->tx_txg&TXG_MASK] = 0; in dsl_dir_sync() 1127 uint64_t txg = tx->tx_txg; in dsl_dir_tempreserve_impl() 1262 err = arc_tempreserve_space(lsize, tx->tx_txg); in dsl_dir_tempreserve_space() 1280 txg_delay(dd->dd_pool, tx->tx_txg, in dsl_dir_tempreserve_space() 1306 int txgidx = tx->tx_txg & TXG_MASK; in dsl_dir_tempreserve_clear() 1310 ASSERT3U(tx->tx_txg, !=, 0); in dsl_dir_tempreserve_clear() [all …]
|
H A D | dsl_dataset.c | 164 ASSERT(bp->blk_birth <= tx->tx_txg); in dsl_dataset_block_kill() 167 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill() 181 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill() 830 dsphys->ds_creation_txg = tx->tx_txg == TXG_INITIAL ? 1 : tx->tx_txg; in dsl_dataset_create_sync_dd() 1069 if (txg_list_add(&dp->dp_dirty_datasets, ds, tx->tx_txg)) { in dsl_dataset_dirty() 1128 ds->ds_trysnap_txg = tx->tx_txg; in dsl_dataset_snapshot_check_impl() 1137 if (dsl_dataset_phys(ds)->ds_prev_snap_txg >= tx->tx_txg) in dsl_dataset_snapshot_check_impl() 1351 crtxg = tx->tx_txg; in dsl_dataset_snapshot_sync_impl() 1429 ASSERT3U(dsl_dataset_phys(ds)->ds_prev_snap_txg, <, tx->tx_txg); in dsl_dataset_snapshot_sync_impl() 1660 if (ds->ds_resume_bytes[tx->tx_txg & TXG_MASK] != 0) { in dsl_dataset_sync() [all …]
|
H A D | dsl_destroy.c | 163 dsl_free_sync(poa->pio, dp, tx->tx_txg, bp); in process_old_cb() 249 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_snapshot_sync_impl() 567 dsl_free(ka->tx->tx_pool, ka->tx->tx_txg, bp); in kill_blkptr() 723 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_head_sync_impl()
|
H A D | spa_history.c | 445 if (tx->tx_txg == TXG_INITIAL || !spa_writeable(spa)) { in log_internal() 456 fnvlist_add_uint64(nvl, ZPOOL_HIST_TXG, tx->tx_txg); in log_internal()
|
H A D | dmu_object.c | 197 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type = in dmu_object_zapify()
|
H A D | dmu_objset.c | 801 mdn->dn_next_nlevels[tx->tx_txg & TXG_MASK] = in dmu_objset_create_impl() 1098 dprintf_ds(os->os_dsl_dataset, "txg=%llu\n", tx->tx_txg); in dmu_objset_sync() 1123 zio = arc_write(pio, os->os_spa, tx->tx_txg, in dmu_objset_sync() 1145 txgoff = tx->tx_txg & TXG_MASK; in dmu_objset_sync() 1295 if (dr->dr_txg == tx->tx_txg) in dmu_objset_userquota_find_data()
|
H A D | zfeature.c | 417 tx->tx_txg == TXG_INITIAL)); in spa_feature_create_zap_objects()
|
H A D | dsl_pool.c | 652 dp->dp_dirty_pertxg[tx->tx_txg & TXG_MASK] += space; in dsl_pool_dirty_space()
|
H A D | spa_misc.c | 1254 if (tx->tx_txg != TXG_INITIAL) in spa_activate_mos_feature()
|
H A D | spa.c | 6037 ASSERT(tx->tx_txg != TXG_INITIAL); in spa_sync_version() 6118 if (tx->tx_txg != TXG_INITIAL) in spa_sync_props() 6175 if (tx->tx_txg != TXG_INITIAL) in spa_sync_props()
|
/titanic_50/usr/src/uts/common/fs/zfs/sys/ |
H A D | dmu_tx.h | 57 uint64_t tx_txg; member
|