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 /tests/runfiles | |
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 'tests/runfiles')
-rw-r--r-- | tests/runfiles/common.run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run index 19b250bdd..171db4c0c 100644 --- a/tests/runfiles/common.run +++ b/tests/runfiles/common.run @@ -756,7 +756,7 @@ tests = ['removal_all_vdev', 'removal_cancel', 'removal_check_space', 'removal_with_send_recv', 'removal_with_snapshot', 'removal_with_write', 'removal_with_zdb', 'remove_expanded', 'remove_mirror', 'remove_mirror_sanity', 'remove_raidz', - 'remove_indirect'] + 'remove_indirect', 'remove_attach_mirror'] tags = ['functional', 'removal'] [tests/functional/rename_dirs] |