-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic reporting checksum error from zio_done #11872
Labels
Status: Triage Needed
New issue which needs to be triaged
Type: Defect
Incorrect behavior (e.g. crash, hang)
Comments
PaulZ-98
added
Type: Defect
Incorrect behavior (e.g. crash, hang)
Status: Triage Needed
New issue which needs to be triaged
labels
Apr 9, 2021
For now I have changed zio_done and I'm letting it run.
|
PaulZ-98
added a commit
to datto/zfs
that referenced
this issue
Apr 13, 2021
error for gang block in zio_done. Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Fixes openzfs#11872
13 tasks
PaulZ-98
added a commit
to datto/zfs
that referenced
this issue
Apr 13, 2021
checksum error for gang block in zio_done. Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Fixes openzfs#11872
PaulZ-98
added a commit
to datto/zfs
that referenced
this issue
Apr 13, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Fixes openzfs#11872
behlendorf
pushed a commit
to behlendorf/zfs
that referenced
this issue
Apr 21, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes openzfs#11872 Closes openzfs#11896
ghost
pushed a commit
to truenas/zfs
that referenced
this issue
May 6, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes openzfs#11872 Closes openzfs#11896
ghost
pushed a commit
to truenas/zfs
that referenced
this issue
May 6, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes openzfs#11872 Closes openzfs#11896
ghost
pushed a commit
to truenas/zfs
that referenced
this issue
May 6, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes openzfs#11872 Closes openzfs#11896
ghost
pushed a commit
to truenas/zfs
that referenced
this issue
May 7, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes openzfs#11872 Closes openzfs#11896
ghost
pushed a commit
to truenas/zfs
that referenced
this issue
May 10, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes openzfs#11872 Closes openzfs#11896
ghost
pushed a commit
to truenas/zfs
that referenced
this issue
May 10, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes openzfs#11872 Closes openzfs#11896
ghost
pushed a commit
to truenas/zfs
that referenced
this issue
May 10, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes openzfs#11872 Closes openzfs#11896
ghost
pushed a commit
to truenas/zfs
that referenced
this issue
May 13, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes openzfs#11872 Closes openzfs#11896
ghost
pushed a commit
to truenas/zfs
that referenced
this issue
May 17, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes openzfs#11872 Closes openzfs#11896
sempervictus
pushed a commit
to sempervictus/zfs
that referenced
this issue
May 31, 2021
Fix NULL pointer dereference when reporting checksum error for gang block in zio_done. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Zuchowski <pzuchowski@datto.com> Closes openzfs#11872 Closes openzfs#11896
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Status: Triage Needed
New issue which needs to be triaged
Type: Defect
Incorrect behavior (e.g. crash, hang)
System information
Describe the problem you're observing
Pool has multiple mirror pair vdevs. In zio_done for a ZIO_TYPE_FREE of a gang block, with io_error == 0, the code for reporting a checksum error is reached, and because it's the free of a gang block, io_abd is NULL, and the code to abd_copy for reporting purposes dereferences the NULL pointer.
Describe how to reproduce the problem
Hard to reproduce, but we have a server with checksum errors in gang blocks, but the zio succeeds because of good copies on the other mirror half.
Include any warning/errors/backtraces from the system logs
Instrumented ZFS to print info about the zio.
In another instance I instrumented the code to print the io_bp.
The text was updated successfully, but these errors were encountered: