History log of /freebsd-current/sys/contrib/zstd/programs/fileio.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 5ff13fbc 27-Jan-2023 Allan Jude <allanjude@FreeBSD.org>

MFV: zstd 1.5.2

Merge commit 'b3392d84da5bf2162baf937c77e0557f3fd8a52b' into zstd_1.5.2

full changelog: https://github.com/facebook/zstd/compare/v1.4.8...v1.5.2

Updated sys/kern/subr_compressor.c to new API

MFC after: 3 days
Relnotes: yes
Sponsored by: Klara, Inc.


# f7cd7fe5 25-Dec-2020 Conrad Meyer <cem@FreeBSD.org>

sys/contrib/zstd: Import zstd 1.4.8

Merge commit 'f6ae97673c28bdb9ae795bd235ab6f26f2536a2d' into main

Changes from 1.4.5:
* https://github.com/facebook/zstd/releases/tag/v1.4.8
* https://github.com/facebook/zstd/releases/tag/v1.4.7
(and there was no public v1.4.6)

Conflicts:
sys/contrib/zstd/lib/common/zstd_internal.h (new ZSTD_NO_INTRINSICS)


# 37f1f268 23-May-2020 Conrad Meyer <cem@FreeBSD.org>

Update to Zstandard 1.4.5

As usual, the full release notes are found on Github:

https://github.com/facebook/zstd/releases/tag/v1.4.5

Notable changes include:

* Improved decompress performance on amd64 and arm (5-10%
and 15-50%, respectively).
* '--patch-from' zstd(1) CLI option, which provides something like a very fast
version of bspatch(1) with slightly worse compression. See release notes.

In this update, I dropped the 3-year old -O0 workaround for an LLVM ARM bug;
the bug was fixed in LLVM SVN in 2017, but we didn't remove this workaround
from our tree until now.

MFC after: I won't, but feel free
Relnotes: yes


# 9cbefe25 16-Nov-2019 Conrad Meyer <cem@FreeBSD.org>

Update to Zstandard 1.4.4

The full release notes can be found on Github:

https://github.com/facebook/zstd/releases/tag/v1.4.4

Notable changes in this release include improved decompression speed (about
10%). See the Github release notes for more details.

MFC after: I'm not going to, but feel free
Relnotes: yes


# 4d3f1eaf 08-Aug-2019 Conrad Meyer <cem@FreeBSD.org>

Update to Zstandard 1.4.2

The full release notes for 1.4.1 (skipped) and 1.4.2 can be found on Github:

https://github.com/facebook/zstd/releases/tag/v1.4.1
https://github.com/facebook/zstd/releases/tag/v1.4.2

These are mostly minor updates; 1.4.1 purportedly brings something like 7%
faster decompression speed.

Relnotes: yes


# 2b9c00cb 18-Apr-2019 Conrad Meyer <cem@FreeBSD.org>

Update to Zstandard 1.4.0

The full release notes can be found on Github:

https://github.com/facebook/zstd/releases/tag/v1.4.0

Relnotes: yes


# a0483764 29-Dec-2018 Conrad Meyer <cem@FreeBSD.org>

Update to Zstandard 1.3.8

This merge brings in a couple new files, which needed to be attached to the
build; a new dependency on <limits.h>, which must be stubbed; and a name
change in the Context parameter constants, from ZSTD_p_foo to ZSTD_c_foo.

Significantly, it fixes a kernel build error with GCC where floating-point
functions were included in the kernel build, by hiding them under the same
compile-time #ifdef that already covered their invocation. That issue was
introduced to FreeBSD in the 1.3.7 update and tracked upstream here:

https://github.com/facebook/zstd/issues/1386

The full 1.3.8 release notes can be found on Github:

https://github.com/facebook/zstd/releases/tag/v1.3.8

Relnotes: yes


# 0f743729 22-Oct-2018 Conrad Meyer <cem@FreeBSD.org>

Update to Zstandard 1.3.7

Relnotes: yes
Sponsored by: Dell EMC Isilon

# 19fcbaf1 26-Mar-2018 Conrad Meyer <cem@FreeBSD.org>

Update to Zstandard 1.3.4

Includes our local patch to conditionalize use of __builtin_clz(ll) on
Clang's __has_builtin() (which is just defined to false when building with
GCC).

The issue is tracked upstream at https://github.com/facebook/zstd/pull/884 .
Otherwise, these are vanilla Zstandard 1.3.4 files.

