Bug 250537
| Summary: | [PATCH] jbd: wait for already submitted t_sync_datalist buffer to complete (Possibility of in-place data destruction) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Masaki MAENO <maeno.masaki> |
| Component: | kernel | Assignee: | Eric Sandeen <esandeen> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Jenner <mjenner> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 5.0 | CC: | dzickus, hfuchi, tao |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6f5a9da1af5a8c286575c30c2706dc1fbef9164b;hp=6d3a25f1fb75206ae8b2b1cdd1431b3852e1a45a | ||
| Whiteboard: | upstream patch | ||
| Fixed In Version: | RHBA-2008-0314 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-05-21 14:48:03 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: | 246139, 296411, 345141, 372911, 420521, 422431, 422441 | ||
|
Description
Masaki MAENO
2007-08-02 05:00:59 UTC
I researched this problem. As result, the buffer (= bh) is not released for condition of buffer_busy() though the reference count of buffer (= bh->b_count) is zero. So, I think that in-place data block doesn't break. But, the ordered mode doesn't work correctly because there is a high possibility of writing "in-place data" after "jounrnal of meta-data", if ext3FS is crashed for a sudden power down. The patch is not yet committed in our kernel. Has the customer actually seen this problem in practice, and encountered an error? I did not expect this bug to be an urgent issue, it looked almost like a hypothetical case. I'll review this bug more thoroughly tomorrow. Thank you, -Eric How do you review the bug? I encountered this error. I confirmed that this bad path (meta-data journal --> in-place data) passed at the probability of 1% - 2% on high I/O stress test in our experimental environment. I think that RedHat should mend it so that the ordered mode for this bug is not correct and the possibility of the problem generation by taking this patch is very small. The excuse is unnecessary. You must correct the mistake at RHEL5.1 if you understand the bug exists. (custormer's voice) I reviewed this upstream change last Friday, and it does look correct and safe to me. I'll submit it for peer review & kernel inclusion today. Thanks, -Eric Thank you very much. Good job! ;-) RHEL5.1 Errata Release? or RHEL5.2 Release? Please tell me its scheduling. I made a mistake. RHEL5.1 Release? or RHEL5.1 Errata Release? or RHEL5.2 Release? Please tell me its scheduling. Right now it would likely be scheduled for 5.2 as it was filed after the general 5.1 cutoff. If you have other needs, please let your support contact know and they can request the appropriate action. Thanks, -Eric I see. 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. 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-2008-0314.html |