From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753817AbcHWJh3 (ORCPT ); Tue, 23 Aug 2016 05:37:29 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:35771 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752443AbcHWJhW (ORCPT ); Tue, 23 Aug 2016 05:37:22 -0400 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="10187279" Subject: Re: [lkp] [btrfs] 994cdc1331: WARNING: CPU: 0 PID: 14378 at fs/btrfs/extent-tree.c:10030 btrfs_free_block_groups+0x29b/0x420 [btrfs] To: kernel test robot References: <20160823074531.GB11135@yexl-desktop> CC: David Sterba , Josef Bacik , LKML , Stephen Rothwell , , From: Wang Xiaoguang Message-ID: <57BC17DE.9070405@cn.fujitsu.com> Date: Tue, 23 Aug 2016 17:31:10 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20160823074531.GB11135@yexl-desktop> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.167.226.107] X-yoursite-MailScanner-ID: 0974842EB229.AC202 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: wangxg.fnst@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 08/23/2016 03:45 PM, kernel test robot wrote: > FYI, we noticed the following commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > commit 994cdc133173fd9d69eae45cd228eec21dbed080 ("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: > > > > [ 110.547115] BTRFS info (device dm-0): has skinny extents > [ 110.617734] BTRFS info (device dm-0): checking UUID tree > [ 110.698954] ------------[ cut here ]------------ > [ 110.704891] WARNING: CPU: 0 PID: 14378 at fs/btrfs/extent-tree.c:10030 btrfs_free_block_groups+0x29b/0x420 [btrfs] > [ 110.719052] Modules linked in: dm_flakey dm_mod rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole btrfs xor raid6_pq sg sd_mod ata_generic pata_acpi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm snd_hda_codec_hdmi irqbypass eeepc_wmi crct10dif_pclmul crc32_pclmul i915 crc32c_intel asus_wmi sparse_keymap ghash_clmulni_intel rfkill ppdev snd_hda_codec_realtek drm_kms_helper syscopyarea sysfillrect sysimgblt snd_hda_codec_generic aesni_intel fb_sys_fops lrw gf128mul glue_helper ablk_helper cryptd pcspkr drm serio_raw ata_piix pata_via snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer libata snd soundcore shpchp wmi parport_pc parport tpm_infineon video > [ 110.788309] CPU: 0 PID: 14378 Comm: umount Not tainted 4.7.0-rc6-00079-g994cdc1 #1 > [ 110.796881] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011 > [ 110.807039] 0000000000000000 ffff88019966fcf0 ffffffff8143669b 0000000000000000 > [ 110.815555] 0000000000000000 ffff88019966fd30 ffffffff8107d3fb 0000272e00000000 > [ 110.824058] ffff880199742088 ffff88007e978000 ffff880199742000 ffff880199742400 > [ 110.832559] Call Trace: > [ 110.836013] [] dump_stack+0x63/0x88 > [ 110.842146] [] __warn+0xcb/0xf0 > [ 110.847934] [] warn_slowpath_null+0x1d/0x20 > [ 110.854774] [] btrfs_free_block_groups+0x29b/0x420 [btrfs] > [ 110.862920] [] close_ctree+0x190/0x370 [btrfs] > [ 110.870015] [] ? evict_inodes+0x189/0x1a0 > [ 110.876687] [] btrfs_put_super+0x19/0x20 [btrfs] > [ 110.883959] [] generic_shutdown_super+0x6f/0x100 > [ 110.891228] [] kill_anon_super+0x12/0x20 > [ 110.897807] [] btrfs_kill_super+0x18/0x110 [btrfs] > [ 110.905250] [] deactivate_locked_super+0x43/0x70 > [ 110.912504] [] deactivate_super+0x5a/0x60 > [ 110.919134] [] cleanup_mnt+0x3f/0x90 > [ 110.925330] [] __cleanup_mnt+0x12/0x20 > [ 110.931700] [] task_work_run+0x88/0xc0 > [ 110.938068] [] exit_to_usermode_loop+0xc2/0xd0 > [ 110.945123] [] syscall_return_slowpath+0xa1/0xb0 > [ 110.952350] [] entry_SYSCALL_64_fastpath+0xa2/0xa4 > [ 110.959746] ---[ end trace 58ee3d80a0e5b015 ]--- > [ 110.960290] systemd-journald[142]: Compressed data object 695 -> 516 OK, thanks for the report. I forgot to run dm-flakey related xfstests test cases when testing this patch, really sorry. I'll look into this problem. Regards, Xiaoguang Wang > > > 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 > >