Bug 150568
Summary: | Fix kjournald oops for U2 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Stephen Tweedie <sct> | ||||||
Component: | kernel | Assignee: | Stephen Tweedie <sct> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4.0 | CC: | coughlan, davej, jwest, kmori, nicholas.dokos, rick.hester, riel, tao, tburke | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-06-07 04:58:19 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: | 146037, 147443, 150135 | ||||||||
Bug Blocks: | 158363 | ||||||||
Attachments: |
|
Description
Stephen Tweedie
2005-03-08 14:11:31 UTC
Created attachment 111778 [details]
Fix journal_unmap_buffer race
This is the simpler, low-risk patch which fixes the race window that seems to
be reproducible on demand in testing: journal_unmap_buffer() racing with a
buffer refile in journal_commit_transaction().
Created attachment 111779 [details]
Fix journal_put_journal_head() release of in-use buffers
This is the fuller fix proposed to fix this problem both in upstream 2.6 and in
U2. More testing is needed at this point, though. The patch includes a
comment describing its operation in more detail.
This patch should not only close the hole seen in testing, but also some
theoretical race windows that in practice are probably only ever going to be
possible in the presence of other IO errors. But it is definitely a more
robust approach.
This is still getting churned about upstream. The patch in attachment #111779 [details]
is now in the upstream 2.6 kernels. It's not complete, though, and we're likely
to be improving locking further by getting rid of one of the locks involved
entirely.
This is all higher-risk change, and is aimed more at long term maintainability,
performance and theoretical correctness than at fixing any known problems. The
patch in the U1 kernel fixes all situations we've been able to reproduce up to now.
We just hit a panic in ext3 in RHEL4U1. It doesn't have the same footprint as the original panic that initiated this bz, but I'm wondering if it is related? Did this 'fuller' patch find its way into RHEL4U2? FAT: invalid media value (0x5f) EXT3-fs warning: checktime reached, running e2fsck is recommended EXT3-fs warning (device loop0): dx_probe: Unrecognised inode hash code 240 Assertion failure in dx_probe() at fs/ext3/namei.c:381: "dx_get_limit(entries) == dx_root_limit(dir, root->info.info_length)" kernel BUG at fs/ext3/namei.c:381! pax[9524]: bugcheck! 0 [1] Modules linked in: cramfs loop md5 ipv6 autofs4 sunrpc ds yenta_socket pcmcia_core vfat fat dm_mod button ohci_hcd ehci_hcd tg3 sg ext3 jbd cciss sym53c8xx scsi_transport_spi sd_mod scsi_mod |