dlm close othercons
On Fri, 18 Jan 2008, Patrick Caulfeld wrote:
Fabio M. Di Nitto wrote:
On Wed, 9 Jan 2008, Patrick Caulfeld wrote:
This patch addresses a problem introduced with the last round of
lowcomms patches where the 'othercon' connections do not get freed when
the DLM shuts down.
This results in the error message
"slab error in kmem_cache_destroy(): cache `dlm_conn': Can't free all
and the DLM cannot be restarted without a system reboot.
Signed-Off-By: Patrick Caulfield <firstname.lastname@example.org>
this doesn't look right...
shouldn't we free the con->other _before_ we free con?
That's what we were doing before applying all that patch set that
removed the original kmem_cache_free...
ARGH! you're right, of course. Patch to fix is attached.
Thanks Fabio, I'm glad that someone reads my patches ... I just wish it
had been me ;-)
Signed-off-by: Patrick Caulfield <email@example.com>
Signed-off-by: Fabio M. Di Nitto <firstname.lastname@example.org>
I'm going to make him an offer he can't refuse.