Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_log_spacemap.c665 int64_t available_blocks = in spa_estimate_metaslabs_to_flush() local
694 if (available_blocks >= 0 && available_txgs >= 0) { in spa_estimate_metaslabs_to_flush()
697 (available_blocks / incoming) + 1); in spa_estimate_metaslabs_to_flush()
698 available_blocks -= (skip_txgs * incoming); in spa_estimate_metaslabs_to_flush()
701 ASSERT3S(available_blocks, >=, -incoming); in spa_estimate_metaslabs_to_flush()
711 ASSERT(available_blocks < 0 || available_txgs < 0); in spa_estimate_metaslabs_to_flush()
712 available_blocks += e->lse_blkcount; in spa_estimate_metaslabs_to_flush()