From: David Teigland <teigland@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Re: [PATCH 2/2] dlm: Add down/up_write_non_owner to keep lockdep happy
Date: Thu, 12 Nov 2009 12:34:47 -0600 [thread overview]
Message-ID: <20091112183446.GG20714@redhat.com> (raw)
In-Reply-To: <1258046652.6052.885.camel@localhost.localdomain>
On Thu, Nov 12, 2009 at 05:24:12PM +0000, Steven Whitehouse wrote:
> > > Nov 12 15:10:01 chywoon kernel: [ INFO: possible recursive locking
> > > detected ]
> >
> > That recursive locking trace is something different. up_write_non_owner()
> > addresses this trace, which as you say, is from doing the down and up from
> > different threads (which is the intention):
> >
> I don't think it is different, the traces differ due to the ordering of
> running of dlm_recoverd and mount.gfs2,
I explained the "recursive locking" warning back in Sep:
> I've not looked at how to remove this "recursive" message. What
> happens is that mount calls dlm_new_lockspace() which returns with
> in_recovery locked. mount then makes a lock request which blocks on
> in_recovery (as expected) until the dlm_recoverd thread completes
> recovery and releases the in_recovery lock (triggering the unlock
> balance) to allow locking activity.
It doesn't appear to me that up_write_non_owner() would suppress that.
Dave
next prev parent reply other threads:[~2009-11-12 18:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-13 14:56 [Cluster-devel] A couple of DLM patches Steven Whitehouse
2009-10-13 14:56 ` [Cluster-devel] [PATCH 1/2] dlm: Send lockspace name with uevents Steven Whitehouse
2009-10-13 14:53 ` [Cluster-devel] " David Teigland
2009-10-13 15:23 ` David Teigland
2009-10-13 15:43 ` Steven Whitehouse
2009-10-13 14:56 ` [Cluster-devel] [PATCH 2/2] dlm: Add down/up_write_non_owner to keep lockdep happy Steven Whitehouse
2009-11-12 13:27 ` [Cluster-devel] " Steven Whitehouse
2009-11-12 14:22 ` Ingo Molnar
2009-11-12 14:29 ` [Cluster-devel] " Steven Whitehouse
2009-11-12 17:14 ` David Teigland
2009-11-12 17:24 ` Steven Whitehouse
2009-11-12 18:34 ` David Teigland [this message]
2009-11-13 10:21 ` Steven Whitehouse
[not found] ` <1258044339.4039.685.camel@laptop>
2009-11-12 17:27 ` Steven Whitehouse
2009-11-12 18:21 ` 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=20091112183446.GG20714@redhat.com \
--to=teigland@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.