mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Enable edonr in FreeBSD
The code is integrated, builds fine, runs fine, there's not really any reason not to. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Reviewed-by: Allan Jude <allan@klarasystems.com> Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Signed-off-by: Rich Ercolani <rincebrain@gmail.com> Closes #12735
This commit is contained in:
@@ -21,13 +21,11 @@ dist_pkgdata_DATA = \
|
||||
pkgexecdir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/checksum
|
||||
|
||||
pkgexec_PROGRAMS = \
|
||||
edonr_test \
|
||||
skein_test \
|
||||
sha2_test
|
||||
|
||||
skein_test_SOURCES = skein_test.c
|
||||
sha2_test_SOURCES = sha2_test.c
|
||||
|
||||
if BUILD_LINUX
|
||||
pkgexec_PROGRAMS += edonr_test
|
||||
edonr_test_SOURCES = edonr_test.c
|
||||
endif
|
||||
|
||||
@@ -30,7 +30,4 @@
|
||||
|
||||
. $STF_SUITE/include/libtest.shlib
|
||||
|
||||
set -A CHECKSUM_TYPES "fletcher2" "fletcher4" "sha256" "sha512" "skein"
|
||||
if ! is_freebsd; then
|
||||
CHECKSUM_TYPES+=("edonr")
|
||||
fi
|
||||
set -A CHECKSUM_TYPES "fletcher2" "fletcher4" "sha256" "sha512" "skein" "edonr"
|
||||
|
||||
@@ -46,10 +46,7 @@
|
||||
verify_runnable "both"
|
||||
|
||||
set -A dataset "$TESTPOOL" "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTVOL"
|
||||
set -A values "on" "off" "fletcher2" "fletcher4" "sha256" "sha512" "skein" "noparity"
|
||||
if is_linux; then
|
||||
values+=("edonr")
|
||||
fi
|
||||
set -A values "on" "off" "fletcher2" "fletcher4" "sha256" "sha512" "skein" "edonr" "noparity"
|
||||
|
||||
log_assert "Setting a valid checksum on a file system, volume," \
|
||||
"it should be successful."
|
||||
|
||||
@@ -72,6 +72,7 @@ typeset -a properties=(
|
||||
"feature@large_blocks"
|
||||
"feature@sha512"
|
||||
"feature@skein"
|
||||
"feature@edonr"
|
||||
"feature@device_removal"
|
||||
"feature@obsolete_counts"
|
||||
"feature@zpool_checkpoint"
|
||||
@@ -97,10 +98,4 @@ if is_linux || is_freebsd; then
|
||||
"feature@livelist"
|
||||
"feature@zstd_compress"
|
||||
)
|
||||
fi
|
||||
|
||||
if ! is_freebsd; then
|
||||
properties+=(
|
||||
"feature@edonr"
|
||||
)
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user