Files
freebsd/cmd
Paul Dagnelie 6562851406 Handle raidz errors <= nparity rather than ignoring
This PR adds a check in the mirror and raidz code for the case where 
there are errors <= nparity. In that case, ZFS sets a new flag on 
the zio that will be checked in zio_done. If that flag is set, when 
the write IO completes, we issue a read IO for the same blkptr. 
That will allow ZFS's auto-healing mechanisms and other errors 
recovery tools to detect the effectively-corrupt data, and handle 
it accordingly. Note that because draid raidz's IO done function, 
it also benefits from this functionality.

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Paul Dagnelie <[email protected]>
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Closes #18387
2026-04-21 14:17:37 -07:00
..
2026-04-08 10:09:47 -07:00
2026-04-08 10:09:47 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-09-10 10:45:21 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00