Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_log_spacemap.c314 if (sls->sls_txg == spa_syncing_txg(spa)) { in spa_estimate_incoming_log_blocks()
570 ASSERT3U(last_sls->sls_txg, ==, spa_syncing_txg(spa)); in spa_log_sm_increment_current_mscount()
600 summary_add_data(spa, spa_syncing_txg(spa), 0, 0, nblocks); in spa_log_summary_add_incoming_blocks()
606 summary_add_data(spa, spa_syncing_txg(spa), 1, dirty ? 1 : 0, 0); in spa_log_summary_add_flushed_metaslab()
879 ASSERT3U(sls->sls_txg, ==, spa_syncing_txg(spa)); in spa_sync_close_syncing_log_sm()
H A Dmetaslab.c1964 if (txg != spa_syncing_txg(spa) || msp->ms_sm == NULL || in metaslab_verify_space()
2105 uint64_t hist_index = spa_syncing_txg(spa) % TXG_DEFER_SIZE; in metaslab_aux_histograms_update_done()
2497 (u_longlong_t)spa_syncing_txg(spa), spa_name(spa), in metaslab_load_impl()
2512 metaslab_verify_space(msp, spa_syncing_txg(spa)); in metaslab_load_impl()
2607 (u_longlong_t)spa_syncing_txg(spa), spa_name(spa), in metaslab_unload()
2966 uint64_t txg = spa_syncing_txg(spa); in metaslab_set_fragmentation()
3555 metaslab_set_selected_txg(msp, spa_syncing_txg(spa)); in metaslab_preload()
3810 metaslab_set_unflushed_txg(msp, spa_syncing_txg(spa), tx); in metaslab_unflushed_add()
3837 metaslab_set_unflushed_txg(msp, spa_syncing_txg(spa), tx); in metaslab_unflushed_bump()
5395 vdev_dirty(vd, VDD_METASLAB, msp, spa_syncing_txg(spa)); in metaslab_free_concrete()
[all …]
H A Dspa_checkpoint.c502 ASSERT3U(checkpoint.ub_txg, ==, spa->spa_syncing_txg - 1); in spa_checkpoint_sync()
H A Ddmu_direct.c157 ASSERT3U(txg, >, spa_syncing_txg(os->os_spa)); in dmu_write_direct()
H A Dzio_inject.c534 spa_syncing_txg(spa)); in spa_handle_ignored_writes()
H A Dvdev_removal.c666 uint64_t txg = spa_syncing_txg(spa); in free_from_removing_vdev()
846 ASSERT3U(dmu_tx_get_txg(tx), ==, spa_syncing_txg(spa)); in spa_finish_removal()
906 ASSERT3U(txg, ==, spa_syncing_txg(spa)); in vdev_mapping_sync()
H A Dspa_misc.c1802 spa_syncing_txg(spa_t *spa) in spa_syncing_txg() function
1804 return (spa->spa_syncing_txg); in spa_syncing_txg()
3050 EXPORT_SYMBOL(spa_syncing_txg);
H A Dddt.c992 if (spa_syncing_txg(spa) <= spa->spa_dedup_class_full_txg + in ddt_special_over_quota()
2344 ASSERT3U(spa_syncing_txg(spa), ==, txg); in ddt_sync()
2380 txg = spa_syncing_txg(spa); in ddt_walk_init()
H A Dzio.c1342 ASSERT(zio->io_txg == spa_syncing_txg(zio->io_spa)); in zio_write_override()
1383 txg != spa->spa_syncing_txg || in zio_free()
1404 ASSERT(spa_syncing_txg(spa) == txg); in zio_free_sync()
1894 ASSERT(zio->io_txg == spa_syncing_txg(spa)); in zio_write_compress()
4198 ASSERT(txg > spa_syncing_txg(spa)); in zio_alloc_zil()
5090 zio->io_spa->spa_syncing_txg == zio->io_txg) in zio_ready()
H A Dzil.c869 ASSERT3U(lwb->lwb_alloc_txg, <=, spa_syncing_txg(zilog->zl_spa)); in zil_free_lwb()
870 ASSERT3U(lwb->lwb_max_txg, <=, spa_syncing_txg(zilog->zl_spa)); in zil_free_lwb()
1535 ASSERT3U(txg, ==, spa_syncing_txg(zilog->zl_spa)); in zil_lwb_flush_wait_all()
H A Ddmu.c1960 ASSERT(zio->io_txg > spa_syncing_txg(zio->io_spa)); in dmu_sync_late_arrival_done()
2113 if (txg <= spa_syncing_txg(os->os_spa)) { in dmu_sync()
H A Dbrt.c1570 ASSERT(spa_syncing_txg(spa) == txg); in brt_sync()
H A Dspa_errlog.c326 uint64_t txg_to_consider = spa->spa_syncing_txg; in check_filesystem()
H A Dvdev.c4025 ASSERT3U(txg, ==, spa_syncing_txg(spa)); in vdev_remove_empty_log()
4064 ASSERT3U(txg, ==, spa->spa_syncing_txg); in vdev_sync()
5081 commit_txg = spa_syncing_txg(spa); in vdev_stat_update()
5086 ASSERT(commit_txg >= spa_syncing_txg(spa)); in vdev_stat_update()
H A Dvdev_indirect.c338 vdev_dirty(vd, 0, NULL, spa_syncing_txg(spa)); in vdev_indirect_mark_obsolete()
H A Ddbuf.c1826 dbuf_fix_old_data(db, spa_syncing_txg(spa)); in dbuf_read()
2560 txg != spa_syncing_txg(dmu_objset_spa(db->db_objset))); in dbuf_undirty()
2789 dbuf_fix_old_data(db, spa_syncing_txg(spa)); in dmu_buf_untransform_direct()
H A Ddsl_scan.c4006 uint64_t txg_to_consider = spa->spa_syncing_txg; in scrub_filesystem()
4391 if (spa->spa_syncing_txg < spa->spa_first_txg + SCAN_IMPORT_WAIT_TXGS) in dsl_scan_sync()
H A Dspa.c10115 spa->spa_syncing_txg = txg;
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h295 uint64_t spa_syncing_txg; /* txg currently syncing */ member
H A Ddnode.h471 ((_dn)->dn_dirty_txg >= spa_syncing_txg((_dn)->dn_objset->os_spa))
H A Dspa.h1051 extern uint64_t spa_syncing_txg(spa_t *spa);