| To: | Alexander Beregalov <a.beregalov@xxxxxxxxx> |
|---|---|
| Subject: | Re: 2.6.27-rc6: lockdep warning: iprune_mutex at shrink_icache_memory+0x38/0x1a8 |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Tue, 16 Sep 2008 12:52:04 +1000 |
| Cc: | rjw@xxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, kernel-testers@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| In-reply-to: | <20080913233138.GA19576@orion> |
| Mail-followup-to: | Alexander Beregalov <a.beregalov@xxxxxxxxx>, rjw@xxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, kernel-testers@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| References: | <20080913233138.GA19576@orion> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
On Sun, Sep 14, 2008 at 03:31:38AM +0400, Alexander Beregalov wrote:
> Hi
>
> [ INFO: possible circular locking dependency detected ]
> 2.6.27-rc6-00034-gd1c6d2e #3
> -------------------------------------------------------
> nfsd/1766 is trying to acquire lock:
> (iprune_mutex){--..}, at: [<c01743fb>] shrink_icache_memory+0x38/0x1a8
>
> but task is already holding lock:
> (&(&ip->i_iolock)->mr_lock){----}, at: [<c021134f>]
> xfs_ilock+0xa2/0xd6
>
>
> I read files through nfs and saw delay for few seconds.
> System is x86_32, nfs, xfs.
> The last working kernel is 2.6.27-rc5,
> I do not know yet is it reproducible or not.
<sigh>
We need a FAQ for this one. It's a false positive. Google for an
explanation - I've explained it 4 or 5 times in the past year and
asked that the lockdep folk invent a special annotation for the
iprune_mutex (or memory reclaim) because of the way it can cause
recursion into the filesystem and hence invert lock orders without
causing deadlocks.....
Cheers,
Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Bug#499076: Physical walk no longer ignores all symlinks, Nathan Scott |
|---|---|
| Next by Date: | Re: read only remount not so happy, Jeff Breidenbach |
| Previous by Thread: | Re: Bug#499076: Physical walk no longer ignores all symlinks, Nathan Scott |
| Next by Thread: | Re: 2.6.27-rc6: lockdep warning: iprune_mutex at shrink_icache_memory+0x38/0x1a8, Grant Coady |
| Indexes: | [Date] [Thread] [Top] [All Lists] |