]> granicus.if.org Git - zfs/commit
Use fletcher_4 routines natively with `abd_iterate_func()`
authorDavid Quigley <dpquigl@users.noreply.github.com>
Wed, 1 Feb 2017 17:34:22 +0000 (10:34 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 1 Feb 2017 17:34:22 +0000 (09:34 -0800)
commit2fe36b0bfb80a4955f6ff42b2448f432223f6011
tree010c7c2eb7b90565a10543f1602b5bee1f4699d7
parent544b8053dbb03de69950c232d1f1970bc36535b6
Use fletcher_4 routines natively with `abd_iterate_func()`

This patch adds the necessary infrastructure for ABD to make use
of the vectorized fletcher 4 routines.

- export ABD compatible interface from fletcher_4
- add ABD fletcher_4 tests for data and metadata ABD types.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Original-patch-by: Gvozden Neskovic <neskovic@gmail.com>
Signed-off-by: David Quigley <david.quigley@intel.com>
Closes #5589
cmd/ztest/ztest.c
include/sys/zio_checksum.h
module/zcommon/zfs_fletcher.c
module/zfs/zio_checksum.c