]> granicus.if.org Git - zfs/commit
Revert raidz_map and _col structure types
authorNathaniel Wesley Filardo <VP331RHQ115POU58JFRLKB7OPA0L18E3@cmx.ietfng.org>
Tue, 9 Jan 2018 22:46:52 +0000 (17:46 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 9 Jan 2018 22:46:52 +0000 (14:46 -0800)
commitcba6fc61a2898395c47380a0c2303f19842a2ff0
tree620b80b7f83f0cd1b245d9c9db80231ea6fdbfb2
parentbfe27ace0de64838d50ff351396423a481de6c84
Revert raidz_map and _col structure types

As part of the refactoring of ab9f4b0b824ab4cc64a4fa382c037f4154de12d6,
several uint64_t-s and uint8_t-s were changed to other types.  This
caused ZoL github issue #6981, an overflow of a size_t on a 32-bit ARM
machine.  In absense of any strong motivation for the type changes, this
simply puts them back, modulo the changes accumulated for ABD.

Compile-tested on amd64 and run-tested on armhf.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Gvozden Neskovic <neskovic@gmail.com>
Signed-off-by: Nathaniel Wesley Filardo <nwf@cs.jhu.edu>
Closes #6981
Closes #7023
include/sys/vdev_raidz_impl.h