mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 04:07:45 +03:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user