ahrens commented on this pull request.


> +                     if (is->is_child[is->is_good_child].ic_data == NULL) {
+                               ret = EIO;
+                               goto next;
+                       }
+
+                       abd_copy_off(zio->io_abd,
+                           is->is_child[is->is_good_child].ic_data,
+                           is->is_split_offset, 0, is->is_size);
+               }
+
+               /* See if this checksum matches. */
+               zio_bad_cksum_t zbc;
+               ret = zio_checksum_error(zio, &zbc);
+               if (ret == 0) {
+                       /* Found a matching checksum.  Issue repair i/os. */
+                       vdev_indirect_repair(zio);

Sorry about that, I found that problem too but forgot to update the PR.  I 
fixed it in a slightly different, but equivalent way.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/591#discussion_r175498158
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/discussions/T497ad70ebb1401b5-M6a1b69cdb2cfb676c5177327
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to