# 4. A file moved in the clone does not redact the file.
# 5. A copied, then removed file in the clone redacts the whole file.
# 6. Overwriting a file with identical contents redacts the file.
-# 7. A paritally modified block redacts the entire block.
+# 7. A partially modified block redacts the entire block.
# 8. Only overlapping areas of modified ranges are redacted.
# 9. Send from the root dataset of a pool work correctly.
#
#
# We have temporarily disabled redaction blkptrs, so this will not
# fail as was originally intended. We should uncomment this line
-# when we reenable redaction blkptrs.
+# when we re-enable redaction blkptrs.
#
#log_mustnot dd if=$recv_mnt/f1 of=/dev/null bs=512 count=1
log_must diff $send_mnt/f2 $recv_mnt/f2
# 1. Create a pool with all features disabled.
# 2. Verify redacted send fails.
# 3. Enable redaction_bookmarks and verify redacted sends works.
-# 4. Verify recepit of a redacted stream fails.
+# 4. Verify receipt of a redacted stream fails.
# 5. Enable recacted_datasets and verify zfs receive works.
#
# 3. Fill the filesystem with directories and files.
# 4. Record all the files and directories checksum information.
# 5. Damaged one of the virtual disk file.
-# 6. Verify the data is correct to prove raidz can withstand 1 devicd is
+# 6. Verify the data is correct to prove raidz can withstand 1 device is
# failing.
#
# space outside of this refreservation.
#
# STRATEGY:
-# 1. Setting quota and refservation
+# 1. Setting quota and refreservation
# 2. Verify snapshot can be created, when used =< quota - refreserv
# 3. Verify failed to create snapshot, when used > quota - refreserv
#
log_note "sizes=$(print -C sizes)"
#
-# Helper furnction for checking that refreservation is calculated properly in
+# Helper function for checking that refreservation is calculated properly in
# multi-vdev pools. "Properly" is defined as assuming that all vdevs are as
# space inefficient as the worst one.
#
#
# Normally, we expect nopwrites to avoid allocating new blocks, but
# after a device has been removed the DVAs will get remapped when
-# a L0's indirect bloock is written. This will negate the effects
+# a L0's indirect block is written. This will negate the effects
# of nopwrite and should result in new allocations.
#
#
# Due to the way space is consumed and released by metadata we
- # can't do an exact check here, but we do do a basic sanity
+ # can't do an exact check here, but we do a basic sanity
# check.
#
log_must within_limits $space_avail $new_space_avail $RESV_TOLERANCE
#
# We set the reservations now, rather than when we created the filesystems
-# to allow us to take into account space used by the filsystem metadata
+# to allow us to take into account space used by the filesystem metadata
#
# Note we don't set a reservation on the first filesystem we created,
# hence num=1 rather than zero below.
}
#
-# Output inherited properties whitch is edited for file system
+# Output inherited properties which is edited for file system
#
function fs_inherit_prop
{