Default to ON for compression

A simple change, but so many tests break with it,
and those are the majority of this.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #13078
This commit is contained in:
Rich Ercolani
2022-03-03 13:43:38 -05:00
committed by GitHub
parent 29a0ffe795
commit 56fa4aa96e
39 changed files with 124 additions and 43 deletions
@@ -56,11 +56,14 @@ function cleanup
datasetexists $TESTPOOL/$TESTCTR/$TESTFS1 && \
log_must zfs set quota=none $TESTPOOL/$TESTCTR/$TESTFS1
zfs inherit compression $TESTPOOL
}
log_assert "Verify creating/destroying snapshots do things clean"
log_onexit cleanup
log_must zfs set compression=off $TESTPOOL
log_must zfs set quota=$FSQUOTA $TESTPOOL/$TESTCTR/$TESTFS1
log_must mkfile $FILESIZE $TESTDIR1/$TESTFILE