/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/ |
H A D | zfs_upgrade.kshlib | 60 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 D | zfs_upgrade.kshlib | 63 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 D | zfeature.c | 347 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 D | dsl_pool.c | 286 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 D | dsl_deleg.c | 262 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 D | dsl_prop.c | 419 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 D | spa_history.c | 378 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 D | dsl_dataset.c | 742 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 D | dsl_destroy.c | 68 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 D | bpobj.c | 82 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 D | spa_config.c | 457 fnvlist_add_uint64(config, ZPOOL_CONFIG_VERSION, spa_version(spa)); in spa_config_generate()
|
H A D | zcp_synctask.c | 268 if (spa_version(ri->zri_pool->dp_spa) < SPA_VERSION_FAST_SNAP) { in zcp_synctask_snapshot()
|
H A D | spa.c | 458 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 D | dsl_userhold.c | 88 if (spa_version(dp->dp_spa) < SPA_VERSION_USERREFS) in dsl_dataset_user_hold_check()
|
H A D | spa_misc.c | 1958 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 D | dsl_dir.c | 989 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 D | zfs_comutil.c | 157 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 D | zfs_comutil.h | 40 _ZFS_COMUTIL_H int zfs_zpl_version_map(int spa_version);
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfs_znode.h | 124 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_FUID) 126 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_SA)
|
H A D | spa.h | 1053 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 D | libzfs_mount.c | 516 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 D | libzfs_sendrecv.c | 2344 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 D | zfs_vfsops.c | 649 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 D | zhack.c | 196 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 D | zfs_vfsops.c | 810 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()
|