/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_checkpoint.c | 166 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 D | spa_log_spacemap.c | 332 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 D | zfeature.c | 382 !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 D | zio_compress.c | 81 if (spa_feature_is_active(spa, SPA_FEATURE_LZ4_COMPRESS)) in zio_compress_select()
|
H A D | dsl_pool.c | 302 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 D | bpobj.c | 45 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 D | dsl_dir.c | 529 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 D | vdev_indirect_mapping.c | 411 ASSERT(spa_feature_is_active(vim->vim_objset->os_spa, in vdev_indirect_mapping_add_entries()
|
H A D | dsl_scan.c | 459 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 D | metaslab.c | 2655 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 D | dmu_send.c | 1023 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 D | dmu_traverse.c | 602 if (spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) { in traverse_impl()
|
H A D | spa.c | 836 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 D | zvol.c | 1896 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 D | dnode_sync.c | 162 if (spa_feature_is_active(dn->dn_objset->os_spa, in free_blocks()
|
H A D | space_map.c | 703 if (spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_write_impl()
|
H A D | dbuf.c | 2213 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 D | zio.c | 1054 !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 D | dsl_destroy.c | 893 if (!spa_feature_is_active(dp->dp_spa, in dsl_destroy_head_sync_impl()
|
H A D | vdev.c | 1309 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 D | vdev_indirect.c | 764 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_OBSOLETE_COUNTS)); in spa_condense_indirect_start_sync()
|
H A D | vdev_removal.c | 2081 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 D | zfeature.h | 51 extern boolean_t spa_feature_is_active(struct spa *, spa_feature_t);
|
/illumos-gate/usr/src/cmd/zhack/ |
H A D | zhack.c | 242 if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) { in zhack_do_feature_stat()
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 936 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()
|