Fix various typos

Correct an assortment of typos throughout the code base.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Closes #11774
This commit is contained in:
Andrea Gelmini
2021-04-02 18:38:53 -07:00
committed by Brian Behlendorf
parent 943df59ed9
commit bf169e9f15
57 changed files with 75 additions and 75 deletions
@@ -19,7 +19,7 @@
# snapshots from the same datasets
#
# STRATEGY
# 1. Create multiple snapshots for the same datset
# 1. Create multiple snapshots for the same dataset
# 2. Run zfs destroy for these snapshots for a mix of valid and
# invalid snapshot names
# 3. Run zfs destroy for snapshots from different datasets and
@@ -36,7 +36,7 @@ typeset VDEV_PREFIX="$TEST_BASE_DIR/filedev"
# STRATEGY:
# 1. Create different storage pools, use -n to add devices to the pool and
# verify the output is as expected.
# 2. Create a pool whith a hole vdev and verify it's not listed with add -n.
# 2. Create a pool with a hole vdev and verify it's not listed with add -n.
#
typeset -a dev=(
@@ -163,7 +163,7 @@ for (( i=0; i < ${#tests[@]}; i+=1 )); do
log_must destroy_pool "$TESTPOOL"
done
# Make sure hole vdevs are skiped in output.
# Make sure hole vdevs are skipped in output.
log_must eval "zpool create '$TESTPOOL' '${dev[0]}' log '${dev[1]}' \
cache '${dev[2]}'"
@@ -74,7 +74,7 @@ else
fi
#
# datsets ordered by checksum options (note, Orange, Carrot & Banana have the
# datasets ordered by checksum options (note, Orange, Carrot & Banana have the
# same checksum options, so ZFS should revert to sorting them alphabetically by
# name)
#
@@ -30,7 +30,7 @@
#
# STRATEGY:
# 1. Change HOME to /var/tmp
# 2. Make a simple script that echos a key value pair
# 2. Make a simple script that echoes a key value pair
# in /var/tmp/.zpool.d
# 3. Make sure it can be run with -c
# 4. Remove the script we created
@@ -30,7 +30,7 @@
#
# STRATEGY:
# 1. Set ZPOOL_SCRIPTS_PATH to contain a couple of non-default dirs
# 2. Make a simple script that echos a key value pair in each dir
# 2. Make a simple script that echoes a key value pair in each dir
# 3. Make sure scripts can be run with -c
# 4. Remove the scripts we created
@@ -30,7 +30,7 @@
#
# STRATEGY:
# 1. Change HOME to /var/tmp
# 2. Make a simple script that echos a key value pair
# 2. Make a simple script that echoes a key value pair
# in /var/tmp/.zpool.d
# 3. Make sure it can be run with -c
# 4. Remove the script we created
@@ -30,7 +30,7 @@
#
# STRATEGY:
# 1. Set ZPOOL_SCRIPTS_PATH to contain a couple of non-default dirs
# 2. Make a simple script that echos a key value pair in each dir
# 2. Make a simple script that echoes a key value pair in each dir
# 3. Make sure scripts can be run with -c
# 4. Remove the scripts we created
@@ -30,7 +30,7 @@
# STRATEGY:
# 1. Create a pool
# 2. Simulate physical removal of one device
# 3. Verify the device is unvailable
# 3. Verify the device is unavailable
# 4. Reattach the device
# 5. Verify the device is onlined
# 6. Repeat the same tests with a spare device:
@@ -104,7 +104,7 @@ do
log_must mkfile 1m $mntpnt/file
log_must zpool sync $TESTPOOL
# 3. Verify the device is unvailable.
# 3. Verify the device is unavailable.
log_must wait_vdev_state $TESTPOOL $removedev "UNAVAIL"
# 4. Reattach the device
@@ -44,7 +44,7 @@ function cleanup
rm -f ${VDEV_FILES[@]}
}
log_assert "Verify attach/detech with multiple vdevs"
log_assert "Verify attach/detach with multiple vdevs"
ORIG_SCAN_SUSPEND_PROGRESS=$(get_tunable SCAN_SUSPEND_PROGRESS)
@@ -79,7 +79,7 @@ for replace_mode in "healing" "sequential"; do
${VDEV_FILES[1]} ${VDEV_FILES[2]}
log_must is_pool_resilvering $TESTPOOL1
# Original vdev cannot be detached until there is sufficent redundancy.
# Original vdev cannot be detached until there is sufficient redundancy.
log_mustnot zpool detach $TESTPOOL1 ${VDEV_FILES[0]}
# Detach first vdev (resilver keeps running)
@@ -108,4 +108,4 @@ for replace_mode in "healing" "sequential"; do
log_must zpool wait $TESTPOOL1
done
log_pass "Verify attach/detech with multiple vdevs"
log_pass "Verify attach/detach with multiple vdevs"
@@ -26,7 +26,7 @@
# Strategy:
# 1. For both healing and sequential resilvering replace:
# a. Create a pool
# b. Repalce a vdev with 'zpool replace' to resilver (-s) it.
# b. Replace a vdev with 'zpool replace' to resilver (-s) it.
# c. Export the pool
# d. Import the pool
# e. Verify the 'zpool replace' resumed resilvering.
@@ -36,7 +36,7 @@
# a. Replace a vdev with a spare & suspend resilver immediately
# b. Verify resilver starts properly
# c. Offline / online another vdev to introduce a new DTL range
# d. Verify resilver restart restart or defer
# d. Verify resilver restart or defer
# e. Inject read errors on vdev that was offlined / onlned
# f. Verify that resilver did not restart
# g. Unsuspend resilver and wait for it to finish
@@ -39,7 +39,7 @@
# for a dataset. Unlike quotas however there should be no restrictions
# on accessing space outside of the limits of the reservation (if the
# space is available in the pool). Verify that in a filesystem with a
# reservation set that its possible to create files both within the
# reservation set that it's possible to create files both within the
# reserved space and also outside.
#
# STRATEGY: