Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_tx.c96 tx->tx_txg = txg; in dmu_tx_create_assigned()
122 if (tx->tx_txg != 0) { in dmu_tx_hold_dnode_impl()
130 dn->dn_assigned_txg = tx->tx_txg; in dmu_tx_hold_dnode_impl()
362 ASSERT0(tx->tx_txg); in dmu_tx_hold_write()
379 ASSERT0(tx->tx_txg); in dmu_tx_hold_write_by_dnode()
400 ASSERT0(tx->tx_txg); in dmu_tx_hold_append()
416 ASSERT0(tx->tx_txg); in dmu_tx_hold_append_by_dnode()
447 ASSERT0(tx->tx_txg); in dmu_tx_count_free()
559 ASSERT0(tx->tx_txg); in dmu_tx_count_clone()
594 ASSERT0(tx->tx_txg); in dmu_tx_hold_clone_by_dnode()
[all …]
H A Ddnode_sync.c46 int txgoff = tx->tx_txg & TXG_MASK; in dnode_increase_indirection()
182 uint64_t txg = tx->tx_txg; in free_verify()
561 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync_free()
612 dnode_rele(dn, (void *)(uintptr_t)tx->tx_txg); in dnode_sync_free()
646 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync_free_ranges()
652 dn->dn_free_txg <= tx->tx_txg; in dnode_sync_free_ranges()
686 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync()
729 if (dn->dn_allocated_txg == tx->tx_txg) { in dnode_sync()
788 dn->dn_free_txg <= tx->tx_txg; in dnode_sync()
860 ASSERT(dn->dn_allocated_txg == tx->tx_txg); in dnode_sync()
[all …]
H A Ddnode.c539 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = DN_ZERO_BONUSLEN; in dnode_setbonuslen()
541 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen; in dnode_setbonuslen()
552 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype; in dnode_setbonus_type()
573 dn->dn_rm_spillblk[tx->tx_txg & TXG_MASK] = DN_KILL_SPILLBLK; in dnode_rm_spill()
744 (u_longlong_t)tx->tx_txg, blocksize, ibs, dn_slots); in dnode_allocate()
801 dn->dn_allocated_txg = tx->tx_txg; in dnode_allocate()
805 dn->dn_next_indblkshift[tx->tx_txg & TXG_MASK] = ibs; in dnode_allocate()
806 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen; in dnode_allocate()
807 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype; in dnode_allocate()
808 dn->dn_next_blksz[tx->tx_txg & TXG_MASK] = dn->dn_datablksz; in dnode_allocate()
[all …]
H A Ddbuf.c1988 uint64_t txg = tx->tx_txg; in dbuf_free_range()
2185 ASSERT3U(dr->dr_txg, ==, tx->tx_txg); in dbuf_new_size()
2253 dr->dr_txg = tx->tx_txg; in dbuf_dirty_lightweight()
2266 int txgoff = tx->tx_txg & TXG_MASK; in dbuf_dirty_lightweight()
2276 ASSERT(tx->tx_txg > spa_syncing_txg(dn->dn_objset->os_spa)); in dbuf_dirty_lightweight()
2310 ASSERT3U(parent_dr->dr_txg, ==, tx->tx_txg); in dbuf_dirty_lightweight()
2327 int txgoff = tx->tx_txg & TXG_MASK; in dbuf_dirty()
2330 ASSERT(tx->tx_txg != 0); in dbuf_dirty()
2371 ASSERT(dr_head == NULL || dr_head->dr_txg <= tx->tx_txg || in dbuf_dirty()
2373 dr_next = dbuf_find_dirty_lte(db, tx->tx_txg); in dbuf_dirty()
[all …]
H A Ddsl_dataset.c226 ASSERT(birth <= tx->tx_txg); in dsl_dataset_block_remapped()
267 ASSERT(BP_GET_BIRTH(bp) <= tx->tx_txg); in dsl_dataset_block_kill()
270 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill()
315 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill()
1209 dsphys->ds_creation_txg = tx->tx_txg == TXG_INITIAL ? 1 : tx->tx_txg; in dsl_dataset_create_sync_dd()
1305 os->os_next_write_raw[tx->tx_txg & TXG_MASK] = B_TRUE; in dsl_dataset_zero_zil()
1475 ASSERT3U(tx->tx_txg, >, dsl_dataset_phys(ds)->ds_prev_snap_txg); in dsl_dataset_dirty()
1478 if (txg_list_add(&dp->dp_dirty_datasets, ds, tx->tx_txg)) { in dsl_dataset_dirty()
1487 !os->os_next_write_raw[tx->tx_txg & TXG_MASK]) { in dsl_dataset_dirty()
1529 ds->ds_trysnap_txg = tx->tx_txg; in dsl_dataset_snapshot_check_impl()
[all …]
H A Ddsl_dir.c1149 if (txg_list_add(&dp->dp_dirty_dirs, dd, tx->tx_txg)) { in dsl_dir_dirty()
1170 ASSERT0(dd->dd_tempreserved[tx->tx_txg & TXG_MASK]); in dsl_dir_sync()
1171 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", (u_longlong_t)tx->tx_txg, in dsl_dir_sync()
1172 (u_longlong_t)dd->dd_space_towrite[tx->tx_txg & TXG_MASK] / 1024); in dsl_dir_sync()
1173 dd->dd_space_towrite[tx->tx_txg & TXG_MASK] = 0; in dsl_dir_sync()
1280 txg = tx->tx_txg; in dsl_dir_tempreserve_impl()
1431 err = arc_tempreserve_space(dd->dd_pool->dp_spa, lsize, tx->tx_txg); in dsl_dir_tempreserve_space()
1449 txg_delay(dd->dd_pool, tx->tx_txg, in dsl_dir_tempreserve_space()
1477 int txgidx = tx->tx_txg & TXG_MASK; in dsl_dir_tempreserve_clear()
1481 ASSERT3U(tx->tx_txg, !=, 0); in dsl_dir_tempreserve_clear()
[all …]
H A Dspa_history.c395 ASSERT3UF(tx->tx_txg, <=, spa_final_dirty_txg(spa), in spa_history_log_nvl()
535 ASSERT3UF(tx->tx_txg, <=, spa_final_dirty_txg(spa), in log_internal()
543 fnvlist_add_uint64(nvl, ZPOOL_HIST_TXG, tx->tx_txg); in log_internal()
H A Dspa_checkpoint.c325 sdc.sdc_txg = tx->tx_txg; in spa_checkpoint_discard_thread_sync()
343 (u_longlong_t)tx->tx_txg, (longlong_t)vd->vdev_id, in spa_checkpoint_discard_thread_sync()
H A Ddmu_objset.c1129 mdn->dn_next_nlevels[tx->tx_txg & TXG_MASK] = in dmu_objset_create_impl_dnstats()
1300 tx->tx_txg); in dmu_objset_create_sync()
1309 if (txg_list_member(&dp->dp_dirty_datasets, ds, tx->tx_txg)) { in dmu_objset_create_sync()
1316 tx->tx_txg); in dmu_objset_create_sync()
1606 int txgoff = tx->tx_txg & TXG_MASK; in sync_meta_dnode_task()
1647 dprintf_ds(os->os_dsl_dataset, "txg=%llu\n", (u_longlong_t)tx->tx_txg); in dmu_objset_sync()
1678 os->os_next_write_raw[tx->tx_txg & TXG_MASK]) { in dmu_objset_sync()
1685 zio = arc_write(pio, os->os_spa, tx->tx_txg, in dmu_objset_sync()
1712 txgoff = tx->tx_txg & TXG_MASK; in dmu_objset_sync()
2106 if (tx->tx_txg <= os->os_spa->spa_claim_max_txg) in dmu_objset_do_userquota_updates_prep()
[all …]
H A Dddt_log.c130 ddl->ddl_first_txg = tx->tx_txg; in ddt_log_create_one()
487 tx->tx_txg >= in ddt_log_swap()
508 ddt->ddt_log_active->ddl_first_txg = tx->tx_txg; in ddt_log_swap()
H A Ddsl_scan.c680 scn->scn_restart_txg <= tx->tx_txg); in dsl_scan_restarting()
765 *funcp, 0, (u_longlong_t)tx->tx_txg); in dsl_errorscrub_setup_sync()
892 scn->scn_phys.scn_max_txg = tx->tx_txg; in dsl_scan_setup_sync()
1176 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg, in dsl_scan_done()
1191 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg, in dsl_scan_done()
3886 spa->spa_name, (longlong_t)tx->tx_txg, err); in dsl_process_async_destroys()
3895 ddt_sync(spa, tx->tx_txg); in dsl_process_async_destroys()
3896 brt_sync(spa, tx->tx_txg); in dsl_process_async_destroys()
4402 (longlong_t)tx->tx_txg, restart_early); in dsl_scan_sync()
4485 tx->tx_txg % zfs_scan_report_txgs == 0) { in dsl_scan_sync()
[all …]
H A Ddsl_destroy.c149 dsl_free_sync(poa->pio, dp, tx->tx_txg, bp); in process_old_cb()
318 ASSERT3U(BP_GET_BIRTH(&dsl_dataset_phys(ds)->ds_bp), <=, tx->tx_txg); in dsl_destroy_snapshot_sync_impl()
729 dsl_free(ka->tx->tx_pool, ka->tx->tx_txg, bp); in kill_blkptr()
1022 ASSERT3U(BP_GET_BIRTH(&dsl_dataset_phys(ds)->ds_bp), <=, tx->tx_txg); in dsl_destroy_head_sync_impl()
H A Ddsl_pool.c995 dp->dp_dirty_pertxg[tx->tx_txg & TXG_MASK] += space; in dsl_pool_dirty_space()
998 dsl_pool_need_dirty_sync(dp, tx->tx_txg); in dsl_pool_dirty_space()
1002 txg_kick(dp, tx->tx_txg); in dsl_pool_dirty_space()
H A Dzfeature.c450 ASSERT((!spa->spa_sync_on && tx->tx_txg == TXG_INITIAL) || in spa_feature_create_zap_objects()
H A Ddmu_object.c481 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type = in dmu_object_zapify()
H A Dddt.c2148 ddt_phys_free(ddt, ddk, ddp, v, tx->tx_txg); in ddt_sync_flush_entry()
2153 ddt_phys_free(ddt, ddk, ddp, v, tx->tx_txg); in ddt_sync_flush_entry()
2242 if (spa_sync_pass(spa) > 1 || tx->tx_txg > spa_final_dirty_txg(spa)) in ddt_sync_flush_log()
2405 count, (u_longlong_t)tx->tx_txg, in ddt_sync_flush_log()
H A Dzfs_log.c699 dsl_pool_wrlog_count(zilog->zl_dmu_pool, log_size, tx->tx_txg); in zfs_log_write()
H A Dzcp.c658 zfs_dbgmsg("txg %lld ZCP: %s", (longlong_t)ri->zri_tx->tx_txg, in zcp_debug()
H A Dvdev_rebuild.c331 vdev_dtl_reassess(vd, tx->tx_txg, vrp->vrp_max_txg, B_TRUE, B_TRUE); in vdev_rebuild_complete_sync()
H A Dspa.c3244 zio_free(spa, tx->tx_txg, bp); in delete_blkptr_cb()
3481 "(%llu blkptrs)", (u_longlong_t)tx->tx_txg, dsname, in spa_livelist_condense_sync()
10383 ASSERT(tx->tx_txg != TXG_INITIAL);
10454 if (tx->tx_txg != TXG_INITIAL) {
10469 if (tx->tx_txg != TXG_INITIAL) {
10560 if (tx->tx_txg != TXG_INITIAL)
10728 uint64_t txg = tx->tx_txg;
10837 uint64_t txg = tx->tx_txg;
H A Dzil.c1168 ASSERT3U(tx->tx_txg, ==, spa_first_txg(zilog->zl_spa)); in zil_claim()
1219 os->os_next_write_raw[tx->tx_txg & TXG_MASK] = B_TRUE; in zil_claim()
1249 os->os_next_write_raw[tx->tx_txg & TXG_MASK] = B_TRUE; in zil_claim()
H A Dzvol.c997 dsl_pool_wrlog_count(zilog->zl_dmu_pool, log_size, tx->tx_txg); in zvol_log_write()
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_dmu.h51 __field(uint64_t, tx_txg)
63 __entry->tx_txg = tx->tx_txg;
77 __entry->tx_txg, __entry->tx_lastsnap_txg,
/freebsd/sys/contrib/openzfs/include/sys/
H A Ddmu_tx.h59 uint64_t tx_txg; member
H A Ddnode.h664 ASSERT((tx)->tx_txg > spa_syncing_txg((dn)->dn_objset->os_spa) || \

12