Home
last modified time | relevance | path

Searched refs:spa_feature_is_active (Results 1 – 25 of 28) sorted by relevance

12

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dspa_checkpoint.c166 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_get_stats()
371 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)); in spa_checkpoint_discard_is_done()
388 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_discard_thread_check()
470 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
579 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_discard_check()
H A Dspa_log_spacemap.c331 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in spa_log_sm_set_blocklimit()
355 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_log_summary_verify_counts()
605 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_estimate_metaslabs_to_flush()
723 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_flush_metaslabs()
848 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_sync_close_syncing_log_sm()
H A Dzfeature.c389 !spa_feature_is_active(spa, SPA_FEATURE_ENCRYPTION) && in feature_enable_sync()
490 spa_feature_is_active(spa_t *spa, spa_feature_t fid) in spa_feature_is_active() function
H A Dzio_compress.c104 if (spa_feature_is_active(spa, SPA_FEATURE_LZ4_COMPRESS)) in zio_compress_select()
H A Ddsl_pool.c312 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in dsl_pool_open()
335 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_pool_open()
343 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMPTY_BPOBJ)) { in dsl_pool_open()
436 ASSERT(spa_feature_is_active(dp->dp_spa, SPA_FEATURE_DEVICE_REMOVAL)); in dsl_pool_create_obsolete_bpobj()
H A Dbpobj.c44 if (!spa_feature_is_active(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty()
67 if (!spa_feature_is_active(dmu_objset_spa(os), in bpobj_decr_empty()
86 else if (!spa_feature_is_active(dmu_objset_spa(os), in bpobj_alloc()
H A Ddsl_dir.c561 ASSERT(spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)); in dsl_dir_init_fs_ss_count()
653 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT) && in dsl_dir_actv_fs_ss_limit_check()
677 if (!spa_feature_is_active(spa, SPA_FEATURE_FS_SS_LIMIT)) { in dsl_dir_actv_fs_ss_limit_sync()
1956 if (spa_feature_is_active(dp->dp_spa, in dsl_dir_rename_check()
2063 if (spa_feature_is_active(dp->dp_spa, in dsl_dir_rename_sync()
2222 ASSERT(spa_feature_is_active(dd->dd_pool->dp_spa, in dsl_dir_livelist_open()
H A Dvdev_rebuild.c758 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REBUILD)); in vdev_rebuild_thread()
1028 ASSERT(spa_feature_is_active(spa, in vdev_rebuild_restart_impl()
H A Dvdev_indirect_mapping.c415 ASSERT(spa_feature_is_active(vim->vim_objset->os_spa, in vdev_indirect_mapping_add_entries()
H A Ddsl_scan.c445 scn->scn_async_destroying = spa_feature_is_active(dp->dp_spa, in dsl_scan_init()
940 !spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in dsl_scan_done()
3374 if (err == 0 && spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_process_async_destroys()
3394 ASSERT(!spa_feature_is_active(spa, in dsl_process_async_destroys()
3478 ASSERT(spa_feature_is_active(dp->dp_spa, in dsl_process_async_destroys()
3511 !spa_feature_is_active(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER)) in dsl_scan_sync()
H A Dmetaslab.c2713 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_fini_flush_data()
3718 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in metaslab_flush_update()
3760 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_flush()
3967 spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in metaslab_sync()
4291 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync_done()
6143 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_update_ondisk_flush_data()
6174 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in metaslab_set_unflushed_txg()
H A Dspa.c834 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in spa_change_guid_check()
1444 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_should_flush_logs_on_unload()
3942 if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) {
6616 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
6898 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
7380 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
8778 boolean_t lz4_ac = spa_feature_is_active(spa,
8938 spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) {
9570 (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT) &&
9578 spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY) ||
H A Ddmu_traverse.c619 if (spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) { in traverse_impl()
H A Ddnode_sync.c162 if (spa_feature_is_active(dn->dn_objset->os_spa, in free_blocks()
H A Dspace_map.c724 if (spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_write_impl()
H A Dzio.c1232 !spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))) { in zio_free()
1731 ASSERT(spa_feature_is_active(spa, in zio_write_compress()
1808 spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) { in zio_write_compress()
4158 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_ENCRYPTION)); in zio_encrypt()
H A Ddsl_destroy.c973 if (!spa_feature_is_active(dp->dp_spa, in dsl_async_dataset_destroy()
H A Dvdev_indirect.c768 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_OBSOLETE_COUNTS)); in spa_condense_indirect_start_sync()
H A Dvdev.c1440 ASSERT(spa_feature_is_active(vd->vdev_spa, in vdev_metaslab_fini()
4127 if (spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_SPACEMAP_V2)) in vdev_is_spacemap_addressable()
5077 spa_feature_is_active(spa, SPA_FEATURE_RESILVER_DEFER)) { in vdev_clear_resilver_deferred()
H A Ddmu_send.c1958 spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) { in setup_featureflags()
1972 spa_feature_is_active(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) { in setup_featureflags()
H A Dvdev_removal.c2205 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in spa_vdev_remove()
H A Dspa_misc.c2610 spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REMOVAL)); in spa_get_last_removal_txg()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfeature.h51 extern boolean_t spa_feature_is_active(struct spa *, spa_feature_t);
/f-stack/freebsd/contrib/openzfs/cmd/zhack/
H A Dzhack.c245 if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) { in zhack_do_feature_stat()
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c409 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in iterate_through_spacemap_logs()
1634 spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in dump_metaslab()
1652 if (spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in dump_metaslab()
1858 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in dump_log_spacemaps()
6219 if (spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) { in dump_block_stats()
7097 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in verify_checkpoint()
7392 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in dump_log_spacemap_obsolete_stats()
7473 if (spa_feature_is_active(spa, in dump_zpool()

12