From dbc1e204623b183c5703701fb15be075804ad6d7 Mon Sep 17 00:00:00 2001 From: Scott Dunlop Date: Thu, 31 Oct 2013 10:48:41 -0700 Subject: [PATCH] add "zle" as a supported ZFS compression type ZFS supports "zle" compression, which compresses runs of null bytes efficiently. --- library/system/zfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/system/zfs b/library/system/zfs index c213234bc4..91ace0a1a8 100644 --- a/library/system/zfs +++ b/library/system/zfs @@ -70,7 +70,7 @@ options: description: - The compression property. required: False - choices: ['on','off',lzjb,gzip,gzip-1,gzip-2,gzip-3,gzip-4,gzip-5,gzip-6,gzip-7,gzip-8,gzip-9,lz4] + choices: ['on','off',lzjb,gzip,gzip-1,gzip-2,gzip-3,gzip-4,gzip-5,gzip-6,gzip-7,gzip-8,gzip-9,lz4,zle] copies: description: - The copies property. @@ -338,7 +338,7 @@ def main(): 'canmount': {'required': False, 'choices':['on', 'off', 'noauto']}, 'casesensitivity': {'required': False, 'choices':['sensitive', 'insensitive', 'mixed']}, 'checksum': {'required': False, 'choices':['on', 'off', 'fletcher2', 'fletcher4', 'sha256']}, - 'compression': {'required': False, 'choices':['on', 'off', 'lzjb', 'gzip', 'gzip-1', 'gzip-2', 'gzip-3', 'gzip-4', 'gzip-5', 'gzip-6', 'gzip-7', 'gzip-8', 'gzip-9', 'lz4']}, + 'compression': {'required': False, 'choices':['on', 'off', 'lzjb', 'gzip', 'gzip-1', 'gzip-2', 'gzip-3', 'gzip-4', 'gzip-5', 'gzip-6', 'gzip-7', 'gzip-8', 'gzip-9', 'lz4', 'zle']}, 'copies': {'required': False, 'choices':['1', '2', '3']}, 'dedup': {'required': False, 'choices':['on', 'off']}, 'devices': {'required': False, 'choices':['on', 'off']},