Home
last modified time | relevance | path

Searched refs:spa_syncing_txg (Results 1 – 20 of 20) 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()
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()
5395 vdev_dirty(vd, VDD_METASLAB, msp, spa_syncing_txg(spa)); in metaslab_free_concrete()
5430 if (spa_syncing_txg(spa) > spa_freeze_txg(spa)) in metaslab_free_impl()
5926 spa_syncing_txg(spa) > spa->spa_checkpoint_txg) { in metaslab_free()
5932 ASSERT3U(spa_syncing_txg(spa), ==, txg); in metaslab_free()
[all …]
H A Dspa_checkpoint.c502 ASSERT3U(checkpoint.ub_txg, ==, spa->spa_syncing_txg - 1); in spa_checkpoint_sync()
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()
3029 EXPORT_SYMBOL(spa_syncing_txg);
H A Dzio.c1325 ASSERT(zio->io_txg == spa_syncing_txg(zio->io_spa)); in zio_write_override()
1366 txg != spa->spa_syncing_txg || in zio_free()
1387 ASSERT(spa_syncing_txg(spa) == txg); in zio_free_sync()
1836 ASSERT(zio->io_txg == spa_syncing_txg(spa)); in zio_write_compress()
3836 ASSERT(txg > spa_syncing_txg(spa)); in zio_alloc_zil()
4629 zio->io_spa->spa_syncing_txg == zio->io_txg) in zio_ready()
H A Dzio_inject.c534 spa_syncing_txg(spa)); in spa_handle_ignored_writes()
H A Dzil.c837 ASSERT3U(lwb->lwb_alloc_txg, <=, spa_syncing_txg(zilog->zl_spa)); in zil_free_lwb()
838 ASSERT3U(lwb->lwb_max_txg, <=, spa_syncing_txg(zilog->zl_spa)); in zil_free_lwb()
1503 ASSERT3U(txg, ==, spa_syncing_txg(zilog->zl_spa)); in zil_lwb_flush_wait_all()
H A Ddmu.c1665 ASSERT(zio->io_txg > spa_syncing_txg(zio->io_spa)); in dmu_sync_late_arrival_done()
1820 if (txg <= spa_syncing_txg(os->os_spa)) { in dmu_sync()
H A Dddt.c1044 ASSERT3U(spa_syncing_txg(spa), ==, txg); in ddt_sync()
H A Dvdev.c3981 ASSERT3U(txg, ==, spa_syncing_txg(spa)); in vdev_remove_empty_log()
4020 ASSERT3U(txg, ==, spa->spa_syncing_txg); in vdev_sync()
5036 commit_txg = spa_syncing_txg(spa); in vdev_stat_update()
5041 ASSERT(commit_txg >= spa_syncing_txg(spa)); in vdev_stat_update()
H A Dvdev_indirect.c337 vdev_dirty(vd, 0, NULL, spa_syncing_txg(spa)); in vdev_indirect_mark_obsolete()
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 Ddsl_scan.c3983 uint64_t txg_to_consider = spa->spa_syncing_txg; in scrub_filesystem()
4349 if (spa->spa_syncing_txg < spa->spa_first_txg + SCAN_IMPORT_WAIT_TXGS) in dsl_scan_sync()
H A Ddbuf.c1838 dbuf_fix_old_data(db, spa_syncing_txg(spa)); in dbuf_read()
2546 txg != spa_syncing_txg(dmu_objset_spa(db->db_objset))); in dbuf_undirty()
H A Dspa.c10035 spa->spa_syncing_txg = txg;
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h294 uint64_t spa_syncing_txg; /* txg currently syncing */ member
H A Ddnode.h466 ((_dn)->dn_dirty_txg >= spa_syncing_txg((_dn)->dn_objset->os_spa))
H A Dspa.h1035 extern uint64_t spa_syncing_txg(spa_t *spa);