Bug 186004
Summary: | [RHEL4 U3] device-mapper mirror: Write failure region becomes in-sync when suspension. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Kiyoshi Ueda <kueda> | ||||
Component: | kernel | Assignee: | Alasdair Kergon <agk> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | agk, christophe.varoqui, coughlan, egoggin, jbrassow, jnomura, lmb, mbroz, tao, tranlan | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHSA-2006-0575 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-08-10 22:49:18 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: | 181409, 186476 | ||||||
Attachments: |
|
Description
Kiyoshi Ueda
2006-03-20 21:56:52 UTC
At least, we have to avoid the data corruption. It's possible by not marking the failed region as clean until the failed device is removed. Possible solution is to mark the failed region (which should be RH_DIRTY at that point) as RH_NOSYNC. With a proposed fix in BZ#177067 Comment#10, the RH_NOSYNC region will stay in region hash and be kept unclean until suspend happens. Upon suspend, dirty state of the region is flushed to log. Then after resume, the RH_NOSYNC region will be eventually recovered. If the recoverying process correctly handles write errors (BZ#185785), we can make sure the region state not becoming clean until failed devices are removed. committed in stream U4 build 34.26. A test kernel with this patch is available from http://people.redhat.com/~jbaron/rhel4/ Needs supplimental patch to properly take account of cluster mirroring. Sent to kernel list on 05/15/2006. Created attachment 129057 [details]
supplimental patch
This patch applies ontop of what is already there.
I've created a new bugzilla to track the supplimental patch. 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/RHSA-2006-0575.html |