Lines Matching defs:version
201 uint64_t size, alloc, cap, version;
233 version = spa_version(spa);
234 if (version == zpool_prop_default_numeric(ZPOOL_PROP_VERSION))
238 spa_prop_add_list(*nvp, ZPOOL_PROP_VERSION, NULL, version, src);
244 * when opening pools before this version freedir will be NULL.
473 * If the pool version is less than SPA_VERSION_BOOTFS,
474 * or the pool is still being created (version == 0),
674 /* Save time if the version is already set. */
2085 * it's not present treat it as the initial version.
2186 * configuration requires knowing the version number.
2251 * If the pool has an unsupported version we can't open it.
3306 spa_aux_vdev_t *sav, const char *config, uint64_t version,
3326 * Make sure the pool is formatted with a version that supports this
3329 if (spa_version(spa) < version)
3487 uint64_t version, obj;
3522 zpool_prop_to_name(ZPOOL_PROP_VERSION), &version) != 0) {
3523 version = SPA_VERSION;
3525 ASSERT(SPA_VERSION_IS_SUPPORTED(version));
3529 spa->spa_uberblock.ub_version = version;
3638 sizeof (uint64_t), 1, &version, tx) != 0) {
3639 cmn_err(CE_PANIC, "failed to add pool version");
3642 /* Newly created pools with the right version are always deflated. */
3643 if (version >= SPA_VERSION_RAIDZ_DEFLATE) {
3671 if (version >= SPA_VERSION_ZPOOL_HISTORY)
5993 * If we're upgrading the spa version then make sure that
5994 * the config object gets updated with the correct version.
6012 uint64_t version = *versionp;
6016 * Setting the version is special cased when first creating the pool.
6020 ASSERT(SPA_VERSION_IS_SUPPORTED(version));
6021 ASSERT(version >= spa_version(spa));
6023 spa->spa_uberblock.ub_version = version;
6025 spa_history_log_internal(spa, "set", tx, "version=%lld", version);
6067 * The version is synced seperatly before other
6175 * reflect the new version this txg, so there must be no changes this
6577 spa_upgrade(spa_t *spa, uint64_t version)
6585 * future version would result in an unopenable pool, this shouldn't be
6589 ASSERT3U(version, >=, spa->spa_uberblock.ub_version);
6591 spa->spa_uberblock.ub_version = version;