Bug 198749
| Summary: | Data corruption after IO error on swap | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Bryn M. Reeves <bmr> |
| Component: | kernel | Assignee: | Peter Zijlstra <pzijlstr> |
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.0 | CC: | jbaron, lwang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | RHBA-2007-0304 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-05-08 02:40:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 198694, 198868, 215771, 216194 | ||
| Attachments: | |||
|
Description
Bryn M. Reeves
2006-07-13 09:17:16 UTC
Created attachment 132357 [details]
Patch to correct swap IO error handling
Created attachment 133147 [details]
upstream patch to solve the issue there. RHEL4 also needs the patch from the bk link
I'll take the upstream part, but the addition is not quite nice.
It really needs a big fat warning printed to user-space. Also the
way to keep the page dirty is not quite OK. New patch is against upstream, that
is, RHEL4 also needs the patch from the BK-link.
Created attachment 133307 [details]
update the warning and add it on the read side.
On request I also added the bio->bi_sector field to the warning, and added a
equivalent msg to the read side of things.
Could we get devel_ack here ? Peter created a fix patch and Fujitsu has already verified it. QE ack for 4.5. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. committed in stream U5 build 42.20. A test kernel with this patch is available from http://people.redhat.com/~jbaron/rhel4/ I can confirm that the patch is in, however I don't really have any to test this. Do we have any test results from partners who might have equipment to create disk errors etc? We can test this using device-mapper. There is infrastructure for injecting faults in a block device. Let me know if this is needed and I'll put something together. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0304.html |