FYI, we noticed the following commit:
commit: a5e7d87b70eca577cee91ad63c64fe673133409f ("user-namespaced file capabilities
- now with even more magic")
git://internal_merge_and_test_tree
revert-a5e7d87b70eca577cee91ad63c64fe673133409f-93104cc99b44e21bdd3eb0fe86e24147c4eb01ae
in testcase: xfstests
with following parameters:
disk: 4HDD
fs: xfs
test: xfs-quick2
test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url:
git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
on test machine: 4 threads Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz with 6G memory
caused below changes:
+------------------------------------------------+------------+------------+
| | 93104cc99b | a5e7d87b70 |
+------------------------------------------------+------------+------------+
| boot_successes | 4 | 0 |
| boot_failures | 0 | 4 |
| BUG:Dentry_still_in_use | 0 | 4 |
| WARNING:at_fs/dcache.c:#umount_check | 0 | 4 |
| WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup | 0 | 2 |
| calltrace:parport_pc_init | 0 | 2 |
| calltrace:SyS_finit_module | 0 | 2 |
| WARNING:at_lib/kobject.c:#kobject_add_internal | 0 | 2 |
+------------------------------------------------+------------+------------+
[ 213.353821] run fstests xfs/296 at 2016-12-17 14:15:11
[ 214.654055] XFS (sda8): Mounting V5 Filesystem
[ 214.736005] XFS (sda8): Ending clean mount
[ 225.041851] BUG: Dentry ffff8801bd218c00{i=80000a1,n=testfile} still in use (1)
[unmount of xfs sda8]
[ 225.052013] ------------[ cut here ]------------
[ 225.057467] WARNING: CPU: 3 PID: 4526 at fs/dcache.c:1436 umount_check+0x72/0x80
[ 225.067127] Modules linked in: loop dm_mod rpcsec_gss_krb5 auth_rpcgss nfsv4
dns_resolver netconsole btrfs xor raid6_pq sd_mod sg snd_hda_codec_hdmi ata_generic
snd_hda_codec_realtek snd_hda_codec_generic pata_acpi intel_rapl x86_pkg_temp_thermal
coretemp eeepc_wmi asus_wmi sparse_keymap rfkill ppdev kvm_intel i915 snd_hda_intel kvm
irqbypass crct10dif_pclmul snd_hda_codec crc32_pclmul crc32c_intel snd_hda_core snd_hwdep
ghash_clmulni_intel drm_kms_helper aesni_intel lrw gf128mul glue_helper ata_piix pata_via
ablk_helper syscopyarea cryptd pcspkr sysfillrect serio_raw snd_pcm libata sysimgblt
fb_sys_fops shpchp snd_timer snd drm soundcore wmi parport_pc parport tpm_infineon video
ip_tables [last unloaded: scsi_debug]
[ 225.136810] CPU: 3 PID: 4526 Comm: umount Not tainted 4.9.0-rc6-00007-ga5e7d87 #1
[ 225.145031] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS
1002 04/01/2011
[ 225.154925] ffffc90003f43d00 ffffffff81466519 0000000000000000 0000000000000000
[ 225.163189] ffffc90003f43d40 ffffffff8108041b 0000059c03f43d18 ffff8801bd218a80
[ 225.171454] ffff8801bd218c00 ffff8801bd218c90 ffff8801bd218b20 ffff8801bd218c58
[ 225.179727] Call Trace:
[ 225.182975] [<ffffffff81466519>] dump_stack+0x63/0x8a
[ 225.188912] [<ffffffff8108041b>] __warn+0xcb/0xf0
[ 225.194501] [<ffffffff8108050d>] warn_slowpath_null+0x1d/0x20
[ 225.201135] [<ffffffff81229ea2>] umount_check+0x72/0x80
[ 225.207253] [<ffffffff812299df>] d_walk+0xcf/0x2f0
[ 225.212937] [<ffffffff81229e30>] ? dentry_free+0x80/0x80
[ 225.219144] [<ffffffff8122b346>] do_one_tree+0x26/0x40
[ 225.225177] [<ffffffff8122c63d>] shrink_dcache_for_umount+0x2d/0x90
[ 225.232343] [<ffffffff8121466f>] generic_shutdown_super+0x1f/0x100
[ 225.239425] [<ffffffff81214a57>] kill_block_super+0x27/0x70
[ 225.245904] [<ffffffff81214ba3>] deactivate_locked_super+0x43/0x70
[ 225.252991] [<ffffffff812150ba>] deactivate_super+0x5a/0x60
[ 225.259469] [<ffffffff81233e6f>] cleanup_mnt+0x3f/0x90
[ 225.265504] [<ffffffff81233f02>] __cleanup_mnt+0x12/0x20
[ 225.271721] [<ffffffff8109ec75>] task_work_run+0x85/0xc0
[ 225.277934] [<ffffffff8100328a>] exit_to_usermode_loop+0xaa/0xb0
[ 225.284844] [<ffffffff81003afa>] syscall_return_slowpath+0xaa/0xb0
[ 225.291921] [<ffffffff81956404>] entry_SYSCALL_64_fastpath+0xa7/0xa9
[ 225.299186] ---[ end trace 35c8e7073ba2e19a ]---
[ 225.305130] BUG: Dentry ffff88017b78a540{i=64,n=testfile} still in use (1) [unmount of
xfs sda8]
[ 225.315388] ------------[ cut here ]------------
[ 225.321306] WARNING: CPU: 3 PID: 4526 at fs/dcache.c:1436 umount_check+0x72/0x80
[ 225.331417] Modules linked in: loop dm_mod rpcsec_gss_krb5 auth_rpcgss nfsv4
dns_resolver netconsole btrfs xor raid6_pq sd_mod sg snd_hda_codec_hdmi ata_generic
snd_hda_codec_realtek snd_hda_codec_generic pata_acpi intel_rapl x86_pkg_temp_thermal
coretemp eeepc_wmi asus_wmi sparse_keymap rfkill ppdev kvm_intel i915 snd_hda_intel kvm
irqbypass crct10dif_pclmul snd_hda_codec crc32_pclmul crc32c_intel snd_hda_core snd_hwdep
ghash_clmulni_intel drm_kms_helper aesni_intel lrw gf128mul glue_helper ata_piix pata_via
ablk_helper syscopyarea cryptd pcspkr sysfillrect serio_raw snd_pcm libata sysimgblt
fb_sys_fops shpchp snd_timer snd drm soundcore wmi parport_pc parport tpm_infineon video
ip_tables [last unloaded: scsi_debug]
[ 225.403449] CPU: 3 PID: 4526 Comm: umount Tainted: G W
4.9.0-rc6-00007-ga5e7d87 #1
[ 225.413263] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS
1002 04/01/2011
[ 225.423519] ffffc90003f43d00 ffffffff81466519 0000000000000000 0000000000000000
[ 225.432129] ffffc90003f43d40 ffffffff8108041b 0000059c03f43d18 ffff8801bd2b9b40
[ 225.440748] ffff88017b78a540 ffff88017b78a5d0 ffff8801bd2b9be0 ffff88017b78a598
[ 225.449357] Call Trace:
[ 225.452913] [<ffffffff81466519>] dump_stack+0x63/0x8a
[ 225.459149] [<ffffffff8108041b>] __warn+0xcb/0xf0
[ 225.465016] [<ffffffff8108050d>] warn_slowpath_null+0x1d/0x20
[ 225.471903] [<ffffffff81229ea2>] umount_check+0x72/0x80
[ 225.478245] [<ffffffff812299df>] d_walk+0xcf/0x2f0
[ 225.484119] [<ffffffff81229e30>] ? dentry_free+0x80/0x80
[ 225.490487] [<ffffffff8122b346>] do_one_tree+0x26/0x40
[ 225.496659] [<ffffffff8122c63d>] shrink_dcache_for_umount+0x2d/0x90
[ 225.503947] [<ffffffff8121466f>] generic_shutdown_super+0x1f/0x100
[ 225.511137] [<ffffffff81214a57>] kill_block_super+0x27/0x70
[ 225.517708] [<ffffffff81214ba3>] deactivate_locked_super+0x43/0x70
[ 225.524884] [<ffffffff812150ba>] deactivate_super+0x5a/0x60
[ 225.531443] [<ffffffff81233e6f>] cleanup_mnt+0x3f/0x90
[ 225.537557] [<ffffffff81233f02>] __cleanup_mnt+0x12/0x20
[ 225.543848] [<ffffffff8109ec75>] task_work_run+0x85/0xc0
[ 225.550139] [<ffffffff8100328a>] exit_to_usermode_loop+0xaa/0xb0
[ 225.557128] [<ffffffff81003afa>] syscall_return_slowpath+0xaa/0xb0
[ 225.564288] [<ffffffff81956404>] entry_SYSCALL_64_fastpath+0xa7/0xa9
[ 225.571633] ---[ end trace 35c8e7073ba2e19b ]---
[ 226.228848] XFS (sda8): Unmounting Filesystem
To reproduce:
git clone
git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Xiaolong