Home
last modified time | relevance | path

Searched full:upgrade (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/upgrade/
H A Dupgrade_projectquota_001_pos.ksh27 . $STF_SUITE/tests/functional/upgrade/upgrade_common.kshlib
32 # Check whether zfs upgrade for project quota works or not.
34 # will create multiple datasets and try different upgrade methods.
39 # 3. Make sure automatic upgrade work
40 # 4. Make sure manual upgrade work
49 log_assert "pool upgrade for projectquota should work"
72 # set projectquota before upgrade will fail
75 # set projectobjquota before upgrade will fail
78 # 'chattr -p' should fail before upgrade
81 # 'chattr +P' should fail before upgrade
[all …]
H A Dupgrade_userobj_001_pos.ksh28 . $STF_SUITE/tests/functional/upgrade/upgrade_common.kshlib
33 # Check that zfs upgrade for object count accounting works.
35 # will create multiple dataset and try different upgrade method.
40 # 3. Make sure automatic upgrade work
41 # 4. Make sure manual upgrade work
46 log_assert "pool upgrade for userobj accounting should work"
62 # Upgrade zpool to support all features
63 log_must zpool upgrade $TESTPOOL
67 log_fail "userobj accounting should be disabled after pool upgrade"
69 # Create a file in fs1 should trigger dataset upgrade
[all …]
/freebsd/sys/contrib/openzfs/man/man8/
H A Dzfs-upgrade.837 .Nm zfs-upgrade
41 .Cm upgrade
43 .Cm upgrade
46 .Cm upgrade
55 .Cm upgrade
60 .Cm upgrade
66 .Cm upgrade
88 Upgrade to
90 If not specified, upgrade to the most recent version.
95 Upgrade all file systems on all imported pools.
[all …]
H A Dzpool-upgrade.835 .Nm zpool-upgrade
39 .Cm upgrade
41 .Cm upgrade
44 .Cm upgrade
52 .Cm upgrade
58 .Nm zpool Cm upgrade Fl a
64 .Cm upgrade
73 .Cm upgrade
85 then no upgrade will take place.
99 Upgrade to the specified legacy version.
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/
H A Dzpool_upgrade_009_neg.ksh38 # Zpool upgrade -V shouldn't be able to upgrade a pool to an unknown version
42 # 2. Attempt to upgrade it to an unknown version
43 # 3. Verify that the upgrade failed, and the pool version was still the original
63 "Zpool upgrade -V shouldn't be able to upgrade a pool to an unknown version"
65 $ZPOOL upgrade --help 2>&1 | $GREP "V version" > /dev/null
68 log_unsupported "Zpool upgrade -V not supported on this release."
77 # Attempt to upgrade it
78 log_mustnot $ZPOOL upgrade -V 999 $pool
79 log_mustnot $ZPOOL upgrade -V 999
86 "Zpool upgrade -V shouldn't be able to upgrade a pool to an unknown version"
H A Dzpool_upgrade.cfg33 # work out which types of pool we should be able to upgrade on this
166 # whether upgrade, import or other tests that should fail against unknown
174 # upgrade, for each pool version. Once we've built this variable, we'll
178 # we should be able to upgrade pools of version 1
183 # we should be able to upgrade pools of version 1 & 2
188 # we should be able to upgrade pools of version 1, 2 & 3
194 # we should be able to upgrade pools of version 1, 2, 3 & 4
200 # we should be able to upgrade pools up to version 5
206 # we should be able to upgrade pools up to version 6
212 # we should be able to upgrade pools up to version 7
[all …]
H A Dzpool_upgrade_008_pos.ksh38 # Zpool upgrade should be able to upgrade pools to a given version using -V
45 # 3. Attempt to upgrade that pool to the given version
66 "Zpool upgrade should be able to upgrade pools to a given version using -V"
68 $ZPOOL upgrade --help 2>&1 | $GREP "V version" > /dev/null
71 log_unsupported "Zpool upgrade -V not supported on this release."
76 # enough to determine if upgrade works correctly. Also set a MAX_VER
78 # a zpool upgrade operation to succeed from. (latest version - 1)
88 log_must $ZPOOL upgrade -V $NEXT $pool
94 "Zpool upgrade should be able to upgrade pools to a given version using -V"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/
H A Dzpool_upgrade_009_neg.ksh38 # zpool upgrade -V shouldn't be able to upgrade a pool to an unknown version
42 # 2. Attempt to upgrade it to an unknown version
43 # 3. Verify that the upgrade failed, and the pool version was still the original
53 log_assert "zpool upgrade -V shouldn't be able to upgrade a pool to" \
60 log_mustnot zpool upgrade -V 999 $pool_name
61 log_mustnot zpool upgrade -V 999
65 log_pass "zpool upgrade -V shouldn't be able to upgrade a pool to" \
H A Dzpool_upgrade_008_pos.ksh39 # zpool upgrade should be able to upgrade pools to a given version using -V
46 # 3. Attempt to upgrade that pool to the given version
57 log_assert "zpool upgrade should be able to upgrade pools to a given version" \
63 # enough to determine if upgrade works correctly. Also set a MAX_VER
65 # a zpool upgrade operation to succeed from.
74 log_must eval 'zpool upgrade -V $ver_new $pool_name > /dev/null'
79 log_pass "zpool upgrade should be able to upgrade pools to a given version" \
H A Dzpool_upgrade_001_pos.ksh37 # Executing 'zpool upgrade -v' command succeeds, prints a description of legacy
53 log_assert "Executing 'zpool upgrade -v' command succeeds"
58 log_must zpool upgrade -v
63 log_must eval "zpool upgrade -v | head -1 | grep 'feature flags'"
65 zpool upgrade -v > $versions
68 # Current output for 'zpool upgrade -v' has different indent space
78 log_pass "Executing 'zpool upgrade -v' command succeeds"
H A Dzpool_upgrade_004_pos.ksh37 # zpool upgrade -a works
40 # 1. Create all upgradable pools for this system, then upgrade -a
53 log_assert "zpool upgrade -a works"
66 # upgrade them all at once
68 log_must zpool upgrade -a
83 log_pass "zpool upgrade -a works"
H A Dzpool_upgrade.kshlib65 # A function to check the contents of a pool, upgrade it to the current version
68 # to also upgrade faulted, or degraded pools.
78 log_note "Checking if we can upgrade from ZFS version $vers"
80 log_must zpool upgrade $pool_name
108 # (ie. pre or post pool-upgrade)
119 # as reported by zdb and zpool upgrade -v
134 # check version using zpool upgrade
135 actual=$(zpool upgrade | awk -v p="$pool$" '$0 ~ p {gsub(/ /, "", $1); print $1}')
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/
H A Dzpool_upgrade_001_neg.ksh38 # zpool upgrade returns an error when run as a user
42 # 1. Attempt to upgrade a pool
48 log_assert "zpool upgrade returns an error when run as a user"
50 # zpool upgrade returns 0 when it can't do anything
51 log_must zpool upgrade $TESTPOOL.virt
53 # Now try to upgrade our version 1 pool
54 log_mustnot zpool upgrade v1-pool
57 # of zpool upgrade anymore
58 RESULT=$(zpool upgrade | grep v1-pool)
64 log_pass "zpool upgrade returns an error when run as a user"
H A Dzfs_upgrade_001_neg.ksh38 # zfs upgrade returns an error when run as a user
41 # 1. Attempt to upgrade a version1 dataset
46 # check to see if we have upgrade capability
47 zfs upgrade > /dev/null 2>&1
51 log_unsupported "Zfs upgrade not supported"
54 log_assert "zfs upgrade returns an error when run as a user"
57 log_mustnot zfs upgrade $TESTPOOL/$TESTFS/version1
60 VERSION=$(zfs upgrade $TESTPOOL/$TESTFS/version1 2>&1 \
67 log_pass "zfs upgrade returns an error when run as a user"
/freebsd/tests/sys/cddl/zfs/tests/cli_user/misc/
H A Dzpool_upgrade_001_neg.ksh38 # zpool upgrade returns an error when run as a user
42 # 1. Attempt to upgrade a pool
57 log_assert "zpool upgrade returns an error when run as a user"
60 # zpool upgrade returns 0 when it can't do anything
61 log_must run_unprivileged "$ZPOOL upgrade $TESTPOOL.virt"
63 # Now try to upgrade our version 1 pool
64 log_mustnot run_unprivileged "$ZPOOL upgrade v1-pool"
67 # of zpool upgrade anymore
68 RESULT=$($ZPOOL upgrade | $GREP v1-pool)
74 log_pass "zpool upgrade returns an error when run as a user"
H A Dzfs_upgrade_001_neg.ksh38 # zfs upgrade returns an error when run as a user
41 # 1. Attempt to upgrade a version1 dataset
55 # check to see if we have upgrade capability
56 $ZFS upgrade > /dev/null 2>&1
60 log_unsupported "Zfs upgrade not supported"
63 log_assert "zfs upgrade returns an error when run as a user"
66 log_mustnot run_unprivileged "$ZFS upgrade $TESTPOOL/$TESTFS/version1"
69 VERSION=$($ZFS upgrade $TESTPOOL/$TESTFS/version1 2>&1 \
76 log_pass "zfs upgrade returns an error when run as a user"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/
H A Dzfs_upgrade_001_pos.ksh36 # Executing 'zfs upgrade' command succeeds, it should report
43 # 2. Execute 'zfs upgrade', verify return 0, and it prints out
45 # 3. Remove all old-version filesystems, then execute 'zfs upgrade' again,
63 log_assert "Executing 'zfs upgrade' command succeeds."
74 zfs upgrade | awk '$1 ~ "^[0-9]+$" {print $2}'> $oldoutput
97 log_must eval 'zfs upgrade > $output 2>&1'
102 zfs upgrade | awk '$1 ~ "^[0-9]+$" {print $2}'> $output
120 log_must eval 'zfs upgrade > $output 2>&1'
127 zfs upgrade | awk '$1 ~ "^[0-9]+$" {print $2}'> $output
135 log_pass "Executing 'zfs upgrade' command succeeds."
H A Dzfs_upgrade_003_pos.ksh37 # Executing 'zfs upgrade [-V version] filesystem' command succeeds,
38 # it could upgrade a filesystem to specific version or current version.
42 # 2. Execute 'zfs upgrade [-V version] filesystem', verify return 0,
70 log_assert "Executing 'zfs upgrade [-V version] filesystem' command succeeds."
92 log_must eval 'zfs upgrade $opt $fs > /dev/null 2>&1'
95 log_mustnot eval 'zfs upgrade $opt $fs > /dev/null 2>&1'
102 log_pass "Executing 'zfs upgrade [-V version] filesystem' command succeeds."
H A Dzfs_upgrade_002_pos.ksh37 # Executing 'zfs upgrade -v ' command succeeds, it should
41 # 1. Execute 'zfs upgrade -v', verify return value is 0.
54 log_assert "Executing 'zfs upgrade -v' command succeeds."
61 log_must eval 'zfs upgrade -v > /dev/null 2>&1'
63 zfs upgrade -v | awk '$1 ~ "^[0-9]+$" {print $0}'> $output
67 log_pass "Executing 'zfs upgrade -v' command succeeds."
H A Dzfs_upgrade_005_pos.ksh37 # Executing 'zfs upgrade [-V version] -a' command succeeds,
38 # it upgrade all filesystems to specific or current version.
42 # 2. Execute 'zfs upgrade [-V version] -a', verify return 0,
77 log_assert "Executing 'zfs upgrade [-V version] -a' command succeeds."
97 log_must zfs upgrade $opt -a
106 log_pass "Executing 'zfs upgrade [-V version] -a' command succeeds."
/freebsd/contrib/jemalloc/
H A DFREEBSD-upgrade4 # ./FREEBSD-upgrade <command> [args]
19 # ./FREEBSD-upgrade merge-changes
20 # ./FREEBSD-upgrade rediff
24 # ./FREEBSD-upgrade extract <rev>
29 # ./FREEBSD-upgrade rediff
30 # ./FREEBSD-upgrade extract <rev>
35 # ./FREEBSD-upgrade rediff
36 # ./FREEBSD-upgrade extract <rev>
44 # ./FREEBSD-upgrade clean
49 if [ ! -x "FREEBSD-upgrade" ] ; then
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/
H A Dzfs_upgrade_001_pos.ksh36 # Executing 'zfs upgrade' command succeeds, it should report
43 # 2. Execute 'zfs upgrade', verify return 0, and it prints out
45 # 3. Remove all old-version filesystems, then execute 'zfs upgrade' again,
74 log_assert "Executing 'zfs upgrade' command succeeds."
85 $ZFS upgrade | $NAWK '$1 ~ "^[0-9]+$" {print $2}'> $oldoutput
108 log_must eval '$ZFS upgrade > $output 2>&1'
113 $ZFS upgrade | $NAWK '$1 ~ "^[0-9]+$" {print $2}'> $output
133 log_must eval '$ZFS upgrade > $output 2>&1'
140 $ZFS upgrade | $NAWK '$1 ~ "^[0-9]+$" {print $2}'> $output
148 log_pass "Executing 'zfs upgrade' command succeeds."
H A Dzfs_upgrade_003_pos.ksh36 # Executing 'zfs upgrade [-V version] filesystem' command succeeds,
37 # it could upgrade a filesystem to specific version or current version.
41 # 2. Execute 'zfs upgrade [-V version] filesystem', verify return 0,
80 log_assert "Executing 'zfs upgrade [-V version] filesystem' command succeeds."
102 log_must eval '$ZFS upgrade $opt $fs > /dev/null 2>&1'
105 log_mustnot eval '$ZFS upgrade $opt $fs > /dev/null 2>&1'
112 log_pass "Executing 'zfs upgrade [-V version] filesystem' command succeeds."
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAutoUpgrade.h50 /// This is an auto-upgrade hook for any old intrinsic function syntaxes
64 /// Convert calls to ARC runtime functions to intrinsic calls and upgrade the
74 /// corresponding to the upgrade to the struct-path aware TBAA format.
78 /// This is an auto-upgrade for bitcast between pointers with different
83 /// This is an auto-upgrade for bitcast constant expression between pointers
97 /// Upgrade the loop attachment metadata node.
100 /// Upgrade the datalayout string by adding a section for address space
104 /// Upgrade attributes that changed format or kind.
107 /// Upgrade operand bundles (without knowing about their user instruction).
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_clone/
H A Dzfs_clone_007_pos.ksh35 # 'zfs clone -o version=' could upgrade version, but downgrade is denied.
39 # 2. Verify it succeed while upgrade, but fails while the version downgraded.
51 if ! $(check_opt_support "upgrade") ; then
52 log_unsupported "'zfs upgrade' unsupported."
59 ZFS_VERSION=$($ZFS upgrade | $HEAD -1 | $AWK '{print $NF}' \
73 log_assert "'zfs clone -o version=' could upgrade version," \
100 log_pass "'zfs clone -o version=' could upgrade version," \

12345678910>>...18