]> git.proxmox.com Git - mirror_zfs.git/commit
Change U16 to U32 due to atomic_inc_32_nv
authorwli5 <weigang.li@intel.com>
Wed, 26 Apr 2017 00:41:58 +0000 (08:41 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 26 Apr 2017 00:41:58 +0000 (17:41 -0700)
commit7a25f0891eef4adbe00dd03e26b6128dc99e170d
tree45fa06e61ff1786cd6b5e8a23151987fc0e8a577
parent603a1784792f61e79f8b53d707a46d99cfc927e6
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
module/zfs/qat_compress.c