Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_checkpoint.c166 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_get_stats()
372 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)); in spa_checkpoint_discard_is_done()
389 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_discard_thread_check()
474 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
583 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_discard_check()
H A Dspa_log_spacemap.c336 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in spa_log_sm_set_blocklimit()
364 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_log_summary_verify_counts()
639 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_estimate_metaslabs_to_flush()
763 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_flush_metaslabs()
876 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()
497 spa_feature_is_active(spa_t *spa, spa_feature_t fid) in spa_feature_is_active() function
H A Dzio_compress.c117 if (spa_feature_is_active(spa, SPA_FEATURE_LZ4_COMPRESS)) in zio_compress_select()
H A Ddsl_pool.c317 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in dsl_pool_open()
339 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_pool_open()
347 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMPTY_BPOBJ)) { in dsl_pool_open()
446 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.c576 ASSERT(spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)); in dsl_dir_init_fs_ss_count()
668 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT) && in dsl_dir_actv_fs_ss_limit_check()
692 if (!spa_feature_is_active(spa, SPA_FEATURE_FS_SS_LIMIT)) { in dsl_dir_actv_fs_ss_limit_sync()
2028 if (spa_feature_is_active(dp->dp_spa, in dsl_dir_rename_check()
2137 if (spa_feature_is_active(dp->dp_spa, in dsl_dir_rename_sync()
2308 ASSERT(spa_feature_is_active(dd->dd_pool->dp_spa, in dsl_dir_livelist_open()
H A Dvdev_rebuild.c778 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REBUILD)); in vdev_rebuild_thread()
1056 ASSERT(spa_feature_is_active(spa, in vdev_rebuild_restart_impl()
H A Dvdev_indirect_mapping.c417 ASSERT(spa_feature_is_active(vim->vim_objset->os_spa, in vdev_indirect_mapping_add_entries()
H A Dspa.c985 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in spa_change_guid_check()
1959 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_should_flush_logs_on_unload()
3477 if (spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_AVZ_V2) && in vdev_count_verify_zaps()
4634 if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) {
7460 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
7838 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
8328 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
9395 spa_feature_is_active(spa, SPA_FEATURE_AVZ_V2)) {
9778 boolean_t lz4_ac = spa_feature_is_active(spa,
9938 spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) {
[all …]
H A Ddsl_scan.c483 scn->scn_async_destroying = spa_feature_is_active(dp->dp_spa, in dsl_scan_init()
1143 !spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in dsl_scan_done()
3778 if (err == 0 && spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_process_async_destroys()
3798 ASSERT(!spa_feature_is_active(spa, in dsl_process_async_destroys()
3883 ASSERT(spa_feature_is_active(dp->dp_spa, in dsl_process_async_destroys()
4300 if (!spa_feature_is_active(dp->dp_spa, in dsl_scan_sync()
H A Ddmu_traverse.c652 if (spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) { in traverse_impl()
H A Dspace_map.c725 if (spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_write_impl()
H A Ddnode_sync.c163 if (spa_feature_is_active(dn->dn_objset->os_spa, in free_blocks()
H A Dmetaslab.c2806 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_fini_flush_data()
3882 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP) || in metaslab_flush_update()
3896 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_flush()
4376 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync_done()
6163 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_update_ondisk_flush_data()
H A Dzfs_replay.c1035 ASSERT(spa_feature_is_active(zfsvfs->z_os->os_spa, in zfs_replay_setsaxattr()
H A Dzio.c1385 !spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) || in zio_free()
1941 ASSERT(spa_feature_is_active(spa, in zio_write_compress()
2035 spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) { in zio_write_compress()
4773 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_ENCRYPTION)); in zio_encrypt()
H A Ddsl_destroy.c977 if (!spa_feature_is_active(dp->dp_spa, in dsl_async_dataset_destroy()
H A Dvdev.c1647 ASSERT(spa_feature_is_active(vd->vdev_spa, in vdev_metaslab_fini()
3484 if (!spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_AVZ_V2)) in vdev_construct_zaps()
4703 if (spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_SPACEMAP_V2)) in vdev_is_spacemap_addressable()
5671 spa_feature_is_active(spa, SPA_FEATURE_RESILVER_DEFER)) { in vdev_clear_resilver_deferred()
H A Ddmu_send.c1976 spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) { in setup_featureflags()
1990 spa_feature_is_active(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) { in setup_featureflags()
H A Dvdev_indirect.c767 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_OBSOLETE_COUNTS)); in spa_condense_indirect_start_sync()
H A Dvdev_label.c592 spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_AVZ_V2)) { in vdev_config_generate()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfeature.h51 extern boolean_t spa_feature_is_active(struct spa *, spa_feature_t);
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c353 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in iterate_through_spacemap_logs()
1678 spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in dump_metaslab()
1696 if (spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in dump_metaslab()
1904 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in dump_log_spacemaps()
2117 if (!spa_feature_is_active(spa, SPA_FEATURE_BLOCK_CLONING)) { in dump_brt()
7002 if (spa_feature_is_active(spa, SPA_FEATURE_BLOCK_CLONING)) { in dump_block_stats()
7043 if (spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) { in dump_block_stats()
7984 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in verify_checkpoint()
8327 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in dump_log_spacemap_obsolete_stats()
8410 if (spa_feature_is_active(spa, in dump_zpool()
/freebsd/sys/contrib/openzfs/cmd/
H A Dzhack.c265 if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) { in zhack_do_feature_stat()

12