linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: Christian Kujau <lists@nerdbynature.de>
Cc: Milan Broz <mbroz@redhat.com>, David Chinner <dgc@sgi.com>,
	LKML <linux-kernel@vger.kernel.org>,
	xfs@oss.sgi.com, dm-devel@redhat.com
Subject: Re: INFO: task mount:11202 blocked for more than 120 seconds
Date: Mon, 17 Mar 2008 07:33:47 +1100	[thread overview]
Message-ID: <20080316203347.GX95344431@sgi.com> (raw)
In-Reply-To: <alpine.DEB.1.00.0803150044130.4696@sheep.housecafe.de>

On Sat, Mar 15, 2008 at 12:58:02AM +0100, Christian Kujau wrote:
> On Fri, 14 Mar 2008, Milan Broz wrote:
> >Yes, there is bug in dm-crypt...
> >Please try if the patch here helps: http://lkml.org/lkml/2008/3/14/71
> 
> Hm, it seems to help the hangs, yes. Applied to today's -git a few hours 
> ago, the hangs are gone. However, when doing lots of disk I/O, the machine 
> locks up after a few (10-20) minutes. Sadly, netconsole got nothing :(
> 
> After the first lockup I tried again and shortly after bootup I got:

False positive. Memory reclaim can inverts the order of iprune_mutex and
the normal inode locking orders. i.e. Both of these are possible:

	do_something()
	enter memory reclaim
	iprune_mutex
	inode lock

or
	do_something()
	inode lock
	do_something_else
	enter memory reclaim
	iprune_mutex
	inode lock on different inode

So depending on what is seen first (in this case the first), the second
will trip lockdep. Neither are a deadlock, because the inode lock
held before memory reclaim is a referenced inode and will *never* be
on the free list for memory reclaim to deadlock on....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

  reply	other threads:[~2008-03-16 20:34 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-07 20:32 INFO: task mount:11202 blocked for more than 120 seconds Christian Kujau
2008-03-07 22:40 ` David Chinner
2008-03-07 23:46   ` Christian Kujau
2008-03-08  1:54     ` Christian Kujau
2008-03-09  6:15       ` 2.6.25-rc hangs (was: INFO: task mount:11202 blocked for more than 120 seconds) Christian Kujau
2008-03-09 16:44         ` 2.6.25-rc hangs Eric Sandeen
2008-03-09 18:05           ` Christian Kujau
     [not found]             ` <47D42AD6.10500@sandeen.net>
2008-03-09 18:49               ` Christian Kujau
2008-03-12 18:06                 ` Samuel Tardieu
2008-03-12 21:02                   ` Christian Kujau
2008-03-09 21:34     ` INFO: task mount:11202 blocked for more than 120 seconds David Chinner
2008-03-10  1:46       ` Christian Kujau
2008-03-12 18:03       ` Samuel Tardieu
2008-03-12 19:53         ` Chr
2008-03-12 23:07           ` Christian Kujau
2008-03-13 13:45             ` Christian Kujau
2008-03-13 21:33               ` Chr
2008-03-13 21:54                 ` Christian Kujau
2008-03-14  0:15                   ` Chr
2008-03-14  9:27       ` Milan Broz
2008-03-14 23:58         ` Christian Kujau
2008-03-16 20:33           ` David Chinner [this message]
2008-03-15  0:08         ` Chr
2008-03-15 13:32           ` [dm-crypt] " Chr
2008-03-15 21:34             ` Chr
2008-03-16 13:08               ` Christian Kujau
2008-03-17 17:36                 ` Alasdair G Kergon
2008-03-17 18:36                   ` Chr
2008-03-18 17:46                     ` Christian Kujau
2008-03-18  0:56                   ` Herbert Xu
2008-03-18  4:07                     ` Milan Broz
2008-03-22  2:52                   ` Christian Kujau
2008-03-27  8:21                     ` Christian Kujau
2008-03-26 16:57                   ` Chr

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=20080316203347.GX95344431@sgi.com \
    --to=dgc@sgi.com \
    --cc=dm-devel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lists@nerdbynature.de \
    --cc=mbroz@redhat.com \
    --cc=xfs@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).