From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (Postfix) with ESMTP id 923247F47 for ; Tue, 16 Sep 2014 16:53:52 -0500 (CDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay1.corp.sgi.com (Postfix) with ESMTP id 7D80B8F8039 for ; Tue, 16 Sep 2014 14:53:52 -0700 (PDT) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id BsM3qlmeVrWPDSDk for ; Tue, 16 Sep 2014 14:53:49 -0700 (PDT) Date: Wed, 17 Sep 2014 07:53:36 +1000 From: Dave Chinner Subject: [BUG, 3.17-rc4] dentry still in use during unmount Message-ID: <20140916215336.GL4322@dastard> MIME-Version: 1.0 Content-Disposition: inline List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Al Viro Cc: linux-fsdevel@vger.kernel.org, xfs@oss.sgi.com Hi Al, One of my xfstest rigs tripped over this last night when running xfs/301 on a pair of 4G ramdisks during an auto group run: BUG: Dentry ffff8803c14fc870{i=0,n=dir} still in use (-127) [unmount of xfs ram1] ------------[ cut here ]------------ WARNING: CPU: 4 PID: 27856 at fs/dcache.c:1319 umount_check+0x7f/0x90() Modules linked in: CPU: 4 PID: 27856 Comm: umount Tainted: G W 3.17.0-rc4-dgc+ #479 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 0000000000000009 ffff88025eeefd80 ffffffff81cf7327 0000000000000000 ffff88025eeefdb8 ffffffff810933bd ffff8803c14fc870 ffff88011aeba800 ffffffff81db2860 ffff88023acf72c0 00000000002353d2 ffff88025eeefdc8 Call Trace: [] dump_stack+0x45/0x56 [] warn_slowpath_common+0x7d/0xa0 [] warn_slowpath_null+0x1a/0x20 [] umount_check+0x7f/0x90 [] d_walk+0x66/0x2c0 [] ? d_lru_del+0xa0/0xa0 [] do_one_tree+0x26/0x40 [] shrink_dcache_for_umount+0x5a/0x90 [] generic_shutdown_super+0x21/0xf0 [] kill_block_super+0x3c/0x90 [] deactivate_locked_super+0x49/0x60 [] deactivate_super+0x46/0x60 [] mntput_no_expire+0xca/0x120 [] SyS_umount+0x8e/0x100 [] system_call_fastpath+0x16/0x1b ---[ end trace 15254c3c565abf1a ]--- VFS: Busy inodes after unmount of ram1. Self-destruct in 5 seconds. Have a nice day... I can't reproduce it easily: $ sudo MKFS_OPTIONS="-m crc=1,finobt=1" ./check xfs/301 FSTYP -- xfs (debug) PLATFORM -- Linux/x86_64 test4 3.17.0-rc4-dgc+ MKFS_OPTIONS -- -f -m crc=1,finobt=1 /dev/ram1 MOUNT_OPTIONS -- /dev/ram1 /mnt/scr xfs/301 12s ... 12s Ran: xfs/301 Passed all 1 tests $ And even run in a loop for 20 minutes it hasn't triggered the error. I haven't seen this before, so I thought I better give you the heads up just in case. Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs