All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Al Viro <viro@ZenIV.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org, xfs@oss.sgi.com
Subject: [BUG, 3.17-rc4] dentry still in use during unmount
Date: Wed, 17 Sep 2014 07:53:36 +1000	[thread overview]
Message-ID: <20140916215336.GL4322@dastard> (raw)

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:
 [<ffffffff81cf7327>] dump_stack+0x45/0x56
 [<ffffffff810933bd>] warn_slowpath_common+0x7d/0xa0
 [<ffffffff8109349a>] warn_slowpath_null+0x1a/0x20
 [<ffffffff811c1baf>] umount_check+0x7f/0x90
 [<ffffffff811c2ea6>] d_walk+0x66/0x2c0
 [<ffffffff811c1b30>] ? d_lru_del+0xa0/0xa0
 [<ffffffff811c3286>] do_one_tree+0x26/0x40
 [<ffffffff811c43ba>] shrink_dcache_for_umount+0x5a/0x90
 [<ffffffff811aebe1>] generic_shutdown_super+0x21/0xf0
 [<ffffffff811aefdc>] kill_block_super+0x3c/0x90
 [<ffffffff811af309>] deactivate_locked_super+0x49/0x60
 [<ffffffff811af8b6>] deactivate_super+0x46/0x60
 [<ffffffff811cb04a>] mntput_no_expire+0xca/0x120
 [<ffffffff811cc5ce>] SyS_umount+0x8e/0x100
 [<ffffffff81d025e9>] 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

             reply	other threads:[~2014-09-16 21:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-16 21:53 Dave Chinner [this message]
2014-09-16 22:30 ` [BUG, 3.17-rc4] dentry still in use during unmount Al Viro
2014-09-16 22:40   ` Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140916215336.GL4322@dastard \
    --to=david@fromorbit.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=viro@ZenIV.linux.org.uk \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.