mirror_zfs/module
George Amanakis 900480bd96 Fix reporting of CKSUM errors in indirect vdevs
When removing and subsequently reattaching a vdev, CKSUM errors may
occur as vdev_indirect_read_all() reads from all children of a mirror
in case of a resilver.

Fix this by checking whether a child is missing the data and setting a
flag (ic_error) which is then checked in vdev_indirect_repair() and
suppresses incrementing the checksum counter.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #11277
2020-12-23 14:34:59 -08:00
..
avl Links in Source Files 2020-09-03 16:17:18 -07:00
icp ICP: gcm: Allocate hash subkey table separately 2020-10-30 16:06:09 -07:00
lua Use known license string for zlua 2020-10-30 16:03:37 -07:00
nvpair Links in Source Files 2020-09-03 16:17:18 -07:00
os FreeBSD: Fix format of vfs.zfs.arc_no_grow_shift 2020-12-23 14:34:59 -08:00
spl Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
unicode Throw const on some strings 2020-10-16 12:55:56 -07:00
zcommon FreeBSD: Implement sysctl for fletcher4 impl 2020-12-23 14:34:59 -08:00
zfs Fix reporting of CKSUM errors in indirect vdevs 2020-12-23 14:34:59 -08:00
zstd Optimize locking checks in mempool allocator 2020-11-03 09:51:10 -08:00
.gitignore Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
Kbuild.in Add zstd support to zfs 2020-08-20 10:30:06 -07:00
Makefile.bsd FreeBSD: decouple ZFS_DEBUG from kernel debug settings 2020-11-25 08:42:26 -08:00
Makefile.in Fix Linux modules uninstall 2020-10-16 13:01:14 -07:00