/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_upgrade/ |
H A D | zfs_upgrade.kshlib | 53 typeset -i spa_version 64 (( spa_version=0 )) 68 (( spa_version=${spa_create_versions[m]} )) 73 if (( spa_version != 0 )) && (( vp < spa_version )); then 86 (( spa_version=0 )) 90 (( spa_version=${spa_create_versions[m]} )) 95 if (( spa_version != 0 )) && (( vp < spa_version )); then 125 typeset -i spa_version 142 (( spa_version=0 )) 146 (( spa_version=${spa_upgrade_versions[m]} )) [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfeature.c | 340 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_enable_sync() 401 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_do_action() 449 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in spa_feature_enable() 473 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_is_enabled() 488 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_is_active() 511 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_enabled_txg()
|
H A D | dsl_pool.c | 271 if (spa_version(dp->dp_spa) >= SPA_VERSION_ORIGIN) { in dsl_pool_open() 288 if (spa_version(dp->dp_spa) >= SPA_VERSION_DEADLISTS) { in dsl_pool_open() 479 if (spa_version(spa) >= SPA_VERSION_DEADLISTS) { in dsl_pool_create() 494 if (spa_version(spa) >= SPA_VERSION_DSL_SCRUB) in dsl_pool_create() 501 if (spa_version(spa) >= SPA_VERSION_FEATURES) in dsl_pool_create() 1105 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_pool_clean_tmp_userrefs() 1156 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() 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 D | dsl_prop.c | 387 version = spa_version(dd->dd_pool->dp_spa); in dsl_prop_predict() 623 uint64_t version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_prop_set_sync_impl() 819 version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_props_set_check() 1112 version = spa_version(spa); in dsl_prop_set_hasrecvd_impl()
|
H A D | dsl_dataset.c | 674 spa_version(dp->dp_spa) < SPA_VERSION_ORIGIN || in dsl_dataset_hold_obj() 1114 if (spa_version(dp->dp_spa) >= SPA_VERSION_NEXT_CLONES) { in dsl_dataset_create_sync_dd() 1127 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_dataset_create_sync_dd() 1143 if (spa_version(dp->dp_spa) >= SPA_VERSION_UNIQUE_ACCURATE) in dsl_dataset_create_sync_dd() 1257 if (spa_version(ds->ds_dir->dd_pool->dp_spa) >= in dsl_dataset_recalc_head_uniq() 1590 ASSERT(spa_version(dmu_tx_pool(tx)->dp_spa) >= SPA_VERSION_FAST_SNAP || in dsl_dataset_snapshot_sync_impl() 1734 if (spa_version(dp->dp_spa) >= SPA_VERSION_UNIQUE_ACCURATE) in dsl_dataset_snapshot_sync_impl() 1802 needsuspend = (spa_version(spa) < SPA_VERSION_FAST_SNAP); in dsl_dataset_snapshot() 1879 if (spa_version(dp->dp_spa) < SPA_VERSION_USERREFS) { in dsl_dataset_snapshot_tmp_check() 1929 needsuspend = (spa_version(spa) < SPA_VERSION_FAST_SNAP); in dsl_dataset_snapshot_tmp() [all …]
|
H A D | spa_history.c | 389 if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY || !spa_writeable(spa)) in spa_history_log_nvl() 623 (u_longlong_t)spa_version(spa), SPA_VERSION, ZPL_VERSION, in spa_history_log_version()
|
H A D | vdev_label.c | 451 spa_version(spa) >= SPA_VERSION_RAIDZ2) || in vdev_config_generate() 453 spa_version(spa) >= SPA_VERSION_RAIDZ3)); in vdev_config_generate() 1062 spa_version(spa)) == 0); in vdev_label_init() 1075 spa_version(spa)) == 0); in vdev_label_init()
|
H A D | bpobj.c | 83 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 D | dsl_destroy.c | 61 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() 923 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_destroy_head_sync_impl()
|
H A D | spa_config.c | 407 fnvlist_add_uint64(config, ZPOOL_CONFIG_VERSION, spa_version(spa)); in spa_config_generate()
|
H A D | spa.c | 322 version = spa_version(spa); in spa_prop_get_config() 554 (intval < spa_version(spa) || in spa_prop_validate() 586 if (spa_version(spa) < SPA_VERSION_BOOTFS) { in spa_prop_validate() 702 if (spa_version(spa) < SPA_VERSION_DEDUP) in spa_prop_validate() 784 if (ver == spa_version(spa)) in spa_prop_set() 3352 if (spa_version(spa) >= SPA_VERSION_FEATURES) { 3653 ASSERT(spa_version(spa) >= SPA_VERSION_SPARES); 3675 ASSERT(spa_version(spa) >= SPA_VERSION_L2CACHE); 4927 if (spa_version(spa) < version) 6318 spa_version(spa) < SPA_VERSION_MULTI_REPLACE) { [all …]
|
H A D | zcp_synctask.c | 262 if (spa_version(ri->zri_pool->dp_spa) < SPA_VERSION_FAST_SNAP) { in zcp_synctask_snapshot()
|
H A D | zfs_vfsops.c | 1070 zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { in zfsvfs_init() 1074 (u_longlong_t)spa_version(dmu_objset_spa(os))); in zfsvfs_init() 2664 spa_version(dmu_objset_spa(zfsvfs->z_os))) in zfs_set_version() 2691 ASSERT3U(spa_version(dmu_objset_spa(zfsvfs->z_os)), >=, in zfs_set_version()
|
H A D | dsl_dir.c | 960 if (spa_version(dp->dp_spa) >= SPA_VERSION_USED_BREAKDOWN) in dsl_dir_create_sync() 1635 if (spa_version(dp->dp_spa) >= SPA_VERSION_RECVD_PROPS) { in dsl_dir_set_quota_sync() 1759 if (spa_version(dp->dp_spa) >= SPA_VERSION_RECVD_PROPS) { in dsl_dir_set_reservation_sync()
|
H A D | dsl_deadlist.c | 158 if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_DEADLISTS) in dsl_deadlist_alloc()
|
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 | dsl_scan.c | 782 if (spa_version(spa) < SPA_VERSION_DSL_SCRUB) in dsl_scan_setup_sync() 1162 dmu_object_type_t ot = (spa_version(spa) >= SPA_VERSION_DSL_SCRUB) ? in scan_ds_queue_sync() 2596 if (spa_version(dp->dp_spa) < SPA_VERSION_DSL_SCRUB) { in dsl_scan_visit() 3159 if (spa_version(scn->scn_dp->dp_spa) >= SPA_VERSION_DEADLISTS) { in dsl_scan_active() 3254 spa_version(spa) >= SPA_VERSION_DEADLISTS) { in dsl_process_async_destroys()
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_comutil.c | 130 zfs_zpl_version_map(int spa_version) in zfs_zpl_version_map() argument 136 if (spa_version >= zfs_version_table[i].version_spa) in zfs_zpl_version_map()
|
H A D | zfs_comutil.h | 43 extern int zfs_zpl_version_map(int spa_version);
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfs_znode.h | 136 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_FUID) 138 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_SA)
|
H A D | spa.h | 925 extern uint64_t spa_version(spa_t *spa); 934 extern uint64_t spa_version(spa_t *spa);
|
/illumos-gate/usr/src/cmd/zhack/ |
H A D | zhack.c | 175 if (spa_version(*spa) < SPA_VERSION_FEATURES) { in zhack_spa_open() 177 target, (int)spa_version(*spa)); in zhack_spa_open()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_mount.c | 439 int spa_version; in zfs_mount() local 441 VERIFY(zfs_spa_version(zhp, &spa_version) == 0); in zfs_mount() 447 ZFS_PROP_VERSION), spa_version); in zfs_mount()
|
H A D | libzfs_sendrecv.c | 1856 int spa_version; in zfs_send() local 2047 zfs_spa_version(zhp, &spa_version) == 0 && in zfs_send() 2048 spa_version >= SPA_VERSION_USERREFS && in zfs_send() 2479 int spa_version; in recv_destroy() local 2487 zfs_spa_version(zhp, &spa_version) == 0 && in recv_destroy() 2488 spa_version >= SPA_VERSION_USERREFS) in recv_destroy()
|