From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Chinner Subject: [BUG, 3.17-rc4] dentry still in use during unmount Date: Wed, 17 Sep 2014 07:53:36 +1000 Message-ID: <20140916215336.GL4322@dastard> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, xfs@oss.sgi.com To: Al Viro Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com List-Id: linux-fsdevel.vger.kernel.org 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