From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 41682] INFO: possible circular locking dependency detected .. at ext4_evict_inode Date: Mon, 29 Aug 2011 02:59:19 GMT Message-ID: <201108290259.p7T2xJq0025517@demeter1.kernel.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: linux-ext4@vger.kernel.org Return-path: Received: from demeter1.kernel.org ([140.211.167.39]:48262 "EHLO demeter1.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751961Ab1H2C7U (ORCPT ); Sun, 28 Aug 2011 22:59:20 -0400 Received: from demeter1.kernel.org (localhost.localdomain [127.0.0.1]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7T2xJKs025518 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 29 Aug 2011 02:59:19 GMT In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=41682 Shaun Ruffell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sruffell@sruffell.net --- Comment #7 from Shaun Ruffell 2011-08-29 02:59:11 --- It looks like this is already being worked, but I thought I would add my backtrace, which looks nearly identical to the one from Tetsuo Handa on 2011-08-25 06:49:29. [ 3188.604654] ================================= [ 3188.610014] [ INFO: inconsistent lock state ] [ 3188.610014] 3.1.0-rc3.sruffelldbg #13 [ 3188.610014] --------------------------------- [ 3188.610014] inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-W} usage. [ 3188.610014] kswapd0/26 [HC0[0]:SC0[0]:HE1:SE1] takes: [ 3188.610014] (&sb->s_type->i_mutex_key#11){+.+.?.}, at: [] ext4_evict_inode+0x34/0x4a0 [ 3188.610014] {RECLAIM_FS-ON-W} state was registered at: [ 3188.610014] [] mark_held_locks+0xb7/0x150 [ 3188.610014] [] lockdep_trace_alloc+0x9f/0xd0 [ 3188.610014] [] kmem_cache_alloc+0x3a/0x160 [ 3188.610014] [] __d_alloc+0x37/0x1a0 [ 3188.610014] [] d_alloc+0x28/0x80 [ 3188.610014] [] d_alloc_and_lookup+0x2d/0x90 [ 3188.610014] [] do_lookup+0x263/0x380 [ 3188.610014] [] path_lookupat+0x12c/0x7a0 [ 3188.690010] [] do_path_lookup+0x31/0xc0 [ 3188.690010] [] kern_path+0x2a/0x50 [ 3188.690010] [] do_mount+0xa7/0x240 [ 3188.690010] [] sys_mount+0x90/0xe0 [ 3188.690010] [] system_call_fastpath+0x16/0x1b [ 3188.690010] irq event stamp: 1383041 [ 3188.690010] hardirqs last enabled at (1383041): [] __call_rcu+0x101/0x1e0 [ 3188.690010] hardirqs last disabled at (1383040): [] __call_rcu+0x7c/0x1e0 [ 3188.690010] softirqs last enabled at (1380030): [] __do_softirq+0x146/0x230 [ 3188.690010] softirqs last disabled at (1380015): [] call_softirq+0x1c/0x30 [ 3188.690010] [ 3188.690010] other info that might help us debug this: [ 3188.690010] Possible unsafe locking scenario: [ 3188.690010] [ 3188.690010] CPU0 [ 3188.690010] ---- [ 3188.690010] lock(&sb->s_type->i_mutex_key); [ 3188.690010] [ 3188.690010] lock(&sb->s_type->i_mutex_key); [ 3188.690010] [ 3188.690010] *** DEADLOCK *** [ 3188.690010] [ 3188.690010] 2 locks held by kswapd0/26: [ 3188.690010] #0: (shrinker_rwsem){++++..}, at: [] shrink_slab+0x3c/0x2f0 [ 3188.690010] #1: (&type->s_umount_key#22){+++++.}, at: [] grab_super_passive+0x54/0xa0 [ 3188.690010] [ 3188.690010] stack backtrace: [ 3188.690010] Pid: 26, comm: kswapd0 Not tainted 3.1.0-rc3.sruffelldbg #13 [ 3188.690010] Call Trace: [ 3188.690010] [] ? _raw_spin_unlock_irqrestore+0x67/0x70 [ 3188.690010] [] print_usage_bug+0x1a0/0x1f0 [ 3188.690010] [] ? print_irq_inversion_bug+0x220/0x220 [ 3188.690010] [] mark_lock_irq+0x117/0x2d0 [ 3188.690010] [] mark_lock+0x18d/0x410 [ 3188.690010] [] ? local_clock+0x6f/0x80 [ 3188.690010] [] mark_irqflags+0xb6/0x1a0 [ 3188.690010] [] __lock_acquire+0x20c/0x930 [ 3188.690010] [] lock_acquire+0xa4/0x130 [ 3188.690010] [] ? ext4_evict_inode+0x34/0x4a0 [ 3188.690010] [] ? local_clock+0x6f/0x80 [ 3188.690010] [] mutex_lock_nested+0x57/0x340 [ 3188.690010] [] ? ext4_evict_inode+0x34/0x4a0 [ 3188.690010] [] ? lock_release_holdtime+0x35/0x180 [ 3188.690010] [] ? ext4_evict_inode+0x34/0x4a0 [ 3188.690010] [] ? evict+0x91/0x1a0 [ 3188.690010] [] ext4_evict_inode+0x34/0x4a0 [ 3188.690010] [] evict+0x9f/0x1a0 [ 3188.690010] [] dispose_list+0x47/0x60 [ 3188.690010] [] prune_icache_sb+0x152/0x320 [ 3188.690010] [] prune_super+0x14b/0x1a0 [ 3188.690010] [] shrink_slab+0x194/0x2f0 [ 3188.690010] [] ? shrink_zone+0x175/0x270 [ 3188.690010] [] ? _raw_spin_unlock+0x2b/0x40 [ 3188.690010] [] balance_pgdat+0x736/0x940 [ 3188.690010] [] ? balance_pgdat+0x940/0x940 [ 3188.690010] [] kswapd+0x109/0x220 [ 3188.690010] [] ? balance_pgdat+0x940/0x940 [ 3188.690010] [] kthread+0xb6/0xc0 [ 3188.690010] [] ? trace_hardirqs_on_caller+0x125/0x1b0 [ 3188.690010] [] kernel_thread_helper+0x4/0x10 [ 3188.690010] [] ? retint_restore_args+0x13/0x13 [ 3188.690010] [] ? __init_kthread_worker+0x70/0x70 [ 3188.690010] [] ? gs_change+0x13/0x13 -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.