]> granicus.if.org Git - zfs/commit
Remove wrong ASSERT in annotate_ecksum
authorChunwei Chen <david.chen@osnexus.com>
Fri, 22 Jan 2016 20:23:55 +0000 (12:23 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 17 Feb 2016 18:43:02 +0000 (10:43 -0800)
commit093911f1945b5c164a45bb077103283dafdcae0c
tree7f840b48f3cb65fd204f9a91d4d2cb66a9c41cbc
parenteea9309423d577d62cf62d1f98444e22e264ef15
Remove wrong ASSERT in annotate_ecksum

When using large blocks like 1M, there will be more than UINT16_MAX qwords in
one block, so this ASSERT would go off. Also, it is possible for the histogram
to overflow. We cap them to UINT16_MAX to prevent this.

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4257
module/zfs/zfs_fm.c