login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
April
»
27
Re: 2.6.21 reiserfs -- cicular locking?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: David Brownell <david-b@...>
Cc: Linux Kernel list <linux-kernel@...>, <reiserfs-dev@...>
Subject:
Re: 2.6.21 reiserfs -- cicular locking?
Date: Friday, April 27, 2007 - 1:44 am
On Thu, 26 Apr 2007 16:40:14 -0700 David Brownell <david-b@pacbell.net> wrote:
quoted text
> This might be a Heisenberg, but I figure it's worth posting > in case anyone else sees similar oddness. Never seen it > before or since. It's as if a gremlin got annoyed with me > for switching a filesystem from reiser to ext3. :) > > - Dave > > > ======================================================= > [ INFO: possible circular locking dependency detected ] > 2.6.21-git #6 > ------------------------------------------------------- > vi/4556 is trying to acquire lock: > (&REISERFS_SB(s)->xattr_dir_sem){..--}, at: [<ffffffff802caf4b>] reiserfs_chown_xattrs+0x5b/0x128 > > but task is already holding lock: > (&inode->i_mutex){--..}, at: [<ffffffff8026c4fa>] chown_common+0x93/0xb3 > > which lock already depends on the new lock. > > > the existing dependency chain (in reverse order) is: > > -> #1 (&inode->i_mutex){--..}: > [<ffffffff802405f4>] __lock_acquire+0x9f7/0xbaa > [<ffffffff802ca1ac>] get_xa_root+0x49/0x107 > [<ffffffff80240822>] lock_acquire+0x7b/0x9f > [<ffffffff802ca1ac>] get_xa_root+0x49/0x107 > [<ffffffff8023dee0>] save_trace+0x40/0x9e > [<ffffffff8041e1db>] __mutex_lock_slowpath+0xd8/0x281 > [<ffffffff8041ff18>] _spin_unlock_irq+0x24/0x4a > [<ffffffff802ca1ac>] get_xa_root+0x49/0x107 > [<ffffffff802ca2a8>] open_xa_dir+0x1c/0xf8 > [<ffffffff8041f34b>] __down_read+0x34/0x9d > [<ffffffff802cb50a>] reiserfs_delete_xattrs+0x64/0x185 > [<ffffffff802fd620>] _atomic_dec_and_lock+0x14/0x34 > [<ffffffff802b252e>] reiserfs_delete_inode+0x38/0xae > [<ffffffff8027f6bc>] generic_delete_inode+0x64/0xf5 > [<ffffffff802b24f6>] reiserfs_delete_inode+0x0/0xae > [<ffffffff8027f6d2>] generic_delete_inode+0x7a/0xf5 > [<ffffffff80276b95>] do_unlinkat+0xd9/0x14f > [<ffffffff8023f75f>] trace_hardirqs_on+0x123/0x14d > [<ffffffff8041f4d1>] trace_hardirqs_on_thunk+0x35/0x37 > [<ffffffff8020954e>] system_call+0x7e/0x83 > [<ffffffffffffffff>] 0xffffffffffffffff > > -> #0 (&REISERFS_SB(s)->xattr_dir_sem){..--}: > [<ffffffff8023ee6f>] print_circular_bug_header+0xcc/0xd3 > [<ffffffff802404f0>] __lock_acquire+0x8f3/0xbaa > [<ffffffff802caf4b>] reiserfs_chown_xattrs+0x5b/0x128 > [<ffffffff80240822>] lock_acquire+0x7b/0x9f > [<ffffffff802caf4b>] reiserfs_chown_xattrs+0x5b/0x128 > [<ffffffff8023bb03>] down_read+0x32/0x3b > [<ffffffff802caf4b>] reiserfs_chown_xattrs+0x5b/0x128 > [<ffffffff8022e285>] __capable+0x9/0x1d > [<ffffffff802b2828>] reiserfs_setattr+0x11e/0x1ec > [<ffffffff8022bd6b>] current_fs_time+0x35/0x3a > [<ffffffff802803a1>] notify_change+0x122/0x231 > [<ffffffff8026c505>] chown_common+0x9e/0xb3 > [<ffffffff8026e7a6>] fget+0x88/0xa7 > [<ffffffff8026c54a>] sys_fchown+0x30/0x47 > [<ffffffff8020954e>] system_call+0x7e/0x83 > [<ffffffffffffffff>] 0xffffffffffffffff > > other info that might help us debug this: > > 1 lock held by vi/4556: > #0: (&inode->i_mutex){--..}, at: [<ffffffff8026c4fa>] chown_common+0x93/0xb3 > > stack backtrace: > > Call Trace: > [<ffffffff8023eacc>] print_circular_bug_tail+0x69/0x72 > [<ffffffff8023ee6f>] print_circular_bug_header+0xcc/0xd3 > [<ffffffff802404f0>] __lock_acquire+0x8f3/0xbaa > [<ffffffff802caf4b>] reiserfs_chown_xattrs+0x5b/0x128 > [<ffffffff80240822>] lock_acquire+0x7b/0x9f > [<ffffffff802caf4b>] reiserfs_chown_xattrs+0x5b/0x128 > [<ffffffff8023bb03>] down_read+0x32/0x3b > [<ffffffff802caf4b>] reiserfs_chown_xattrs+0x5b/0x128 > [<ffffffff8022e285>] __capable+0x9/0x1d > [<ffffffff802b2828>] reiserfs_setattr+0x11e/0x1ec > [<ffffffff8022bd6b>] current_fs_time+0x35/0x3a > [<ffffffff802803a1>] notify_change+0x122/0x231 > [<ffffffff8026c505>] chown_common+0x9e/0xb3 > [<ffffffff8026e7a6>] fget+0x88/0xa7 > [<ffffffff8026c54a>] sys_fchown+0x30/0x47 > [<ffffffff8020954e>] system_call+0x7e/0x83 >
cc added. This was also reported againt -rc7-mm1 (or 2) -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
2.6.21 reiserfs -- cicular locking?
, David Brownell
, (Thu Apr 26, 7:40 pm)
Re: 2.6.21 reiserfs -- cicular locking?
, Andrew Morton
, (Fri Apr 27, 1:44 am)
Re: 2.6.21 reiserfs -- cicular locking?
, Takashi Iwai
, (Fri Apr 27, 6:09 am)
Re: 2.6.21 reiserfs -- cicular locking?
, Takashi Iwai
, (Fri Apr 27, 6:53 am)
Re: 2.6.21 reiserfs -- cicular locking?
, Jeff Mahoney
, (Fri Apr 27, 7:09 am)
Re: 2.6.21 reiserfs -- cicular locking?
, Takashi Iwai
, (Fri Apr 27, 8:20 am)
Re: 2.6.21 reiserfs -- cicular locking?
, Jeff Mahoney
, (Fri Apr 27, 11:17 am)
Re: 2.6.21 reiserfs -- cicular locking?
, Jeff Mahoney
, (Fri Apr 27, 12:21 pm)
Re: 2.6.21 reiserfs -- cicular locking?
, Antonino A. Daplas
, (Fri Apr 27, 1:11 pm)
Re: 2.6.21 reiserfs -- cicular locking?
, Takashi Iwai
, (Fri Apr 27, 1:01 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Rafael J. Wysocki
[Bug #11210] libata badness
Andrea Arcangeli
[PATCH 00 of 11] mmu notifier #v16
Andrew Morton
Re: -mm merge plans for 2.6.23 -- sys_fallocate
git
:
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Daniel Eischen
Re: error with thread
David Miller
Re: [GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Colocation donated by:
Who's online
There are currently
2 users
and
841 guests
online.
Online users
shines73
strcmp
Syndicate