aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzfs/os/freebsd
diff options
context:
space:
mode:
authorGeorge Amanakis <[email protected]>2020-12-11 21:15:37 +0100
committerGitHub <[email protected]>2020-12-11 12:15:37 -0800
commitc76a40bfdaedd1eb2c037dfdf822ea5c4db97397 (patch)
tree0a243b4a29af351cb67516ea49299a3fd1ca7f76 /lib/libzfs/os/freebsd
parent1ad07b01bca915c9db2c856121d616baf01a088b (diff)
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 <[email protected]> Signed-off-by: George Amanakis <[email protected]> Closes #11277
Diffstat (limited to 'lib/libzfs/os/freebsd')
0 files changed, 0 insertions, 0 deletions