diff options
author | George Amanakis <[email protected]> | 2020-12-11 21:15:37 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-11 12:15:37 -0800 |
commit | c76a40bfdaedd1eb2c037dfdf822ea5c4db97397 (patch) | |
tree | 0a243b4a29af351cb67516ea49299a3fd1ca7f76 /lib/libzfs/os/freebsd | |
parent | 1ad07b01bca915c9db2c856121d616baf01a088b (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