Red Hat Bugzilla – Bug 133232
slab error in kmem_cache_destroy() when rmmodding dlm
Last modified: 2010-01-11 21:58:36 EST
Description of problem:
Set up a quorate 5-node cluster and mounted a filesystem on all with
lock type lock_dlm. On all: unmounted the filesystem, removed from
fence domain, left cman, killed ccsd, and removed modules in the
reverse order they went in.
When removing the dlm module I got this on 3 of the 5 nodes:
slab error in kmem_cache_destroy(): cache `dlm_resdir(s)': Can't free
[<d09be068>] dlm_memory_exit+0x28/0x40 [dlm]
[<d09c6c94>] cleanup_module+0x14/0x1e [dlm]
Version-Release number of selected component (if applicable):
cman_tool DEVEL.1095793251 (built Sep 21 2004 14:03:18)
Copyright (C) Red Hat, Inc. 2004 All rights reserved.
I'm 2 for 2 so far.
Steps to Reproduce:
Yep. I saw that too....
Unused direntries were being put on a free list when they were
released suring recovery, but this free list was not cleaned when the
lockspace was released.
It is now.
Checking in dir.c;
/cvs/cluster/cluster/dlm-kernel/src/dir.c,v <-- dir.c
new revision: 1.18; previous revision: 1.17
Checking in dir.h;
/cvs/cluster/cluster/dlm-kernel/src/dir.h,v <-- dir.h
new revision: 1.10; previous revision: 1.9
Checking in lockspace.c;
/cvs/cluster/cluster/dlm-kernel/src/lockspace.c,v <-- lockspace.c
new revision: 1.15; previous revision: 1.14
DEVEL.1096898839 (built Oct 4 2004 09:08:29)
Updating version to the right level in the defects. Sorry for the storm.