Home
last modified time | relevance | path

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

12

/f-stack/freebsd/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 …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfeature.c347 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_enable_sync()
409 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_do_action()
457 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in spa_feature_enable()
481 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_is_enabled()
496 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_is_active()
519 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_enabled_txg()
H A Ddsl_pool.c281 if (spa_version(dp->dp_spa) >= SPA_VERSION_ORIGIN) { in dsl_pool_open()
298 if (spa_version(dp->dp_spa) >= SPA_VERSION_DEADLISTS) { in dsl_pool_open()
497 if (spa_version(spa) >= SPA_VERSION_DEADLISTS) { in dsl_pool_create()
512 if (spa_version(spa) >= SPA_VERSION_DSL_SCRUB) in dsl_pool_create()
519 if (spa_version(spa) >= SPA_VERSION_FEATURES) in dsl_pool_create()
1137 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_pool_clean_tmp_userrefs()
1188 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()
568 if (spa_version(dmu_objset_spa(dp->dp_meta_objset)) < in dsl_deleg_access_impl()
730 if (spa_version(dmu_objset_spa(sdd->dd_pool->dp_meta_objset)) < in dsl_deleg_set_create_perms()
H A Ddsl_prop.c391 version = spa_version(dd->dd_pool->dp_spa); in dsl_prop_predict()
664 uint64_t version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_prop_set_sync_impl()
877 version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_props_set_check()
1174 version = spa_version(spa); in dsl_prop_set_hasrecvd_impl()
H A Dspa_history.c377 if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY || !spa_writeable(spa)) in spa_history_log_nvl()
610 (u_longlong_t)spa_version(spa), ZFS_META_GITREV, in spa_history_log_version()
H A Ddsl_dataset.c732 spa_version(dp->dp_spa) < SPA_VERSION_ORIGIN || in dsl_dataset_hold_obj()
1209 if (spa_version(dp->dp_spa) >= SPA_VERSION_NEXT_CLONES) { in dsl_dataset_create_sync_dd()
1222 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_dataset_create_sync_dd()
1374 if (spa_version(ds->ds_dir->dd_pool->dp_spa) >= in dsl_dataset_recalc_head_uniq()
1914 needsuspend = (spa_version(spa) < SPA_VERSION_FAST_SNAP); in dsl_dataset_snapshot()
1999 if (spa_version(dp->dp_spa) < SPA_VERSION_USERREFS) { in dsl_dataset_snapshot_tmp_check()
2049 needsuspend = (spa_version(spa) < SPA_VERSION_FAST_SNAP); in dsl_dataset_snapshot_tmp()
3609 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_dataset_promote_sync()
3683 spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_dataset_promote_sync()
4332 if (spa_version(dp->dp_spa) < SPA_VERSION_REFQUOTA) in dsl_dataset_set_refquota_check()
[all …]
H A Ddsl_destroy.c66 if (spa_version(ds->ds_dir->dd_pool->dp_spa) < in dsl_destroy_snapshot_check_impl()
321 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_destroy_snapshot_sync_impl()
1092 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_destroy_head_sync_impl()
H A Dvdev_raidz.c2670 if (nparity > 1 && spa_version(spa) < SPA_VERSION_RAIDZ2) in vdev_raidz_init()
2672 else if (nparity > 2 && spa_version(spa) < SPA_VERSION_RAIDZ3) in vdev_raidz_init()
2679 if (spa_version(spa) >= SPA_VERSION_RAIDZ2) in vdev_raidz_init()
2718 spa_version(vd->vdev_spa) >= SPA_VERSION_RAIDZ2) || in vdev_raidz_config_generate()
2720 spa_version(vd->vdev_spa) >= SPA_VERSION_RAIDZ3)); in vdev_raidz_config_generate()
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 Dzcp_synctask.c262 if (spa_version(ri->zri_pool->dp_spa) < SPA_VERSION_FAST_SNAP) { in zcp_synctask_snapshot()
H A Dspa_config.c440 fnvlist_add_uint64(config, ZPOOL_CONFIG_VERSION, spa_version(spa)); in spa_config_generate()
H A Dspa.c335 version = spa_version(spa); in spa_prop_get_config()
569 (intval < spa_version(spa) || in spa_prop_validate()
606 if (spa_version(spa) < SPA_VERSION_BOOTFS) { in spa_prop_validate()
782 if (ver == spa_version(spa)) in spa_prop_set()
3842 if (spa_version(spa) >= SPA_VERSION_FEATURES) {
4149 ASSERT(spa_version(spa) >= SPA_VERSION_SPARES);
5477 if (spa_version(spa) < version)
6936 spa_version(spa) >= SPA_VERSION_SPARES);
7548 spa_version(spa)) == 0);
8568 ASSERT(version >= spa_version(spa));
[all …]
H A Ddsl_userhold.c88 if (spa_version(dp->dp_spa) < SPA_VERSION_USERREFS) in dsl_dataset_user_hold_check()
H A Ddsl_dir.c973 if (spa_version(dp->dp_spa) >= SPA_VERSION_USED_BREAKDOWN) in dsl_dir_create_sync()
1654 if (spa_version(dp->dp_spa) >= SPA_VERSION_RECVD_PROPS) { in dsl_dir_set_quota_sync()
1777 if (spa_version(dp->dp_spa) >= SPA_VERSION_RECVD_PROPS) { in dsl_dir_set_reservation_sync()
H A Dspa_misc.c1852 spa_version(spa_t *spa) in spa_version() function
1984 if (spa_version(spa) < SPA_VERSION_DITTO_BLOCKS) in spa_max_replication()
2832 EXPORT_SYMBOL(spa_version);
H A Ddsl_scan.c797 if (spa_version(spa) < SPA_VERSION_DSL_SCRUB) in dsl_scan_setup_sync()
1194 dmu_object_type_t ot = (spa_version(spa) >= SPA_VERSION_DSL_SCRUB) ? in scan_ds_queue_sync()
2693 if (spa_version(dp->dp_spa) < SPA_VERSION_DSL_SCRUB) { in dsl_scan_visit()
3271 if (spa_version(scn->scn_dp->dp_spa) >= SPA_VERSION_DEADLISTS) { in dsl_scan_active()
3360 spa_version(spa) >= SPA_VERSION_DEADLISTS) { in dsl_process_async_destroys()
/f-stack/freebsd/contrib/openzfs/include/
H A Dzfs_comutil.h40 extern int zfs_zpl_version_map(int spa_version);
/f-stack/freebsd/contrib/openzfs/module/zcommon/
H A Dzfs_comutil.c159 zfs_zpl_version_map(int spa_version) in zfs_zpl_version_map() argument
165 if (spa_version >= zfs_version_table[i].version_spa) in zfs_zpl_version_map()
/f-stack/freebsd/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.h1037 extern uint64_t spa_version(spa_t *spa);
1046 extern uint64_t spa_version(spa_t *spa);
/f-stack/freebsd/contrib/openzfs/cmd/zhack/
H A Dzhack.c177 if (spa_version(*spa) < SPA_VERSION_FEATURES) { in zhack_spa_open()
179 target, (int)spa_version(*spa)); in zhack_spa_open()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_mount.c519 int spa_version; in zfs_mount_at() local
521 VERIFY(zfs_spa_version(zhp, &spa_version) == 0); in zfs_mount_at()
527 ZFS_PROP_VERSION), spa_version); in zfs_mount_at()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c643 zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { in zfsvfs_init()
647 (u_longlong_t)spa_version(dmu_objset_spa(os))); in zfsvfs_init()
1970 spa_version(dmu_objset_spa(zfsvfs->z_os))) in zfs_set_version()
1997 ASSERT3U(spa_version(dmu_objset_spa(zfsvfs->z_os)), >=, in zfs_set_version()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c789 zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { in zfsvfs_init()
793 (u_longlong_t)spa_version(dmu_objset_spa(os))); in zfsvfs_init()
2124 spa_version(dmu_objset_spa(zfsvfs->z_os))) in zfs_set_version()
2151 ASSERT3U(spa_version(dmu_objset_spa(zfsvfs->z_os)), >=, in zfs_set_version()

12