Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753732AbZCFJbR (ORCPT ); Fri, 6 Mar 2009 04:31:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750753AbZCFJbB (ORCPT ); Fri, 6 Mar 2009 04:31:01 -0500 Received: from mail-bw0-f178.google.com ([209.85.218.178]:62591 "EHLO mail-bw0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750724AbZCFJa6 (ORCPT ); Fri, 6 Mar 2009 04:30:58 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HBBO01YCOkKwh2ZO9MGOTwYNOhSlOJQdEeKsUOg2XbXwYD22zvt+dktgDAkNolkUkO BDPraDsPl1EB2wISuQo/CkIx4kJKVoxvr3l1MmIgtnyDty1DYVdxVIGvT3/DdoORKO6V eVTgzLxgIhRDfmK/xelEUKRKh3KH+SBZCTVQM= MIME-Version: 1.0 In-Reply-To: <20090303170248.GA7036@infradead.org> References: <20090224200740.GA9266@infradead.org> <49AD5401.30803@sandeen.net> <20090303170248.GA7036@infradead.org> Date: Fri, 6 Mar 2009 12:30:53 +0300 Message-ID: Subject: Re: next-20090220: XFS: inconsistent lock state From: Alexander Beregalov To: Christoph Hellwig Cc: Felix Blyakher , Eric Sandeen , "linux-next@vger.kernel.org" , LKML , xfs@oss.sgi.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3637 Lines: 84 Hi Is it the same issue? [ INFO: inconsistent lock state ] 2.6.29-rc7-next-20090305 #8 --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. kswapd0/318 [HC0[0]:SC0[0]:HE1:SE1] takes: (&(&ip->i_lock)->mr_lock){+++++?}, at: [] xfs_ilock+0xaa/0x120 {RECLAIM_FS-ON-W} state was registered at: [] mark_held_locks+0x69/0x90 [] lockdep_trace_alloc+0x41/0xb0 [] kmem_cache_alloc+0x2d/0x100 [] kmem_zone_alloc+0x97/0xe0 [] kmem_zone_zalloc+0x19/0x50 [] xfs_da_state_alloc+0x15/0x20 [] xfs_dir2_node_lookup+0x17/0x110 [] xfs_dir_lookup+0x1c8/0x1e0 [] xfs_lookup+0x4f/0xe0 [] xfs_vn_lookup+0x49/0x90 [] do_lookup+0x1b6/0x250 [] __link_path_walk+0x295/0xec0 [] path_walk+0x6e/0xe0 [] do_path_lookup+0xa6/0x1d0 [] path_lookup_open+0x65/0xd0 [] do_filp_open+0xaa/0x8f0 [] do_sys_open+0x78/0x110 [] sys_open+0x1b/0x20 [] system_call_fastpath+0x16/0x1b [] 0xffffffffffffffff irq event stamp: 531011 hardirqs last enabled at (531011): [] __rcu_read_unlock+0xa4/0xc0 hardirqs last disabled at (531010): [] __rcu_read_unlock+0x59/0xc0 softirqs last enabled at (524334): [] __do_softirq+0x139/0x150 softirqs last disabled at (524329): [] call_softirq+0x1c/0x30 other info that might help us debug this: 2 locks held by kswapd0/318: #0: (shrinker_rwsem){++++..}, at: [] shrink_slab+0x32/0x1c0 #1: (iprune_mutex){+.+.-.}, at: [] shrink_icache_memory+0x84/0x2a0 stack backtrace: Pid: 318, comm: kswapd0 Not tainted 2.6.29-rc7-next-20090305 #8 Call Trace: [] print_usage_bug+0x17d/0x190 [] mark_lock+0x31d/0x450 [] ? check_usage_forwards+0x0/0xc0 [] __lock_acquire+0x40d/0x12a0 [] lock_acquire+0x91/0xc0 [] ? xfs_ilock+0xaa/0x120 [] down_read_nested+0x50/0x90 [] ? xfs_ilock+0xaa/0x120 [] xfs_ilock+0xaa/0x120 [] xfs_free_eofblocks+0x84/0x280 [] ? __lock_acquire+0x2cc/0x12a0 [] xfs_inactive+0xee/0x540 [] xfs_fs_clear_inode+0x67/0x70 [] clear_inode+0x9a/0x120 [] dispose_list+0x30/0x110 [] shrink_icache_memory+0x248/0x2a0 [] shrink_slab+0x15c/0x1c0 [] kswapd+0x56a/0x6b0 [] ? finish_task_switch+0x46/0x110 [] ? isolate_pages_global+0x0/0x270 [] ? autoremove_wake_function+0x0/0x40 [] ? kswapd+0x0/0x6b0 [] kthread+0x56/0x90 [] child_rip+0xa/0x20 [] ? finish_task_switch+0x89/0x110 [] ? _spin_unlock_irq+0x36/0x60 [] ? restore_args+0x0/0x30 [] ? kthread+0x0/0x90 [] ? child_rip+0x0/0x20 -- 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/