lkml.org 
[lkml]   [2012]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: btrfs/mmap lockdep report from 3.2
On Mon, Jan 09, 2012 at 08:03:32PM -0500, Dave Jones wrote:
> Just hit this with Linus' tree as of 37cfc3f67db9f2d907f6bfcfae590cdbbef623e8
>
> Dave
>
> [ 130.932837] ======================================================
> [ 130.933032] [ INFO: possible circular locking dependency detected ]
> [ 130.933032] 3.2.0+ #19 Not tainted
> [ 130.933032] -------------------------------------------------------
> [ 130.933032] firefox/1630 is trying to acquire lock:
> [ 130.933032] (&sb->s_type->i_mutex_key#13){+.+.+.}, at: [<ffffffffa011fd5b>] btrfs_page_mkwrite+0x5b/0x310 [btrfs]
> [ 130.933032]
> [ 130.933032] but task is already holding lock:
> [ 130.933032] (&mm->mmap_sem){++++++}, at: [<ffffffff816a38c8>] do_page_fault+0xe8/0x5d0
> [ 130.933032]
> [ 130.933032] which lock already depends on the new lock.

From a lockdep point of view, this is real. But the page_mkwrite
code is never called on directories so it is actually safe. We'll fix
it up.

-chris


\
 
 \ /
  Last update: 2012-01-10 02:47    [W:0.080 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site