From: Matthew Wilcox <matthew@wil.cx>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>,
linux-fsdevel@vger.kernel.org, xfs@oss.sgi.com
Subject: Re: [LOCKDEP] xfs: possible recursive locking detected
Date: Mon, 3 Jul 2006 19:18:58 -0600 [thread overview]
Message-ID: <20060704011858.GG1605@parisc-linux.org> (raw)
In-Reply-To: <20060704004116.GA7612@martell.zuzino.mipt.ru>
On Tue, Jul 04, 2006 at 04:41:16AM +0400, Alexey Dobriyan wrote:
> 2.6.17-912b2539e1e062cec73e2e61448e507f7719bd08
>
> While trying to remove 2 small files, 2 empty dirs and 1 empty dir on
> xfs partition
Probably spurious. xfs_ilock can be called on both the parent and child,
which wouldn't be a deadlock.
> =============================================
> [ INFO: possible recursive locking detected ]
> ---------------------------------------------
> rm/7596 is trying to acquire lock:
> (&(&ip->i_lock)->mr_lock){----}, at: [<c01d3d0d>] xfs_ilock+0x4d/0x6e
>
> but task is already holding lock:
> (&(&ip->i_lock)->mr_lock){----}, at: [<c01d3d0d>] xfs_ilock+0x4d/0x6e
>
> other info that might help us debug this:
> 3 locks held by rm/7596:
> #0: (&inode->i_mutex/1){--..}, at: [<c0155ff9>] do_rmdir+0x6c/0xc3
> #1: (&inode->i_mutex){--..}, at: [<c02b21a0>] mutex_lock+0x8/0xa
> #2: (&(&ip->i_lock)->mr_lock){----}, at: [<c01d3d0d>] xfs_ilock+0x4d/0x6e
>
> stack backtrace:
> [<c0102b4c>] show_trace+0xd/0xf
> [<c0102c1e>] dump_stack+0x17/0x19
> [<c012558c>] print_deadlock_bug+0x94/0x9e
> [<c01255d4>] check_deadlock+0x3e/0x52
> [<c0126e34>] __lock_acquire+0x747/0x7ea
> [<c012746f>] lock_acquire+0x5e/0x7e
> [<c01241b8>] down_write+0x19/0x33
> [<c01d3d0d>] xfs_ilock+0x4d/0x6e
> [<c01eefae>] xfs_lock_dir_and_entry+0x8e/0xc8
> [<c01efeb5>] xfs_rmdir+0x1ce/0x3c9
> [<c01f8a45>] xfs_vn_rmdir+0x1c/0x44
> [<c0155f57>] vfs_rmdir+0x5c/0x92
> [<c0156019>] do_rmdir+0x8c/0xc3
> [<c0156060>] sys_rmdir+0x10/0x12
> [<c0102677>] syscall_call+0x7/0xb
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2006-07-04 1:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-04 0:41 [LOCKDEP] xfs: possible recursive locking detected Alexey Dobriyan
2006-07-04 1:18 ` Matthew Wilcox [this message]
2006-07-04 1:25 ` Nathan Scott
2006-07-04 6:32 ` Ingo Molnar
2006-07-04 6:56 ` Nathan Scott
2006-07-04 8:41 ` Ingo Molnar
2006-07-04 9:11 ` Nathan Scott
2006-07-04 9:12 ` Ingo Molnar
2006-07-05 3:23 ` Nathan Scott
2006-07-05 4:44 ` Arjan van de Ven
2006-07-04 9:57 ` Ingo Molnar
2006-07-04 13:03 ` Ingo Molnar
2006-07-05 5:26 ` Nathan Scott
2006-07-05 6:46 ` Ingo Molnar
2006-07-05 6:58 ` Nathan Scott
2006-07-05 3:37 ` Nathan Scott
[not found] ` <20060704191100.C1497438__38681.8935432986$1152004607$gmane$org@wobbly.melbourne.sgi.com>
2006-07-04 12:42 ` Andi Kleen
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=20060704011858.GG1605@parisc-linux.org \
--to=matthew@wil.cx \
--cc=adobriyan@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=mingo@elte.hu \
--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).