diff options
author | Alexander Motin <mav@FreeBSD.org> | 2015-08-09 20:02:16 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2015-08-09 20:02:16 +0000 |
commit | 4ff9527edc1a19cf88ca927f5fa0277c52ef3537 (patch) | |
tree | ba0d0ed7e0edc2b9b1b61f0c5b65c85033f2e44a /cddl | |
parent | 98341359473eceae8c60d3a1329bee2bf2fcb950 (diff) | |
download | src-4ff9527edc1a19cf88ca927f5fa0277c52ef3537.tar.gz src-4ff9527edc1a19cf88ca927f5fa0277c52ef3537.zip |
MFV 286546:
5661 ZFS: "compression = on" should use lz4 if feature is enabled
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Xin LI <delphij@freebsd.org>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Justin T. Gibbs <justing@spectralogic.com>
illumos/illumos-gate@db1741f555ec79def5e9846e6bfd132248514ffe
Notes
Notes:
svn path=/head/; revision=286547
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/contrib/opensolaris/cmd/zfs/zfs.8 | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/cmd/zfs/zfs.8 b/cddl/contrib/opensolaris/cmd/zfs/zfs.8 index b7d9ac097a50..2254de177288 100644 --- a/cddl/contrib/opensolaris/cmd/zfs/zfs.8 +++ b/cddl/contrib/opensolaris/cmd/zfs/zfs.8 @@ -939,7 +939,23 @@ Disabling checksums is .Em NOT a recommended practice. .It Sy compression Ns = Ns Cm on | off | lzjb | gzip | gzip- Ns Ar N | Cm zle | Cm lz4 -Controls the compression algorithm used for this dataset. The +Controls the compression algorithm used for this dataset. +Setting compression to +.Cm on +indicates that the current default compression algorithm should be used. +The default balances compression and decompression speed, with compression +ratio and is expected to work well on a wide variety of workloads. +Unlike all other settings for this property, on does not select a fixed +compression type. +As new compression algorithms are added to ZFS and enabled on a pool, the +default compression algorithm may change. +The current default compression algorthm is either +.Cm lzjb +or, if the +.Sy lz4_compress +feature is enabled, +.Cm lz4 . +The .Cm lzjb compression algorithm is optimized for performance while providing decent data compression. Setting compression to |