From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cn.fujitsu.com ([222.73.24.84]:63931 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750841Ab2GDFKA (ORCPT ); Wed, 4 Jul 2012 01:10:00 -0400 Message-ID: <4FF3D27F.4070402@cn.fujitsu.com> Date: Wed, 04 Jul 2012 13:19:59 +0800 From: Liu Bo MIME-Version: 1.0 To: Daniel J Blueman CC: Chris Mason , Josef Bacik , Linux BTRFS Subject: Re: Please hammer my for-linus branch References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 07/04/2012 11:37 AM, Daniel J Blueman wrote: >> Hi everyone, >> >> I've got a nice set of fixes from Josef, Jan, Ilya and others in my >> for-linus branch: >> >> git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus >> >> Some of the changes are fixes for the tree logging code, so I ran some >> extra crash runs against them Friday night. >> >> I ended up with a new crash in the tree log directory deletion replay >> code, so I didn't send out the pull request to Linus. >> >> It isn't clear yet if the new crash is because I was testing differently >> or if it is a regression. I'm nailing it down this weekend, but please >> give my for-linus a shot. > > I consistently run into this assertion [1] while running a fio > workload on a fresh RAID10 filesystem with a balance running. > > Let me know if you need steps to reproduce, debug etc. > Seems that additional condition does not catch the bug. Plz show us the steps to reproduce, I'll try to reproduce it locally and nail it down. thanks, liubo > Thanks, > Daniel > > --- [1] > > kernel BUG at fs/btrfs/extent-tree.c:1728! > invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC CPU 1 > > Modules linked in: brd dm_crypt dm_mod kvm_intel kvm binfmt_misc > coretemp microcode uvcvideo videobuf2_core videodev videobuf2_vmalloc > videobuf2_memops iwlwifi netconsole btrfs i915 cfbcopyarea cfbimgblt > cfbfillrect video > > Pid: 31436, comm: btrfs Tainted: G W 3.4.0-debug+ #6 Dell > Inc. Latitude E5420/0H5TG2 > RIP: 0010:[] [] > update_inline_extent_backref+0x2a9/0x2b0 [btrfs] > RSP: 0018:ffff88021dfab858 EFLAGS: 00010213 > RAX: 00000000000000b0 RBX: ffff8802061555a0 RCX: ffff88021cf1d000 > RDX: 0000000000000000 RSI: 0000000000000f3a RDI: ffff8800c4e5bc20 > RBP: ffff88021dfab8b8 R08: 00000000000000b0 R09: ffff88021dfab808 > R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800c4e5bc20 > R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000f10 > FS: 00007fdb25012740(0000) GS:ffff88022ec40000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > CR2: 00007f882b763f70 CR3: 000000021d547000 CR4: 00000000000407e0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 > Process btrfs (pid: 31436, threadinfo ffff88021dfaa000, task ffff88021fdc5ca0) > Stack: > ffff8801ff3ed000 000000098123124f ffff8801ff3ed000 ffff8802083270a0 > 0000000000000000 0000000000000f3a ffff880206156000 ffff8802061555a0 > ffff8801ff3ed000 ffff8802083270a0 0000000000000000 0000000000000000 > Call Trace: > [] insert_inline_extent_backref+0x88/0x100 [btrfs] > [] ? btrfs_alloc_path+0x15/0x20 [btrfs] > [] __btrfs_inc_extent_ref+0x9a/0x1f0 [btrfs] > [] run_delayed_tree_ref+0x167/0x190 [btrfs] > [] run_one_delayed_ref+0xde/0xf0 [btrfs] > [] run_clustered_refs+0xdd/0x370 [btrfs] > [] btrfs_run_delayed_refs+0x149/0x340 [btrfs] > [] __btrfs_end_transaction+0xa7/0x360 [btrfs] > [] btrfs_end_transaction_throttle+0x13/0x20 [btrfs] > [] relocate_block_group+0x439/0x560 [btrfs] > [] btrfs_relocate_block_group+0x1c4/0x300 [btrfs] > [] btrfs_relocate_chunk.isra.52+0x4a/0x240 [btrfs] > [] ? free_extent_buffer+0x32/0x90 [btrfs] > [] __btrfs_balance+0x2f4/0x3f0 [btrfs] > [] btrfs_balance+0x2f3/0x4d0 [btrfs] > [] btrfs_ioctl_balance+0x140/0x440 [btrfs] > [] btrfs_ioctl+0x5c7/0x7f0 [btrfs] > [] ? do_brk+0x246/0x360 > [] do_vfs_ioctl+0x87/0x340 > [] ? lockdep_sys_exit_thunk+0x35/0x67 > [] sys_ioctl+0x4a/0x80 > [] system_call_fastpath+0x16/0x1b > Code:e8 5d f6 02 00 45 31 c9 48 8b 4d a0 89 c2 44 8b 45 a8 eb b5 66 0f > 1f 44 00 00 41 bd 0d 00 00 00 00 41 be 0d 00 00 00 00 e9 6b fe ff ff > f>0b 0f 0b 0f 1f 00 55 48 89 e5 48 83 c4 80 48 8b 45 20 4c 89 > RIP [] update_inline_extent_backref+0x2a9/0x2b0 [btrfs] > RSP