Reported by: allanjude, Yann Collet
Sponsored by: Dell EMC Isilon

# 052d3c12 13-Mar-2018 Conrad Meyer <cem@FreeBSD.org>

Update to Zstandard 1.3.3

Includes patch to conditionalize use of __builtin_clz(ll) on __has_builtin().
The issue is tracked upstream at https://github.com/facebook/zstd/pull/884 .
Otherwise, these are vanilla Zstandard 1.3.3 files.

Note that the 1.3.4 release should be due out soon.

Sponsored by: Dell EMC Isilon

# af3415f1 05-Mar-2018 Conrad Meyer <cem@FreeBSD.org>

MFV: zstd: FIO_addFInfo: Fully initialize output 'total' struct

Silence a Coverity warning about 'windowSize' being uninitialized.
(Yes, nothing that calls this routine actually uses the windowSize
value. Still, appeasing Coverity is pretty harmless in this case.)

Reported by: Coverity
Reviewed by: Yann Collet
Obtained from: zstd 606374269cf3485972c90b993fbb84dc20da032f
Sponsored by: Dell EMC Isilon

# 1ad8ac7a 06-Dec-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Revert local changes made to make zstd(1) frontend behave like gzip(1) and friends

This change was made to allow zstd(1) to be a dropin replacement for gzip(1) and
friends, allowing easy integration, in particular with newsyslog(8). At the
price of having a zstd(1) command which by default behaves differently than what
upstream default, confusing users.

newsyslog(8) has been adapted to now be more flexible in what it accepts as
compression program, so we can switch back zstd(1) to its default behaviour

Reported by: many

# 0c16b537 13-Nov-2017 Warner Losh <imp@FreeBSD.org>

Move zstd from contrib to sys/contrib so it can be used in the
kernel. Adjust the Makefiles that referenced it to the new path.

Sponsored by: Netflix
OK'd by: cem@ and AllanJude@

# 0f743729 22-Oct-2018 Conrad Meyer <cem@FreeBSD.org>

Update to Zstandard 1.3.7

Relnotes: yes
Sponsored by: Dell EMC Isilon


# 19fcbaf1 26-Mar-2018 Conrad Meyer <cem@FreeBSD.org>

Update to Zstandard 1.3.4

Includes our local patch to conditionalize use of __builtin_clz(ll) on
Clang's __has_builtin() (which is just defined to false when building with
GCC).

The issue is tracked upstream at https://github.com/facebook/zstd/pull/884 .
Otherwise, these are vanilla Zstandard 1.3.4 files.

Reported by: allanjude, Yann Collet
Sponsored by: Dell EMC Isilon


# 052d3c12 13-Mar-2018 Conrad Meyer <cem@FreeBSD.org>

Update to Zstandard 1.3.3

Includes patch to conditionalize use of __builtin_clz(ll) on __has_builtin().
The issue is tracked upstream at https://github.com/facebook/zstd/pull/884 .
Otherwise, these are vanilla Zstandard 1.3.3 files.

Note that the 1.3.4 release should be due out soon.

Sponsored by: Dell EMC Isilon


# af3415f1 05-Mar-2018 Conrad Meyer <cem@FreeBSD.org>

MFV: zstd: FIO_addFInfo: Fully initialize output 'total' struct

Silence a Coverity warning about 'windowSize' being uninitialized.
(Yes, nothing that calls this routine actually uses the windowSize
value. Still, appeasing Coverity is pretty harmless in this case.)

Reported by: Coverity
Reviewed by: Yann Collet
Obtained from: zstd 606374269cf3485972c90b993fbb84dc20da032f
Sponsored by: Dell EMC Isilon


# 1ad8ac7a 06-Dec-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Revert local changes made to make zstd(1) frontend behave like gzip(1) and friends

This change was made to allow zstd(1) to be a dropin replacement for gzip(1) and
friends, allowing easy integration, in particular with newsyslog(8). At the
price of having a zstd(1) command which by default behaves differently than what
upstream default, confusing users.

newsyslog(8) has been adapted to now be more flexible in what it accepts as
compression program, so we can switch back zstd(1) to its default behaviour

Reported by: many


# 0c16b537 13-Nov-2017 Warner Losh <imp@FreeBSD.org>

Move zstd from contrib to sys/contrib so it can be used in the
kernel. Adjust the Makefiles that referenced it to the new path.

Sponsored by: Netflix
OK'd by: cem@ and AllanJude@