Bug 353311
| Summary: | lock_dlm oops in process_finish() | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Cluster Suite | Reporter: | David Teigland <teigland> | ||||
| Component: | GFS-kernel | Assignee: | David Teigland <teigland> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Cluster QE <mspqa-list> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 4 | CC: | akarlsso, ccaulfie, cfeist, cmarthal, djuran, swhiteho | ||||
| 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: | 2009-03-12 19:56:00 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: | |||||||
| Attachments: |
|
||||||
|
Description
David Teigland
2007-10-25 21:34:00 UTC
a possible fix to try:
RCS file: /cvs/cluster/cluster/gfs-kernel/src/dlm/Attic/group.c,v
retrieving revision 1.8.2.2
diff -u -r1.8.2.2 group.c
--- group.c 29 Jun 2005 07:28:21 -0000 1.8.2.2
+++ group.c 25 Oct 2007 21:39:23 -0000
@@ -392,11 +392,13 @@
{
dlm_node_t *node, *safe;
+ down(&dlm->mg_nodes_lock);
list_for_each_entry_safe(node, safe, &dlm->mg_nodes, list) {
list_del(&node->list);
lm_dlm_release_withdraw(dlm, node);
kfree(node);
}
+ up(&dlm->mg_nodes_lock);
}
patch in comment 1 doesn't work, maybe this one... RCS file: /cvs/cluster/cluster/gfs-kernel/src/dlm/Attic/group.c,v retrieving revision 1.8.2.2 diff -u -r1.8.2.2 group.c --- group.c 29 Jun 2005 07:28:21 -0000 1.8.2.2 +++ group.c 25 Oct 2007 21:53:37 -0000 @@ -751,7 +751,9 @@ kcl_unregister_service(dlm->mg_local_id); release_jid(dlm); + down(&dlm->mg_nodes_lock); release_mg_nodes(dlm); + up(&dlm->mg_nodes_lock); } Created attachment 243731 [details] patch to try same patch as in comment 2 patch checked into RHEL4 branch Checking in group.c; /cvs/cluster/cluster/gfs-kernel/src/dlm/Attic/group.c,v <-- group.c new revision: 1.8.2.3; previous revision: 1.8.2.2 done Adding missing flags. Already fixed in 4.7. |