Bug 154262
Summary: | slab error in kmem_cache_destroy(): cache `dlm_conn': Can't free all objects when clvmd exits | ||
---|---|---|---|
Product: | [Retired] Red Hat Cluster Suite | Reporter: | Dean Jansa <djansa> |
Component: | dlm | Assignee: | Christine Caulfield <ccaulfie> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | cluster-maint |
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: | 2005-11-29 21:55:48 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: |
Description
Dean Jansa
2005-04-08 20:02:40 UTC
grief, the locking in nodeid2con is well broken, there's a read lock protecting a write! Which explains why two connections to the same node can be created at the same time. Of course, only one of them gets freed; hence this bug. Changed the RW semaphore into a simple semaphore protecting the whole operation rather than a rw_semaphore that is upped & downed all over the place in the one routine. Checking in lowcomms.c; /cvs/cluster/cluster/dlm-kernel/src/lowcomms.c,v <-- lowcomms.c new revision: 1.22.2.8; previous revision: 1.22.2.7 done Have not seen this after the fix went in. |