mirror_zfs/module/zstd/include
Rich Ercolani 72a989cf60 Fix cross-endian interoperability of zstd
It turns out that layouts of union bitfields are a pain, and the
current code results in an inconsistent layout between BE and LE
systems, leading to zstd-active datasets on one erroring out on
the other.

Switch everyone over to the LE layout, and add compatibility code
to read both.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12008
Closes #12022
2021-09-14 15:05:55 -07:00
..
aarch64_compat.h Add zstd support to zfs 2020-08-20 10:30:06 -07:00
limits.h Add zstd support to zfs 2020-08-20 10:30:06 -07:00
sparc_compat.h Fix cross-endian interoperability of zstd 2021-09-14 15:05:55 -07:00
stddef.h Add zstd support to zfs 2020-08-20 10:30:06 -07:00
stdint.h Add zstd support to zfs 2020-08-20 10:30:06 -07:00
stdio.h Add zstd support to zfs 2020-08-20 10:30:06 -07:00
stdlib.h Add zstd support to zfs 2020-08-20 10:30:06 -07:00
string.h Add zstd support to zfs 2020-08-20 10:30:06 -07:00
zstd_compat_wrapper.h Fix various typos 2021-04-07 13:27:11 -07:00