Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_checkpoint.c166 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_get_stats()
368 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)); in spa_checkpoint_discard_is_done()
385 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_discard_thread_check()
467 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
576 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_discard_check()
H A Dspa_log_spacemap.c332 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in spa_log_sm_set_blocklimit()
356 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_log_summary_verify_counts()
608 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_estimate_metaslabs_to_flush()
726 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_flush_metaslabs()
851 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_sync_close_syncing_log_sm()
H A Dzfeature.c382 !spa_feature_is_active(spa, SPA_FEATURE_ENCRYPTION) && in feature_enable_sync()
482 spa_feature_is_active(spa_t *spa, spa_feature_t fid) in spa_feature_is_active() function
H A Dzio_compress.c81 if (spa_feature_is_active(spa, SPA_FEATURE_LZ4_COMPRESS)) in zio_compress_select()
H A Ddsl_pool.c302 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in dsl_pool_open()
325 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_pool_open()
333 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMPTY_BPOBJ)) { in dsl_pool_open()
423 ASSERT(spa_feature_is_active(dp->dp_spa, SPA_FEATURE_DEVICE_REMOVAL)); in dsl_pool_create_obsolete_bpobj()
H A Dbpobj.c45 if (!spa_feature_is_active(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty()
68 if (!spa_feature_is_active(dmu_objset_spa(os), in bpobj_decr_empty()
H A Ddsl_dir.c529 ASSERT(spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)); in dsl_dir_init_fs_ss_count()
623 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT) && in dsl_dir_actv_fs_ss_limit_check()
647 if (!spa_feature_is_active(spa, SPA_FEATURE_FS_SS_LIMIT)) { in dsl_dir_actv_fs_ss_limit_sync()
1912 if (spa_feature_is_active(dp->dp_spa, in dsl_dir_rename_check()
2019 if (spa_feature_is_active(dp->dp_spa, in dsl_dir_rename_sync()
H A Dvdev_indirect_mapping.c411 ASSERT(spa_feature_is_active(vim->vim_objset->os_spa, in vdev_indirect_mapping_add_entries()
H A Ddsl_scan.c459 scn->scn_async_destroying = spa_feature_is_active(dp->dp_spa, in dsl_scan_init()
920 !spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in dsl_scan_done()
3268 if (err == 0 && spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_process_async_destroys()
3288 ASSERT(!spa_feature_is_active(spa, in dsl_process_async_destroys()
3368 ASSERT(spa_feature_is_active(dp->dp_spa, in dsl_process_async_destroys()
3402 !spa_feature_is_active(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER)) in dsl_scan_sync()
H A Dmetaslab.c2655 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_fini_flush_data()
3654 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in metaslab_flush_update()
3696 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_flush()
3903 spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in metaslab_sync()
4227 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync_done()
5997 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_update_ondisk_flush_data()
6028 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in metaslab_set_unflushed_txg()
H A Ddmu_send.c1023 spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) { in dmu_send_impl()
1036 spa_feature_is_active(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) { in dmu_send_impl()
H A Ddmu_traverse.c602 if (spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) { in traverse_impl()
H A Dspa.c836 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in spa_change_guid_check()
1368 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_should_flush_logs_on_unload()
3452 if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) {
6251 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
6484 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
6959 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) {
8285 boolean_t lz4_ac = spa_feature_is_active(spa,
8437 spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) {
H A Dzvol.c1896 if (spa_feature_is_active(spa, SPA_FEATURE_MULTI_VDEV_CRASH_DUMP)) in zfs_mvdev_dump_feature_check()
2039 checksum = spa_feature_is_active(spa, in zvol_dump_init()
H A Ddnode_sync.c162 if (spa_feature_is_active(dn->dn_objset->os_spa, in free_blocks()
H A Dspace_map.c703 if (spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_write_impl()
H A Ddbuf.c2213 ASSERT(spa_feature_is_active(dmu_objset_spa(db->db_objset), in dmu_buf_write_embedded()
4052 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REMOVAL)); in dbuf_can_remap()
4077 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REMOVAL)); in dnode_needs_remap()
4101 if (!spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REMOVAL)) in dbuf_remap()
H A Dzio.c1054 !spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))) { in zio_free()
1544 ASSERT(spa_feature_is_active(spa, in zio_write_compress()
1620 spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) { in zio_write_compress()
3874 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_ENCRYPTION)); in zio_encrypt()
H A Ddsl_destroy.c893 if (!spa_feature_is_active(dp->dp_spa, in dsl_destroy_head_sync_impl()
H A Dvdev.c1309 ASSERT(spa_feature_is_active(vd->vdev_spa, in vdev_metaslab_fini()
3736 if (spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_SPACEMAP_V2)) in vdev_is_spacemap_addressable()
4628 spa_feature_is_active(spa, SPA_FEATURE_RESILVER_DEFER)) { in vdev_clear_resilver_deferred()
H A Dvdev_indirect.c764 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_OBSOLETE_COUNTS)); in spa_condense_indirect_start_sync()
H A Dvdev_removal.c2081 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in spa_vdev_remove()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfeature.h51 extern boolean_t spa_feature_is_active(struct spa *, spa_feature_t);
/illumos-gate/usr/src/cmd/zhack/
H A Dzhack.c242 if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) { in zhack_do_feature_stat()
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c936 spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in dump_metaslab()
950 if (spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in dump_metaslab()
1156 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in dump_log_spacemaps()
3754 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in iterate_through_spacemap_logs()
4564 if (spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) { in dump_block_stats()
5417 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in verify_checkpoint()
5702 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in dump_log_spacemap_obsolete_stats()
5778 if (spa_feature_is_active(spa, in dump_zpool()

12