mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +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:
@@ -4132,7 +4132,8 @@ class _TempPool(object):
|
||||
cachefile = 'none'
|
||||
self._zpool_create = [
|
||||
'zpool', 'create', '-o', 'cachefile=' + cachefile,
|
||||
'-O', 'mountpoint=legacy', self._pool_name, self._pool_file_path]
|
||||
'-O', 'mountpoint=legacy', '-O', 'compression=off',
|
||||
self._pool_name, self._pool_file_path]
|
||||
try:
|
||||
os.ftruncate(fd, size)
|
||||
os.close(fd)
|
||||
|
||||
Reference in New Issue
Block a user