HomeFreeBSD

Change U16 to U32 due to atomic_inc_32_nv

Description

Change U16 to U32 due to atomic_inc_32_nv

After run a long time with QAT compression, the variable "inst_num"
is overflow by "atomic_inc_32_nv", which causes its neighbor
variable overwritten. Change its definition from U16 to U32.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Weigang Li <weigang.li@intel.com>
Closes #6051

Details

Provenance
wli5 <weigang.li@intel.com>Authored on Apr 26 2017, 12:41 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 26 2017, 12:41 AM
Parents
rG603a1784792f: Fix typo in zfs-module-parameters man page
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG7a25f0891eef: Change U16 to U32 due to atomic_inc_32_nv (authored by wli5 <weigang.li@intel.com>).Apr 26 2017, 12:41 AM