Home
last modified time | relevance | path

Searched refs:spa_version (Results 1 – 25 of 39) sorted by relevance

12

/freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/
H A Dzfs_upgrade.kshlib65 typeset -i spa_version
76 (( spa_version=0 ))
80 (( spa_version=${spa_create_versions[m]} ))
85 if (( spa_version != 0 )) && (( vp < spa_version )); then
98 (( spa_version=0 ))
102 (( spa_version=${spa_create_versions[m]} ))
107 if (( spa_version != 0 )) && (( vp < spa_version )); then
137 typeset -i spa_version
154 (( spa_version=0 ))
158 (( spa_version=${spa_upgrade_versions[m]} ))
[all …]
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfeature.c344 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_enable_sync()
392 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_do_action()
440 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in spa_feature_enable()
464 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_is_enabled()
479 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_is_active()
502 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_enabled_txg()
H A Ddsl_pool.c366 if (spa_version(dp->dp_spa) >= SPA_VERSION_ORIGIN) { in dsl_pool_open()
383 if (spa_version(dp->dp_spa) >= SPA_VERSION_DEADLISTS) { in dsl_pool_open()
572 if (spa_version(spa) >= SPA_VERSION_DEADLISTS) { in dsl_pool_create()
587 if (spa_version(spa) >= SPA_VERSION_DSL_SCRUB) in dsl_pool_create()
1158 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_pool_clean_tmp_userrefs()
1209 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_pool_user_hold_rele_impl()
H A Dspa_history.c388 if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY) in spa_history_log_nvl()
391 if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY || !spa_writeable(spa)) in spa_history_log_nvl()
625 (u_longlong_t)spa_version(spa), SPA_VERSION, ZPL_VERSION, in spa_history_log_version()
H A Ddsl_deleg.c262 if (spa_version(dmu_tx_pool(tx)->dp_spa) < in dsl_deleg_check()
559 if (spa_version(dmu_objset_spa(dp->dp_meta_objset)) < in dsl_deleg_access_impl()
721 if (spa_version(dmu_objset_spa(sdd->dd_pool->dp_meta_objset)) < in dsl_deleg_set_create_perms()
H A Ddsl_prop.c388 version = spa_version(dd->dd_pool->dp_spa); in dsl_prop_predict()
624 uint64_t version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_prop_set_sync_impl()
826 version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_props_set_check()
1118 version = spa_version(spa); in dsl_prop_set_hasrecvd_impl()
H A Ddsl_dataset.c604 spa_version(dp->dp_spa) < SPA_VERSION_ORIGIN || in dsl_dataset_hold_obj()
910 if (spa_version(dp->dp_spa) >= SPA_VERSION_NEXT_CLONES) { in dsl_dataset_create_sync_dd()
923 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_dataset_create_sync_dd()
936 if (spa_version(dp->dp_spa) >= SPA_VERSION_UNIQUE_ACCURATE) in dsl_dataset_create_sync_dd()
1087 if (spa_version(ds->ds_dir->dd_pool->dp_spa) >= in dsl_dataset_recalc_head_uniq()
1598 needsuspend = (spa_version(spa) < SPA_VERSION_FAST_SNAP); in dsl_dataset_snapshot()
1686 if (spa_version(dp->dp_spa) < SPA_VERSION_USERREFS) { in dsl_dataset_snapshot_tmp_check()
1736 needsuspend = (spa_version(spa) < SPA_VERSION_FAST_SNAP); in dsl_dataset_snapshot_tmp()
3065 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_dataset_promote_sync()
3134 spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_dataset_promote_sync()
[all …]
H A Dvdev_label.c289 spa_version(spa) >= SPA_VERSION_RAIDZ2) || in vdev_config_generate()
291 spa_version(spa) >= SPA_VERSION_RAIDZ3)); in vdev_config_generate()
880 spa_version(spa)) == 0); in vdev_label_init()
893 spa_version(spa)) == 0); in vdev_label_init()
H A Dzcp_synctask.c252 if (spa_version(ri->zri_pool->dp_spa) < SPA_VERSION_FAST_SNAP) { in zcp_synctask_snapshot()
H A Dbpobj.c83 if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_BPOBJ_ACCOUNT) in bpobj_alloc()
85 else if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_DEADLISTS) in bpobj_alloc()
H A Ddsl_destroy.c61 if (spa_version(ds->ds_dir->dd_pool->dp_spa) < in dsl_destroy_snapshot_check_impl()
271 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_destroy_snapshot_sync_impl()
922 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_destroy_head_sync_impl()
H A Dspa.c332 version = spa_version(spa); in spa_prop_get_config()
564 (intval < spa_version(spa) || in spa_prop_validate()
585 if (spa_version(spa) < SPA_VERSION_BOOTFS) { in spa_prop_validate()
701 if (spa_version(spa) < SPA_VERSION_DEDUP) in spa_prop_validate()
783 if (ver == spa_version(spa)) in spa_prop_set()
4573 if (spa_version(spa) < version)
4898 if (spa_version(spa) >= SPA_VERSION_FEATURES)
6294 spa_version(spa) >= SPA_VERSION_SPARES);
6742 spa_version(spa)) == 0);
7669 ASSERT(version >= spa_version(spa));
[all …]
H A Dspa_config.c429 fnvlist_add_uint64(config, ZPOOL_CONFIG_VERSION, spa_version(spa)); in spa_config_generate()
H A Dzfs_vfsops.c1034 zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { in zfsvfs_init()
1038 (u_longlong_t)spa_version(dmu_objset_spa(os))); in zfsvfs_init()
2667 spa_version(dmu_objset_spa(zfsvfs->z_os))) in zfs_set_version()
2694 ASSERT3U(spa_version(dmu_objset_spa(zfsvfs->z_os)), >=, in zfs_set_version()
H A Ddsl_dir.c955 if (spa_version(dp->dp_spa) >= SPA_VERSION_USED_BREAKDOWN) in dsl_dir_create_sync()
1630 if (spa_version(dp->dp_spa) >= SPA_VERSION_RECVD_PROPS) { in dsl_dir_set_quota_sync()
1753 if (spa_version(dp->dp_spa) >= SPA_VERSION_RECVD_PROPS) { in dsl_dir_set_reservation_sync()
H A Ddsl_userhold.c87 if (spa_version(dp->dp_spa) < SPA_VERSION_USERREFS) in dsl_dataset_user_hold_check()
H A Ddsl_scan.c700 if (spa_version(spa) < SPA_VERSION_DSL_SCRUB) in dsl_scan_setup_sync()
1051 dmu_object_type_t ot = (spa_version(spa) >= SPA_VERSION_DSL_SCRUB) ? in scan_ds_queue_sync()
2474 if (spa_version(dp->dp_spa) < SPA_VERSION_DSL_SCRUB) { in dsl_scan_visit()
2992 if (spa_version(scn->scn_dp->dp_spa) >= SPA_VERSION_DEADLISTS) { in dsl_scan_active()
3060 spa_version(spa) >= SPA_VERSION_DEADLISTS) { in dsl_process_async_destroys()
H A Ddsl_deadlist.c158 if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_DEADLISTS) in dsl_deadlist_alloc()
/freebsd-12.1/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzfs_comutil.c129 zfs_zpl_version_map(int spa_version) in zfs_zpl_version_map() argument
135 if (spa_version >= zfs_version_table[i].version_spa) in zfs_zpl_version_map()
H A Dzfs_comutil.h39 extern int zfs_zpl_version_map(int spa_version);
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_znode.h119 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_FUID)
121 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_SA)
H A Dspa.h811 extern uint64_t spa_version(spa_t *spa);
820 extern uint64_t spa_version(spa_t *spa);
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zhack/
H A Dzhack.c212 if (spa_version(*spa) < SPA_VERSION_FEATURES) { in zhack_spa_open()
214 target, (int)spa_version(*spa)); in zhack_spa_open()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_mount.c407 int spa_version; in zfs_mount() local
409 VERIFY(zfs_spa_version(zhp, &spa_version) == 0); in zfs_mount()
415 ZFS_PROP_VERSION), spa_version); in zfs_mount()
H A Dlibzfs_sendrecv.c1770 int spa_version; in zfs_send() local
1918 zfs_spa_version(zhp, &spa_version) == 0 && in zfs_send()
1919 spa_version >= SPA_VERSION_USERREFS && in zfs_send()
2259 int spa_version; in recv_destroy() local
2267 zfs_spa_version(zhp, &spa_version) == 0 && in recv_destroy()
2268 spa_version >= SPA_VERSION_USERREFS) in recv_destroy()

12