]> git.proxmox.com Git - mirror_zfs.git/commit
Import ZStandard v1.4.5
authorMichael Niewöhner <foss@mniewoehner.de>
Tue, 18 Aug 2020 17:10:10 +0000 (19:10 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 20 Aug 2020 17:30:06 +0000 (10:30 -0700)
commitdc544aba15758f7fbf55ef6a95ae8b93e241c533
tree139d7d6d655fc0d6dd34927769fe5c6bc4581d9a
parent772c69d230b34bab1aaab800b1f95010e237862f
Import ZStandard v1.4.5

ZStandard is a modern, high performance, general compression algorithm.
It provides similar or better compression levels to GZIP, but with much
better performance. ZStandard provides a large selection of compression
levels to allow a storage administrator to select the preferred
performance/compression trade-off.

This commit imports the unmodified ZStandard single-file library which
will be used by ZFS.

The implementation of this new library is done with future updates of
zstd in mind. For this reason we integrated the code in a way, that does
not require modifications to the library. For more details, see
`module/zstd/README.md`.

The library is excluded from codecov calculation and cppcheck as
unaltered dependencies do not need full codecov or cppcheck.

Co-authored-by: Allan Jude <allanjude@freebsd.org>
Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
Co-authored-by: Michael Niewöhner <foss@mniewoehner.de>
Signed-off-by: Allan Jude <allanjude@freebsd.org>
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Makefile.am
config/ax_code_coverage.m4
cppcheck-suppressions.txt
module/zstd/lib/zstd.c [new file with mode: 0644]
module/zstd/lib/zstd.h [new file with mode: 0644]
module/zstd/lib/zstd_errors.h [new file with mode: 0644]
module/zstd/zstd-in.c [new file with mode: 0644]