Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754132AbZLTMJh (ORCPT ); Sun, 20 Dec 2009 07:09:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753147AbZLTMJh (ORCPT ); Sun, 20 Dec 2009 07:09:37 -0500 Received: from mail-bw0-f227.google.com ([209.85.218.227]:37718 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751406AbZLTMJf (ORCPT ); Sun, 20 Dec 2009 07:09:35 -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; b=Ehw8SCqNEHC+qHgnznJgXqlibvFlDm1yGglswkbpluga1PieY9DltueElGLVUQGLpS iKv7UknUdv7jIdfRg67G8A3nBCAbABEDCzv50ZVyWX5dTldxmguo8hPgsmDEbhvCV/tr 5LwyBWvl1aNaFAdOEyrZp0S3y+/SSZ/NgpraI= MIME-Version: 1.0 In-Reply-To: <20091216224117.GA5014@nowhere> References: <20091214110921.GA5168@nowhere> <20091216224117.GA5014@nowhere> Date: Sun, 20 Dec 2009 15:09:33 +0300 Message-ID: Subject: Re: 2.6.33-rc0: reiserfs: inconsistent lock state From: Alexander Beregalov To: Frederic Weisbecker Cc: Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3437 Lines: 86 Hi Frederic This is Linus's v2.6.33-rc1-96-gdd59f6c plus your 47376ceba5 "reiserfs: Fix reiserfs lock <-> inode mutex dependency inversion" [ INFO: inconsistent lock state ] 2.6.33-rc1-00101-g476ef56 #1 --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-W} usage. kswapd0/313 [HC0[0]:SC0[0]:HE1:SE1] takes: (&REISERFS_SB(s)->lock){+.+.?.}, at: [] reiserfs_write_lock_once+0x28/0x50 {RECLAIM_FS-ON-W} state was registered at: [] mark_held_locks+0x62/0x90 [] lockdep_trace_alloc+0x9a/0xc0 [] kmem_cache_alloc+0x26/0xf0 [] __get_vm_area_node+0x6c/0xf0 [] __vmalloc_node+0x7e/0xa0 [] vmalloc+0x2b/0x30 [] journal_init+0x2a/0x9f0 [] reiserfs_fill_super+0x342/0xb80 [] get_sb_bdev+0x145/0x180 [] get_super_block+0x21/0x30 [] vfs_kern_mount+0x40/0xd0 [] do_kern_mount+0x39/0xd0 [] do_mount+0x2c7/0x6b0 [] sys_mount+0x66/0xa0 [] mount_block_root+0xc4/0x245 [] mount_root+0x59/0x5f [] prepare_namespace+0x111/0x14b [] kernel_init+0xcf/0xdb [] kernel_thread_helper+0x6/0x1c irq event stamp: 2148275 hardirqs last enabled at (2148275): [] __mutex_unlock_slowpath+0x9a/0x120 hardirqs last disabled at (2148274): [] __mutex_unlock_slowpath+0x39/0x120 softirqs last enabled at (2147974): [] __do_softirq+0xc1/0x110 softirqs last disabled at (2147957): [] do_softirq+0x4d/0x60 other info that might help us debug this: 2 locks held by kswapd0/313: #0: (shrinker_rwsem){++++..}, at: [] shrink_slab+0x24/0x170 #1: (&type->s_umount_key#19){++++..}, at: [] shrink_dcache_memory+0xfd/0x1a0 stack backtrace: Pid: 313, comm: kswapd0 Not tainted 2.6.33-rc1-00101-g476ef56 #1 Call Trace: [] ? printk+0x18/0x1c [] print_usage_bug+0x15f/0x1a0 [] mark_lock+0x39f/0x5a0 [] ? trace_hardirqs_off+0xb/0x10 [] ? check_usage_forwards+0x0/0xf0 [] __lock_acquire+0x214/0xa70 [] ? T.321+0x15/0x1a0 [] lock_acquire+0x7a/0xa0 [] ? reiserfs_write_lock_once+0x28/0x50 [] mutex_lock_nested+0x5f/0x2b0 [] ? reiserfs_write_lock_once+0x28/0x50 [] ? reiserfs_write_lock_once+0x28/0x50 [] reiserfs_write_lock_once+0x28/0x50 [] reiserfs_delete_inode+0x50/0x140 [] ? generic_delete_inode+0x5f/0x150 [] ? reiserfs_delete_inode+0x0/0x140 [] generic_delete_inode+0x9c/0x150 [] generic_drop_inode+0x3d/0x60 [] iput+0x47/0x50 [] dentry_iput+0x6f/0xf0 [] d_kill+0x24/0x50 [] __shrink_dcache_sb+0x21d/0x2b0 [] shrink_dcache_memory+0x12f/0x1a0 [] shrink_slab+0x10e/0x170 [] kswapd+0x487/0x740 [] ? isolate_pages_global+0x0/0x1b0 [] ? autoremove_wake_function+0x0/0x40 [] ? kswapd+0x0/0x740 [] kthread+0x6c/0x80 [] ? kthread+0x0/0x80 [] kernel_thread_helper+0x6/0x1c -- 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/