mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-19 10:51:00 +03:00
75e8b5ad84
Apply similar options to BLAKE3 as it is done for zfs_fletcher_4_impl. The zfs module parameter on Linux changes from icp_blake3_impl to zfs_blake3_impl. You can check and set it on Linux via sysfs like this: ``` [bash]# cat /sys/module/zfs/parameters/zfs_blake3_impl cycle [fastest] generic sse2 sse41 avx2 [bash]# echo sse2 > /sys/module/zfs/parameters/zfs_blake3_impl [bash]# cat /sys/module/zfs/parameters/zfs_blake3_impl cycle fastest generic [sse2] sse41 avx2 ``` The modprobe module parameters may also be used now: ``` [bash]# modprobe zfs zfs_blake3_impl=sse41 [bash]# cat /sys/module/zfs/parameters/zfs_blake3_impl cycle fastest generic sse2 [sse41] avx2 ``` On FreeBSD the BLAKE3 implementation can be set via sysctl like this: ``` [bsd]# sysctl vfs.zfs.blake3_impl vfs.zfs.blake3_impl: cycle [fastest] generic sse2 sse41 avx2 [bsd]# sysctl vfs.zfs.blake3_impl=sse2 vfs.zfs.blake3_impl: cycle [fastest] generic sse2 sse41 avx2 \ -> cycle fastest generic [sse2] sse41 avx2 ``` This commit changes also some Blake3 internals like these: - blake3_impl_ops_t was renamed to blake3_ops_t - all functions are named blake3_impl_NAME() now Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Co-authored-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de> Closes #13725 |
||
---|---|---|
.. | ||
checksum | ||
file | ||
linux_dos_attributes | ||
.gitignore | ||
badsend.c | ||
btree_test.c | ||
chg_usr_exec.c | ||
cp_files.c | ||
ctime.c | ||
devname2devid.c | ||
dir_rd_update.c | ||
dosmode_readonly_write.c | ||
draid.c | ||
ereports.c | ||
get_diff.c | ||
getversion.c | ||
libzfs_input_check.c | ||
Makefile.am | ||
mkbusy.c | ||
mkfile.c | ||
mkfiles.c | ||
mktree.c | ||
mmap_exec.c | ||
mmap_libaio.c | ||
mmap_seek.c | ||
mmap_sync.c | ||
mmapwrite.c | ||
nvlist_to_lua.c | ||
readmmap.c | ||
rename_dir.c | ||
rm_lnkcnt_zero_file.c | ||
send_doall.c | ||
stride_dd.c | ||
suid_write_to_file.c | ||
threadsappend.c | ||
truncate_test.c | ||
user_ns_exec.c | ||
xattrtest.c | ||
zed_fd_spill-zedlet.c | ||
zfs_diff-socket.c |