Home
last modified time | relevance | path

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

12

/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/
H A Dzfs_upgrade.kshlib60 typeset -i spa_version
71 (( spa_version=0 ))
75 (( spa_version=${spa_create_versions[m]} ))
80 if (( spa_version != 0 )) && (( vp < spa_version )); then
93 (( spa_version=0 ))
97 (( spa_version=${spa_create_versions[m]} ))
102 if (( spa_version != 0 )) && (( vp < spa_version )); then
132 typeset -i spa_version
149 (( spa_version=0 ))
153 (( spa_version=${spa_upgrade_versions[m]} ))
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/
H A Dzfs_upgrade.kshlib63 typeset -i spa_version
74 (( spa_version=0 ))
78 (( spa_version=${spa_create_versions[m]} ))
83 if (( spa_version != 0 )) && (( vp < spa_version )); then
96 (( spa_version=0 ))
100 (( spa_version=${spa_create_versions[m]} ))
105 if (( spa_version != 0 )) && (( vp < spa_version )); then
135 typeset -i spa_version
152 (( spa_version=0 ))
156 (( spa_version=${spa_upgrade_versions[m]} ))
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfeature.c347 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_enable_sync()
416 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_do_action()
464 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in spa_feature_enable()
488 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_is_enabled()
503 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_is_active()
526 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_enabled_txg()
H A Ddsl_pool.c286 if (spa_version(dp->dp_spa) >= SPA_VERSION_ORIGIN) { in dsl_pool_open()
303 if (spa_version(dp->dp_spa) >= SPA_VERSION_DEADLISTS) { in dsl_pool_open()
507 if (spa_version(spa) >= SPA_VERSION_DEADLISTS) { in dsl_pool_create()
522 if (spa_version(spa) >= SPA_VERSION_DSL_SCRUB) in dsl_pool_create()
529 if (spa_version(spa) >= SPA_VERSION_FEATURES) in dsl_pool_create()
1207 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_pool_clean_tmp_userrefs()
1260 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_pool_user_hold_rele_impl()
H A Ddsl_deleg.c262 if (spa_version(dmu_tx_pool(tx)->dp_spa) < in dsl_deleg_check()
570 if (spa_version(dmu_objset_spa(dp->dp_meta_objset)) < in dsl_deleg_access_impl()
734 if (spa_version(dmu_objset_spa(sdd->dd_pool->dp_meta_objset)) < in dsl_deleg_set_create_perms()
H A Ddsl_prop.c419 version = spa_version(dd->dd_pool->dp_spa); in dsl_prop_predict()
736 uint64_t version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_prop_set_sync_impl()
956 version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_props_set_check()
1272 version = spa_version(spa); in dsl_prop_set_hasrecvd_impl()
H A Dspa_history.c378 if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY || !spa_writeable(spa)) in spa_history_log_nvl()
618 (u_longlong_t)spa_version(spa), ZFS_META_GITREV, in spa_history_log_version()
H A Ddsl_dataset.c742 spa_version(dp->dp_spa) < SPA_VERSION_ORIGIN || in dsl_dataset_hold_obj()
1220 if (spa_version(dp->dp_spa) >= SPA_VERSION_NEXT_CLONES) { in dsl_dataset_create_sync_dd()
1233 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_dataset_create_sync_dd()
1249 if (spa_version(dp->dp_spa) >= SPA_VERSION_UNIQUE_ACCURATE) in dsl_dataset_create_sync_dd()
1382 if (spa_version(ds->ds_dir->dd_pool->dp_spa) >= in dsl_dataset_recalc_head_uniq()
1708 ASSERT(spa_version(dmu_tx_pool(tx)->dp_spa) >= SPA_VERSION_FAST_SNAP || in dsl_dataset_snapshot_sync_impl()
1853 if (spa_version(dp->dp_spa) >= SPA_VERSION_UNIQUE_ACCURATE) in dsl_dataset_snapshot_sync_impl()
1922 needsuspend = (spa_version(spa) < SPA_VERSION_FAST_SNAP); in dsl_dataset_snapshot()
2007 if (spa_version(dp->dp_spa) < SPA_VERSION_USERREFS) { in dsl_dataset_snapshot_tmp_check()
2057 needsuspend = (spa_version(spa) < SPA_VERSION_FAST_SNAP); in dsl_dataset_snapshot_tmp()
[all …]
H A Ddsl_destroy.c68 if (spa_version(ds->ds_dir->dd_pool->dp_spa) < in dsl_destroy_snapshot_check_impl()
325 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_destroy_snapshot_sync_impl()
1097 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_destroy_head_sync_impl()
H A Dbpobj.c82 if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_BPOBJ_ACCOUNT) in bpobj_alloc()
84 else if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_DEADLISTS) in bpobj_alloc()
H A Dspa_config.c457 fnvlist_add_uint64(config, ZPOOL_CONFIG_VERSION, spa_version(spa)); in spa_config_generate()
H A Dzcp_synctask.c268 if (spa_version(ri->zri_pool->dp_spa) < SPA_VERSION_FAST_SNAP) { in zcp_synctask_snapshot()
H A Dspa.c458 version = spa_version(spa); in spa_prop_get_config()
711 (intval < spa_version(spa) || in spa_prop_validate()
752 if (spa_version(spa) < SPA_VERSION_BOOTFS) { in spa_prop_validate()
934 if (ver == spa_version(spa)) in spa_prop_set()
4534 if (spa_version(spa) >= SPA_VERSION_FEATURES) {
4844 ASSERT(spa_version(spa) >= SPA_VERSION_SPARES);
4866 ASSERT(spa_version(spa) >= SPA_VERSION_L2CACHE);
6238 if (spa_version(spa) < version)
7590 spa_version(spa) < SPA_VERSION_MULTI_REPLACE) {
7876 spa_version(spa) >= SPA_VERSION_SPARES);
[all …]
H A Ddsl_userhold.c88 if (spa_version(dp->dp_spa) < SPA_VERSION_USERREFS) in dsl_dataset_user_hold_check()
H A Dspa_misc.c1958 spa_version(spa_t *spa) in spa_version() function
2113 if (spa_version(spa) < SPA_VERSION_DITTO_BLOCKS) in spa_max_replication()
3051 EXPORT_SYMBOL(spa_version);
H A Ddsl_dir.c989 if (spa_version(dp->dp_spa) >= SPA_VERSION_USED_BREAKDOWN) in dsl_dir_create_sync()
1726 if (spa_version(dp->dp_spa) >= SPA_VERSION_RECVD_PROPS) { in dsl_dir_set_quota_sync()
1849 if (spa_version(dp->dp_spa) >= SPA_VERSION_RECVD_PROPS) { in dsl_dir_set_reservation_sync()
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_comutil.c157 zfs_zpl_version_map(int spa_version) in zfs_zpl_version_map() argument
162 if (spa_version >= zfs_version_table[i].version_spa) in zfs_zpl_version_map()
/freebsd/sys/contrib/openzfs/include/
H A Dzfs_comutil.h40 _ZFS_COMUTIL_H int zfs_zpl_version_map(int spa_version);
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_znode.h124 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_FUID)
126 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_SA)
H A Dspa.h1053 extern uint64_t spa_version(spa_t *spa);
1062 extern uint64_t spa_version(spa_t *spa);
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_mount.c516 int spa_version; in zfs_mount_at() local
518 VERIFY(zfs_spa_version(zhp, &spa_version) == 0); in zfs_mount_at()
524 ZFS_PROP_VERSION), spa_version); in zfs_mount_at()
H A Dlibzfs_sendrecv.c2344 int spa_version; in zfs_send_cb_impl() local
2434 zfs_spa_version(zhp, &spa_version) == 0 && in zfs_send_cb_impl()
2435 spa_version >= SPA_VERSION_USERREFS && in zfs_send_cb_impl()
3126 int spa_version; in recv_destroy() local
3133 zfs_spa_version(zhp, &spa_version) == 0 && in recv_destroy()
3134 spa_version >= SPA_VERSION_USERREFS) in recv_destroy()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c649 zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { in zfsvfs_init()
653 (u_longlong_t)spa_version(dmu_objset_spa(os))); in zfsvfs_init()
1953 spa_version(dmu_objset_spa(zfsvfs->z_os))) in zfs_set_version()
1980 ASSERT3U(spa_version(dmu_objset_spa(zfsvfs->z_os)), >=, in zfs_set_version()
/freebsd/sys/contrib/openzfs/cmd/
H A Dzhack.c196 if (spa_version(*spa) < SPA_VERSION_FEATURES) { in zhack_spa_open()
198 target, (int)spa_version(*spa)); in zhack_spa_open()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c810 zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { in zfsvfs_init()
814 (u_longlong_t)spa_version(dmu_objset_spa(os))); in zfsvfs_init()
2188 spa_version(dmu_objset_spa(zfsvfs->z_os))) in zfs_set_version()
2215 ASSERT3U(spa_version(dmu_objset_spa(zfsvfs->z_os)), >=, in zfs_set_version()

12