Bug 338651
| Summary: | GFS2: Not all metadata is revoked that should be | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Robert Peterson <rpeterso> | ||||||
| Component: | kernel | Assignee: | Steve Whitehouse <swhiteho> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Cluster QE <mspqa-list> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 5.1 | CC: | cluster-maint, rpeterso | ||||||
| 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: | 2011-05-12 10:31:56 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: | 236099 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Robert Peterson
2007-10-18 19:33:08 UTC
Created attachment 231441 [details] saved metadata for the corrupt file system This is a gfs2_edit savemeta of the file system in its corrupt state. You can restore the metadata with commands similar to these: cd /tmp/ bunzip2 gfsmeta.bz2 gfs2_edit restoremeta /tmp/gfsmeta /dev/sdb2 (given that /dev/sdb2 is a file system you want to overwrite with it) Assuming, of course, that you have the latest gfs2_edit from the HEAD branch of cvs. Created attachment 291028 [details] Possible fix I got to thinking that if the code is missing revokes, it might also be forgetting to release the bd's (buffer descriptors) associated with those forgotten revokes and that might account for the oom problem with bug #349271. Digging around the code, I noticed that there was no log_lock protection in the revoke_lo_before_commit function, like the others, and thought that maybe introducing such a lock might solve this problem. I was kind of hoping this would fix our oom problem as well, but it didn't. I haven't actually tried to recreate the revoke problem for this bz with this patch, so I don't know if this patch is a good idea or not. This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.6 and Red Hat does not plan to fix this issue the currently developed update. Contact your manager or support representative in case you need to escalate this bug. This might be a dup of bug #690555. It has been open for a very very long time and I don't think that it is still relevant. We already have a bug open to track the split transactions issue, which is bug #236099 so I think this one is not something we need to keep open. Please feel free to reopen if you disagree, but this looks like a historical artifact to me and something we might as well dispose of at this point in time. |