[pve-devel] [PATCH storage 1/1] api: disks: allow zstd compression for zfs pools
Dominik Csapak
d.csapak at proxmox.com
Fri Jul 30 13:34:15 CEST 2021
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
PVE/API2/Disks/ZFS.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/API2/Disks/ZFS.pm b/PVE/API2/Disks/ZFS.pm
index b815ee7..0418794 100644
--- a/PVE/API2/Disks/ZFS.pm
+++ b/PVE/API2/Disks/ZFS.pm
@@ -316,7 +316,7 @@ __PACKAGE__->register_method ({
compression => {
type => 'string',
description => 'The compression algorithm to use.',
- enum => ['on', 'off', 'gzip', 'lz4', 'lzjb', 'zle'],
+ enum => ['on', 'off', 'gzip', 'lz4', 'lzjb', 'zle', 'zstd'],
optional => 1,
default => 'on',
},
--
2.30.2
More information about the pve-devel
mailing list