/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_upgrade/ |
H A D | zfs_upgrade.kshlib | 48 typeset -i spa_version 59 (( spa_version=0 )) 63 (( spa_version=${spa_create_versions[m]} )) 68 if (( spa_version != 0 )) && (( vp < spa_version )); then 81 (( spa_version=0 )) 85 (( spa_version=${spa_create_versions[m]} )) 90 if (( spa_version != 0 )) && (( vp < spa_version )); then 120 typeset -i spa_version 137 (( spa_version=0 )) 141 (( spa_version=${spa_upgrade_versions[m]} )) [all …]
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | zfeature.c | 339 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_enable_sync() 387 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in feature_do_action() 435 ASSERT3U(spa_version(spa), >=, SPA_VERSION_FEATURES); in spa_feature_enable() 459 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_is_enabled() 474 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_is_active() 496 if (spa_version(spa) < SPA_VERSION_FEATURES) in spa_feature_enabled_txg()
|
H A D | dsl_pool.c | 217 if (spa_version(dp->dp_spa) >= SPA_VERSION_ORIGIN) { in dsl_pool_open() 234 if (spa_version(dp->dp_spa) >= SPA_VERSION_DEADLISTS) { in dsl_pool_open() 372 if (spa_version(spa) >= SPA_VERSION_DEADLISTS) { in dsl_pool_create() 387 if (spa_version(spa) >= SPA_VERSION_DSL_SCRUB) in dsl_pool_create() 859 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_pool_clean_tmp_userrefs() 910 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() 560 if (spa_version(dmu_objset_spa(dp->dp_meta_objset)) < in dsl_deleg_access_impl() 722 if (spa_version(dmu_objset_spa(sdd->dd_pool->dp_meta_objset)) < in dsl_deleg_set_create_perms()
|
H A D | dsl_dataset.c | 554 spa_version(dp->dp_spa) < SPA_VERSION_ORIGIN || in dsl_dataset_hold_obj() 856 if (spa_version(dp->dp_spa) >= SPA_VERSION_NEXT_CLONES) { in dsl_dataset_create_sync_dd() 869 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_dataset_create_sync_dd() 882 if (spa_version(dp->dp_spa) >= SPA_VERSION_UNIQUE_ACCURATE) in dsl_dataset_create_sync_dd() 981 if (spa_version(ds->ds_dir->dd_pool->dp_spa) >= in dsl_dataset_recalc_head_uniq() 1324 ASSERT(spa_version(dmu_tx_pool(tx)->dp_spa) >= SPA_VERSION_FAST_SNAP || in dsl_dataset_snapshot_sync_impl() 1419 if (spa_version(dp->dp_spa) >= SPA_VERSION_UNIQUE_ACCURATE) in dsl_dataset_snapshot_sync_impl() 1487 needsuspend = (spa_version(spa) < SPA_VERSION_FAST_SNAP); in dsl_dataset_snapshot() 1564 if (spa_version(dp->dp_spa) < SPA_VERSION_USERREFS) { in dsl_dataset_snapshot_tmp_check() 1614 needsuspend = (spa_version(spa) < SPA_VERSION_FAST_SNAP); in dsl_dataset_snapshot_tmp() [all …]
|
H A D | vdev_label.c | 250 spa_version(spa) >= SPA_VERSION_RAIDZ2) || in vdev_config_generate() 252 spa_version(spa) >= SPA_VERSION_RAIDZ3)); in vdev_config_generate() 734 spa_version(spa)) == 0); in vdev_label_init() 747 spa_version(spa)) == 0); in vdev_label_init()
|
H A D | dsl_prop.c | 331 version = spa_version(dd->dd_pool->dp_spa); in dsl_prop_predict() 573 uint64_t version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_prop_set_sync_impl() 775 version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_props_set_check() 1063 version = spa_version(spa); in dsl_prop_set_hasrecvd_impl()
|
H A D | spa_history.c | 306 if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY || !spa_writeable(spa)) in spa_history_log_nvl() 535 (u_longlong_t)spa_version(spa), SPA_VERSION, ZPL_VERSION, in spa_history_log_version()
|
H A D | dsl_destroy.c | 65 if (spa_version(ds->ds_dir->dd_pool->dp_spa) < in dsl_destroy_snapshot_check_impl() 254 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_destroy_snapshot_sync_impl() 825 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_destroy_head_sync_impl()
|
H A D | bpobj.c | 81 if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_BPOBJ_ACCOUNT) in bpobj_alloc() 83 else if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_DEADLISTS) in bpobj_alloc()
|
H A D | spa.c | 230 version = spa_version(spa); in spa_prop_get_config() 453 (intval < spa_version(spa) || in spa_prop_validate() 474 if (spa_version(spa) < SPA_VERSION_BOOTFS) { in spa_prop_validate() 597 if (spa_version(spa) < SPA_VERSION_DEDUP) in spa_prop_validate() 679 if (ver == spa_version(spa)) in spa_prop_set() 2363 if (spa_version(spa) >= SPA_VERSION_FEATURES) { in spa_load_impl() 2573 ASSERT(spa_version(spa) >= SPA_VERSION_SPARES); in spa_load_impl() 2593 ASSERT(spa_version(spa) >= SPA_VERSION_L2CACHE); in spa_load_impl() 3328 if (spa_version(spa) < version) in spa_validate_aux_devs() 3632 if (spa_version(spa) >= SPA_VERSION_FEATURES) in spa_create() [all …]
|
H A D | dsl_scan.c | 233 if (spa_version(spa) < SPA_VERSION_DSL_SCRUB) in dsl_scan_setup_sync() 1314 if (spa_version(dp->dp_spa) < SPA_VERSION_DSL_SCRUB) { in dsl_scan_visit() 1426 if (spa_version(scn->scn_dp->dp_spa) >= SPA_VERSION_DEADLISTS) { in dsl_scan_active() 1475 if (spa_version(dp->dp_spa) >= SPA_VERSION_DEADLISTS) { in dsl_scan_sync()
|
H A D | spa_config.c | 386 spa_version(spa)) == 0); in spa_config_generate()
|
H A D | zfs_vfsops.c | 917 zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { in zfsvfs_create() 921 (u_longlong_t)spa_version(dmu_objset_spa(os))); in zfsvfs_create() 2261 spa_version(dmu_objset_spa(zfsvfs->z_os))) in zfs_set_version() 2288 ASSERT3U(spa_version(dmu_objset_spa(zfsvfs->z_os)), >=, in zfs_set_version()
|
H A D | vdev.c | 421 if (islog && spa_version(spa) < SPA_VERSION_SLOGS) in vdev_alloc() 424 if (ops == &vdev_hole_ops && spa_version(spa) < SPA_VERSION_HOLES) in vdev_alloc() 441 spa_version(spa) < SPA_VERSION_RAIDZ2) in vdev_alloc() 444 spa_version(spa) < SPA_VERSION_RAIDZ3) in vdev_alloc() 451 if (spa_version(spa) >= SPA_VERSION_RAIDZ2) in vdev_alloc()
|
H A D | dmu_objset.c | 334 if (spa_version(spa) >= SPA_VERSION_USERSPACE && in dmu_objset_open_impl() 350 int size = spa_version(spa) >= SPA_VERSION_USERSPACE ? in dmu_objset_open_impl() 1224 return (spa_version(os->os_spa) >= SPA_VERSION_USERSPACE && in dmu_objset_userused_enabled()
|
H A D | dsl_dir.c | 927 if (spa_version(dp->dp_spa) >= SPA_VERSION_USED_BREAKDOWN) in dsl_dir_create_sync() 1504 if (spa_version(dp->dp_spa) >= SPA_VERSION_RECVD_PROPS) { in dsl_dir_set_quota_sync() 1626 if (spa_version(dp->dp_spa) >= SPA_VERSION_RECVD_PROPS) { in dsl_dir_set_reservation_sync()
|
H A D | dsl_userhold.c | 87 if (spa_version(dp->dp_spa) < SPA_VERSION_USERREFS) in dsl_dataset_user_hold_check()
|
/titanic_41/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 | 39 extern int zfs_zpl_version_map(int spa_version);
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfs_znode.h | 120 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_FUID) 122 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_SA)
|
H A D | spa.h | 765 extern uint64_t spa_version(spa_t *spa); 773 extern uint64_t spa_version(spa_t *spa);
|
/titanic_41/usr/src/cmd/zhack/ |
H A D | zhack.c | 212 if (spa_version(*spa) < SPA_VERSION_FEATURES) { in zhack_spa_open() 214 target, (int)spa_version(*spa)); in zhack_spa_open()
|
/titanic_41/usr/src/lib/libzfs/common/ |
H A D | libzfs_mount.c | 325 int spa_version; in zfs_mount() local 327 VERIFY(zfs_spa_version(zhp, &spa_version) == 0); in zfs_mount() 333 ZFS_PROP_VERSION), spa_version); in zfs_mount()
|
H A D | libzfs_sendrecv.c | 1679 int spa_version; in zfs_send() local 1824 zfs_spa_version(zhp, &spa_version) == 0 && in zfs_send() 1825 spa_version >= SPA_VERSION_USERREFS && in zfs_send() 2141 int spa_version; in recv_destroy() local 2149 zfs_spa_version(zhp, &spa_version) == 0 && in recv_destroy() 2150 spa_version >= SPA_VERSION_USERREFS) in recv_destroy()
|