lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160818141710.GB22029@yexl-desktop>
Date:	Thu, 18 Aug 2016 22:17:10 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	Wang Xiaoguang <wangxg.fnst@...fujitsu.com>
Cc:	David Sterba <dsterba@...e.com>, Josef Bacik <jbacik@...com>,
	LKML <linux-kernel@...r.kernel.org>,
	Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...orG,
	linux-btrfs@...r.kernel.org
Subject: [lkp] [btrfs]  b59d039fe0: WARNING: CPU: 1 PID: 14379 at
 fs/btrfs/extent-tree.c:10035 btrfs_free_block_groups+0x29b/0x420 [btrfs]


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit b59d039fe07948449b61473a27f4752eb7f7f4c5 ("btrfs: update btrfs_space_info's bytes_may_use timely")

in testcase: xfstests
with following parameters:

	disk: 4HDD
	fs: btrfs
	test: generic-quick1


on test machine: 4 threads Sandy Bridge with 6G memory

caused below changes:


+-------------------------------------------------------------------+------------+------------+
|                                                                   | 15bfea7633 | b59d039fe0 |
+-------------------------------------------------------------------+------------+------------+
| boot_successes                                                    | 5          | 4          |
| boot_failures                                                     | 0          | 4          |
| WARNING:at_fs/btrfs/extent-tree.c:#btrfs_free_block_groups[btrfs] | 0          | 4          |
+-------------------------------------------------------------------+------------+------------+



[  117.256126] BTRFS info (device dm-0): has skinny extents
[  117.280474] BTRFS info (device dm-0): checking UUID tree
[  117.394845] ------------[ cut here ]------------
[  117.400772] WARNING: CPU: 1 PID: 14379 at fs/btrfs/extent-tree.c:10035 btrfs_free_block_groups+0x29b/0x420 [btrfs]
[  117.415465] Modules linked in: dm_flakey dm_mod rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole btrfs xor raid6_pq sg sd_mod snd_hda_codec_hdmi ata_generic snd_hda_codec_realtek snd_hda_codec_generic pata_acpi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel i915 kvm irqbypass crct10dif_pclmul crc32_pclmul drm_kms_helper syscopyarea crc32c_intel sysfillrect sysimgblt ghash_clmulni_intel fb_sys_fops eeepc_wmi aesni_intel lrw snd_hda_intel asus_wmi sparse_keymap rfkill snd_hda_codec snd_hda_core snd_hwdep ppdev gf128mul ata_piix pata_via glue_helper ablk_helper snd_pcm cryptd pcspkr serio_raw libata drm snd_timer snd soundcore shpchp wmi parport_pc parport tpm_infineon video
[  117.484574] CPU: 1 PID: 14379 Comm: umount Not tainted 4.7.0-rc6-00083-gb59d039 #1
[  117.493150] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011
[  117.503299]  0000000000000000 ffff8800a3cffcf0 ffffffff8143669b 0000000000000000
[  117.511820]  0000000000000000 ffff8800a3cffd30 ffffffff8107d3fb 0000273300000000
[  117.520330]  ffff8800a47ed288 ffff8800ac282000 ffff8800a47ed200 ffff8800a47ed000
[  117.528833] Call Trace:
[  117.532295]  [<ffffffff8143669b>] dump_stack+0x63/0x88
[  117.538438]  [<ffffffff8107d3fb>] __warn+0xcb/0xf0
[  117.544237]  [<ffffffff8107d4ed>] warn_slowpath_null+0x1d/0x20
[  117.551085]  [<ffffffffa05581ab>] btrfs_free_block_groups+0x29b/0x420 [btrfs]
[  117.559241]  [<ffffffffa056a1b0>] close_ctree+0x190/0x370 [btrfs]
[  117.566347]  [<ffffffff8121f1e9>] ? evict_inodes+0x189/0x1a0
[  117.573029]  [<ffffffffa053a9c9>] btrfs_put_super+0x19/0x20 [btrfs]
[  117.580308]  [<ffffffff81203acf>] generic_shutdown_super+0x6f/0x100
[  117.587579]  [<ffffffff81203df2>] kill_anon_super+0x12/0x20
[  117.594167]  [<ffffffffa053b7a8>] btrfs_kill_super+0x18/0x110 [btrfs]
[  117.601613]  [<ffffffff81203fa3>] deactivate_locked_super+0x43/0x70
[  117.608875]  [<ffffffff8120448a>] deactivate_super+0x5a/0x60
[  117.615515]  [<ffffffff8122288f>] cleanup_mnt+0x3f/0x90
[  117.621720]  [<ffffffff81222922>] __cleanup_mnt+0x12/0x20
[  117.628091]  [<ffffffff8109b138>] task_work_run+0x88/0xc0
[  117.634470]  [<ffffffff81003312>] exit_to_usermode_loop+0xc2/0xd0
[  117.641532]  [<ffffffff81003c31>] syscall_return_slowpath+0xa1/0xb0
[  117.648770]  [<ffffffff8191c03a>] entry_SYSCALL_64_fastpath+0xa2/0xa4
[  117.656175] ---[ end trace 47dd91067f6b27cc ]---
[  117.656753] systemd-journald[141]: Compressed data object 695 -> 516



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

View attachment "config-4.7.0-rc6-00083-gb59d039" of type "text/plain" (151302 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (26532 bytes)

View attachment "job.yaml" of type "text/plain" (3821 bytes)

View attachment "reproduce" of type "text/plain" (1926 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