All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Caulfeld <pcaulfie@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] dlm close othercons
Date: Fri, 18 Jan 2008 08:27:03 +0000	[thread overview]
Message-ID: <479062D7.6020805@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0801180744160.6826@trider-g7>

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
>> objects"
>>
>> and the DLM cannot be restarted without a system reboot.
>>
>> See bz#428119
>>
>> Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com>
>>
> 
> http://git.kernel.org/?p=linux/kernel/git/steve/gfs2-2.6-nmw.git;a=commitdiff;h=89f0bb2873fcaa8e57831dd3f0c013cabbd99012
> 
> 
> 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 ;-)

Patrick

Signed-off-by: Patrick Caulfield <pcaulfie@redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: free2.patch
Type: text/x-patch
Size: 428 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20080118/8a5c7c46/attachment.bin>

  reply	other threads:[~2008-01-18  8:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09 15:06 [Cluster-devel] [PATCH] dlm close othercons Patrick Caulfeld
2008-01-10 10:21 ` Steven Whitehouse
2008-01-18  6:46 ` Fabio M. Di Nitto
2008-01-18  8:27   ` Patrick Caulfeld [this message]
2008-01-18  8:34     ` Fabio M. Di Nitto
  -- strict thread matches above, loose matches on Subject: below --
2008-01-21 22:25 [Cluster-devel] [PATCH] dlm: " David Teigland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=479062D7.6020805@redhat.com \
    --to=pcaulfie@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.