You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is periodically observed while running ztest -V.
5 vdevs, 7 datasets, 23 threads, 300 seconds...
Pass 1, SIGKILL, 0 ENOSPC, 0.3% of 238M used, 4% done, 4m48s to go
ztest: pack/bigT mismatch in 0x7f40b806cc10/0x7f40b80d17f8
child died with signal 6
The text was updated successfully, but these errors were encountered:
Endianness detection in LZ4 is broken in user-space builds. This
bug corrupts compressed data and manifests itself in several ztest
failures. When LZ4 was originally ported to Illumos ZFS, the proper
checks for Linux were stripped out. The Linux port then inherited
the remaining detection code that works on Illumos but not on Linux.
The current LZ4 endianness check misuses the condition
defined(__BIG_ENDIAN) to indicate a big-endian system. On Linux
__BIG_ENDIAN is defined uncondtionally in the user-space header
/usr/include/endian.h, regardless of the endianness of the system.
The kernel does not use this header, so only user-space builds are
affected.
While we could fix this by restoring the upstream LZ4 endianness
detection code, reliable checks already exist in
libspl/include/sys/isa_defs.h. This change uses the libspl results
to replace the word-size and endianness checks in LZ4, simplifying
the code and reducing duplication.
Fixesopenzfs#1963Fixesopenzfs#1964Fixesopenzfs#1965
Signed-off-by: Ned Bass <bass6@llnl.gov>
The following error is periodically observed while running
ztest -V
.The text was updated successfully, but these errors were encountered: