From ae098a191c0ddddffe491c503d86ebf8a79e96c4 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 30 Jul 2021 13:34:15 +0200 Subject: [PATCH] api: disks: allow zstd compression for zfs pools Signed-off-by: Dominik Csapak --- 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', },