]> git.proxmox.com Git - pve-storage.git/commitdiff
api: disks: allow zstd compression for zfs pools
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 30 Jul 2021 11:34:15 +0000 (13:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 30 Jul 2021 13:21:01 +0000 (15:21 +0200)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Disks/ZFS.pm

index b815ee7443e39ebae737e557b3df6c5f77cdb790..04187946f238b8b41d387a2d2d519b1375b678ea 100644 (file)
@@ -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',
            },