]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/vdev_raidz_math_ssse3.c
Fixes and enhancements of SIMD raidz parity
authorGvozden Neskovic <neskovic@gmail.com>
Sun, 17 Jul 2016 17:41:11 +0000 (19:41 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 19 Jul 2016 23:43:07 +0000 (16:43 -0700)
commitc9187d867fee3972de48b71762407ae7dabb2563
treec1d7fdb7f5761cba9aa14f0743b8c3a57def392f
parent1d9b3bd8fb2b633b7523d9f39149d76e24ffb535
Fixes and enhancements of SIMD raidz parity

- Implementation lock replaced with atomic variable

- Trailing whitespace is removed from user specified parameter, to enhance
experience when using commands that add newline, e.g. `echo`

- raidz_test: remove dependency on `getrusage()` and RUSAGE_THREAD, Issue #4813

- silence `cppcheck` in vdev_raidz, partial solution of Issue #1392

- Minor fixes and cleanups

- Enable use of original parity methods in [fastest] configuration.
New opaque original ops structure, representing native methods, is added
to supported raidz methods. Original parity methods are executed if selected
implementation has NULL fn pointer.

Signed-off-by: Gvozden Neskovic <neskovic@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #4813
Issue #1392
cmd/raidz_test/raidz_bench.c
include/sys/vdev_raidz.h
include/sys/vdev_raidz_impl.h
man/man5/zfs-module-parameters.5
module/zfs/vdev_raidz.c
module/zfs/vdev_raidz_math.c
module/zfs/vdev_raidz_math_avx2.c
module/zfs/vdev_raidz_math_scalar.c
module/zfs/vdev_raidz_math_ssse3.c