All of lore.kernel.org
 help / color / mirror / Atom feed
From: liubo <liubo2009@cn.fujitsu.com>
To: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Cc: Linux Btrfs <linux-btrfs@vger.kernel.org>,
	Chris Mason <chris.mason@oracle.com>
Subject: Re: kernel BUG at fs/btrfs/extent-tree.c:6164!
Date: Tue, 07 Jun 2011 16:36:56 +0800	[thread overview]
Message-ID: <4DEDE328.5060405@cn.fujitsu.com> (raw)
In-Reply-To: <4DEDE03B.9050907@jp.fujitsu.com>

On 06/07/2011 04:24 PM, Tsutomu Itoh wrote:
> (2011/06/07 15:17), Tsutomu Itoh wrote:
>> (2011/06/07 14:59), Tsutomu Itoh wrote:
>>> Hi liubo,
>>>
>>> (2011/06/07 14:31), liubo wrote:
>>>> On 06/06/2011 04:33 PM, Tsutomu Itoh wrote:
>>>>> Hi,
>>>>>
>>>>> I encountered following panic using 'btrfs-unstable + for-linus'
>>>>> kernel.
>>>>>
>>>>> I ran "btrfs fi bal /test5" command, and mount option of /test5
>>>>> is as follows:
>>>>>
>>>>>  /dev/sdc3 on /test5 type btrfs (rw,space_cache,compress=lzo,inode_cache)
>>>>>
>>>> So, just a "btrfs fi bal" would lead to the bug?
>>> I think so.
>>>
>>>> I've figured out the warnings, but not reproduced the bug yet...
>>>> I used 'btrfs-unstable + for-linus" whose top commit is
>>>>
>>>> commit aa0467d8d2a00e75b2bb6a56a4ee6d70c5d1928f
>>>> Author: David Sterba <dsterba@suse.cz>
>>>> Date:   Fri Jun 3 16:29:08 2011 +0200
>>>>
>>>>     btrfs: fix uninitialized variable warning
>>> It's same of my environment.
>>>
>>>>     
>>>> and tried on 1) a single disk, 2) 2 disks and 3) 4 disks respectively,
>>>> but none of them leaded to the below bug.
>>> The test script and the volume composition that I am executing are
>>> same as following mail.
>>>
>>>   http://marc.info/?l=linux-btrfs&m=130680171426371&w=2
>>>
>>> and, in my environment, panic is done within almost 30 minutes when
>>> test script is executed.
> 
> I forgot to write.
> I am adding '-o inode_cache' to the mount option in my test script.
> 

Yep, I've added this and reproduced it.
Seems that there are several bugs.

Anyway, thanks for the report.  I'm trying to work it out. :)

thanks,
liubo

>> Another panic occurred when I executed it again.
>>
> 
> I rebuilt the kernel with 3.0-rc2. but, same problem occurred.
> 
> 
> <4>[  131.708325] WARNING: at fs/btrfs/transaction.c:213 start_transaction+0x74/0x259 [btrfs]()
> <4>[  131.708329] Hardware name: PRIMERGY
> <4>[  131.708330] Modules linked in: autofs4 sunrpc 8021q garp stp llc cpufreq_ondemand acpi_cpufreq freq_table mperf ipv6 btrfs zlib_deflate crc32c libcrc32c ext3 jbd dm_mirror dm_region_hash dm_log dm_mod kvm uinput ppdev parport_pc parport sg pcspkr i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support tg3 shpchp pci_hotplug i3000_edac edac_core ext4 mbcache jbd2 crc16 sd_mod crc_t10dif sr_mod cdrom megaraid_sas pata_acpi ata_generic ata_piix libata scsi_mod floppy [last unloaded: microcode]
> <4>[  131.708378] Pid: 3041, comm: btrfs Not tainted 3.0.0-rc2test #1
> <4>[  131.708381] Call Trace:
> <4>[  131.708388]  [<ffffffff8104514a>] warn_slowpath_common+0x85/0x9d
> <4>[  131.708392]  [<ffffffff8104517c>] warn_slowpath_null+0x1a/0x1c
> <4>[  131.708410]  [<ffffffffa02a6f8b>] start_transaction+0x74/0x259 [btrfs]
> <4>[  131.708430]  [<ffffffffa02bf965>] ? btrfs_wait_ordered_range+0xf9/0x11d [btrfs]
> <4>[  131.708448]  [<ffffffffa02a73ed>] btrfs_start_transaction+0x13/0x15 [btrfs]
> <4>[  131.708467]  [<ffffffffa02aec08>] btrfs_evict_inode+0x113/0x22d [btrfs]
> <4>[  131.708471]  [<ffffffff81123a98>] evict+0x77/0x118
> <4>[  131.708475]  [<ffffffff81123ec1>] iput+0x13d/0x146
> <4>[  131.708489]  [<ffffffffa02939c9>] btrfs_remove_block_group+0x14d/0x35b [btrfs]
> <4>[  131.708508]  [<ffffffffa02c6ff7>] btrfs_relocate_chunk+0x464/0x50d [btrfs]
> <4>[  131.708527]  [<ffffffffa02c54ce>] ? btrfs_item_key_to_cpu+0x2a/0x46 [btrfs]
> <4>[  131.708545]  [<ffffffffa02c7672>] btrfs_balance+0x1ca/0x219 [btrfs]
> <4>[  131.708563]  [<ffffffffa02cfbfd>] btrfs_ioctl+0x890/0xb87 [btrfs]
> <4>[  131.708567]  [<ffffffff810e87c8>] ? handle_mm_fault+0x233/0x24a
> <4>[  131.708572]  [<ffffffff813a6e25>] ? do_page_fault+0x340/0x3b2
> <4>[  131.708577]  [<ffffffff8111d6f8>] do_vfs_ioctl+0x474/0x4c3
> <4>[  131.708581]  [<ffffffff810ffd25>] ? virt_to_head_page+0xe/0x31
> <4>[  131.708585]  [<ffffffff81100fcc>] ? kmem_cache_free+0x20/0xae
> <4>[  131.708588]  [<ffffffff8111d79d>] sys_ioctl+0x56/0x79
> <4>[  131.708592]  [<ffffffff813aa542>] system_call_fastpath+0x16/0x1b
> <4>[  131.708595] ---[ end trace 5f962f46d3ba5425 ]---
> <6>[  131.708777] btrfs: relocating block group 29360128 flags 20
> <6>[  132.385682] btrfs: found 85 extents
> <0>[  132.798892] ------------[ cut here ]------------
> <2>[  132.799014] kernel BUG at fs/btrfs/extent-tree.c:1424!
> <0>[  132.799014] invalid opcode: 0000 [#1] SMP
> <4>[  132.799014] CPU 0
> <4>[  132.799014] Modules linked in: autofs4 sunrpc 8021q garp stp llc cpufreq_ondemand acpi_cpufreq freq_table mperf ipv6 btrfs zlib_deflate crc32c libcrc32c ext3 jbd dm_mirror dm_region_hash dm_log dm_mod kvm uinput ppdev parport_pc parport sg pcspkr i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support tg3 shpchp pci_hotplug i3000_edac edac_core ext4 mbcache jbd2 crc16 sd_mod crc_t10dif sr_mod cdrom megaraid_sas pata_acpi ata_generic ata_piix libata scsi_mod floppy [last unloaded: microcode]
> <4>[  132.799014]
> <4>[  132.799014] Pid: 3041, comm: btrfs Tainted: G        W   3.0.0-rc2test #1 FUJITSU-SV      PRIMERGY            /D2399
> <4>[  132.799014] RIP: 0010:[<ffffffffa0296c86>]  [<ffffffffa0296c86>] lookup_inline_extent_backref+0xe3/0x3a9 [btrfs]
> <4>[  132.799014] RSP: 0018:ffff880193aa5808  EFLAGS: 00010202
> <4>[  132.799014] RAX: 0000000000000001 RBX: ffff880192fac000 RCX: 0000000000000002
> <4>[  132.799014] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000
> <4>[  132.799014] RBP: ffff880193aa58a8 R08: 000000000000029c R09: ffff880193aa56f0
> <4>[  132.799014] R10: ffff880193aa5648 R11: c2d107e744029d66 R12: 00000000000000b2
> <4>[  132.799014] R13: ffff880195075b88 R14: 0000000000000001 R15: 0000000000000000
> <4>[  132.799014] FS:  00007faaaf421740(0000) GS:ffff88019fc00000(0000) knlGS:0000000000000000
> <4>[  132.799014] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> <4>[  132.799014] CR2: 00000033cfeda340 CR3: 00000001946b5000 CR4: 00000000000006f0
> <4>[  132.799014] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> <4>[  132.799014] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> <4>[  132.799014] Process btrfs (pid: 3041, threadinfo ffff880193aa4000, task ffff88019463ad80)
> <0>[  132.799014] Stack:
> <4>[  132.799014]  ffff880192a0fa00 0000000000001000 ffff880194640000 ffff880193aa5950
> <4>[  132.799014]  ffff880193aa5848 0000000181f65000 ffff880193aa5848 ffff880193e24000
> <4>[  132.799014]  ffffffff93aa5898 ffffffff81101372 0000000181f65000 00000000009000a8
> <0>[  132.799014] Call Trace:
> <4>[  132.799014]  [<ffffffff81101372>] ? kmem_cache_alloc+0x27/0xee
> <4>[  132.799014]  [<ffffffffa0299a58>] __btrfs_free_extent+0xc8/0x57f [btrfs]
> <4>[  132.799014]  [<ffffffff81100f64>] ? kfree+0xbd/0xdd
> <4>[  132.799014]  [<ffffffffa029a5a9>] run_clustered_refs+0x69a/0x6fa [btrfs]
> <4>[  132.799014]  [<ffffffffa029a6d7>] btrfs_run_delayed_refs+0xce/0x17c [btrfs]
> <4>[  132.799014]  [<ffffffffa02a66ac>] btrfs_commit_transaction+0x7e/0x674 [btrfs]
> <4>[  132.799014]  [<ffffffffa02a5fb0>] ? join_transaction+0x24/0x213 [btrfs]
> <4>[  132.799014]  [<ffffffff8106085d>] ? wake_up_bit+0x2a/0x2a
> <4>[  132.799014]  [<ffffffffa02e1b3f>] relocate_block_group+0x4f3/0x51a [btrfs]
> <4>[  132.799014]  [<ffffffffa02a544d>] ? btrfs_clean_old_snapshots+0x35/0x127 [btrfs]
> <4>[  132.799014]  [<ffffffffa02e1cb1>] btrfs_relocate_block_group+0x14b/0x282 [btrfs]
> <4>[  132.799014]  [<ffffffffa02c7037>] ? btrfs_relocate_chunk+0x4a4/0x50d [btrfs]
> <4>[  132.799014]  [<ffffffffa02c6bfc>] btrfs_relocate_chunk+0x69/0x50d [btrfs]
> <4>[  132.799014]  [<ffffffffa028b3e1>] ? btrfs_item_key_to_cpu+0x1a/0x36 [btrfs]
> <4>[  132.799014]  [<ffffffffa02c0bc3>] ? read_extent_buffer+0xba/0xf6 [btrfs]
> <4>[  132.799014]  [<ffffffffa02c54ce>] ? btrfs_item_key_to_cpu+0x2a/0x46 [btrfs]
> <4>[  132.799014]  [<ffffffffa02c7672>] btrfs_balance+0x1ca/0x219 [btrfs]
> <4>[  132.799014]  [<ffffffffa02cfbfd>] btrfs_ioctl+0x890/0xb87 [btrfs]
> <4>[  132.799014]  [<ffffffff810e87c8>] ? handle_mm_fault+0x233/0x24a
> <4>[  132.799014]  [<ffffffff813a6e25>] ? do_page_fault+0x340/0x3b2
> <4>[  132.799014]  [<ffffffff8111d6f8>] do_vfs_ioctl+0x474/0x4c3
> <4>[  132.799014]  [<ffffffff810ffd25>] ? virt_to_head_page+0xe/0x31
> <4>[  132.799014]  [<ffffffff81100fcc>] ? kmem_cache_free+0x20/0xae
> <4>[  132.799014]  [<ffffffff8111d79d>] sys_ioctl+0x56/0x79
> <4>[  132.799014]  [<ffffffff813aa542>] system_call_fastpath+0x16/0x1b
> <0>[  132.799014] Code: 44 8b 45 a4 48 8b 75 98 48 8d 55 b0 41 b9 01 00 00 00 48 89 d9 4c 89 ef e8 54 96 ff ff 83 f8 00 41 89 c6 0f 8c 94 02 00 00 74 04 <0f> 0b eb fe 4c 8b 33 8b 73 40 4c 89 f7 e8 9d ea ff ff 41 89 c7
> <1>[  132.799014] RIP  [<ffffffffa0296c86>] lookup_inline_extent_backref+0xe3/0x3a9 [btrfs]
> <4>[  132.799014]  RSP <ffff880193aa5808>
>  RSP <ffff880193aa5808>
> 
> 
>> device fsid 794aee8608a3c563-e4baafe1f4d8eba5 devid 5 transid 4 /dev/sdc8
>> device fsid 794aee8608a3c563-e4baafe1f4d8eba5 devid 1 transid 7 /dev/sdc3
>> btrfs: enabling disk space caching
>> btrfs: use lzo compression
>> btrfs: enabling inode map caching
>> device fsid 624604c4bdf670bb-1c9404b53abaa6a3 devid 1 transid 7 /dev/sdd4
>> btrfs: disk space caching is enabled
>> btrfs: relocating block group 1103101952 flags 9
>> btrfs: found 540 extents
>> btrfs: found 540 extents
>> ------------[ cut here ]------------
>> kernel BUG at fs/btrfs/extent-tree.c:1424!
>> invalid opcode: 0000 [#1] SMP
>> last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:03.0/host4/target4:2:3/4:2:3:0/block/sdd/sdd4/alignment_offset
>> CPU 0
>> Modules linked in: autofs4 sunrpc 8021q garp stp llc cpufreq_ondemand acpi_cpufreq freq_table mperf ipv6 btrfs zlib_deflate crc32c libcrc32c ext3 jbd dm_mirror dm_region_hash dm_log dm_mod kvm uinput ppdev parport_pc parport sg pcspkr i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support tg3 shpchp pci_hotplug i3000_edac edac_core ext4 mbcache jbd2 crc16 sd_mod crc_t10dif sr_mod cdrom megaraid_sas pata_acpi ata_generic ata_piix libata scsi_mod floppy [last unloaded: microcode]
>>
>> Pid: 3849, comm: btrfs Not tainted 2.6.39btrfs-test+ #4 FUJITSU-SV      PRIMERGY            /D2399
>> RIP: 0010:[<ffffffffa0325422>]  [<ffffffffa0325422>] lookup_inline_extent_backref+0x2d2/0x3f0 [btrfs]
>> RSP: 0018:ffff880156d2d7b8  EFLAGS: 00010202
>> RAX: 0000000000000001 RBX: ffff8801947f3e20 RCX: ffff880156d2c000
>> RDX: 0000000000000008 RSI: ffff880000000000 RDI: 0000000000000000
>> RBP: ffff880156d2d858 R08: 0000000000000000 R09: 0000000000000283
>> R10: 0000000000000000 R11: 0000000000000015 R12: 00000000000000b2
>> R13: ffff88019474b4f8 R14: 0000000000000001 R15: 00000000ffffffff
>> FS:  00007faaf3753740(0000) GS:ffff88019fc00000(0000) knlGS:0000000000000000
>> CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
>> CR2: 00000000017bfea0 CR3: 0000000156e53000 CR4: 00000000000006f0
>> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
>> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
>> Process btrfs (pid: 3849, threadinfo ffff880156d2c000, task ffff880192a04ab0)
>> Stack:
>>  ffff880193893000 0000000000001000 ffff880156d2d808 ffff880156d2d920
>>  ffff880156d2d808 0000000181f61000 0000000000000000 ffff880193893000
>>  0000000000000001 ffff880156d2da18 0000000181f61000 00000000009000a8
>> Call Trace:
>>  [<ffffffffa03271d6>] __btrfs_free_extent+0xd6/0x730 [btrfs]
>>  [<ffffffffa0356960>] ? map_extent_buffer+0xb0/0xc0 [btrfs]
>>  [<ffffffffa0326d19>] ? update_block_group+0xd9/0x2a0 [btrfs]
>>  [<ffffffffa0327ed8>] run_clustered_refs+0x6a8/0x7f0 [btrfs]
>>  [<ffffffffa03280e8>] btrfs_run_delayed_refs+0xc8/0x210 [btrfs]
>>  [<ffffffffa033638d>] btrfs_commit_transaction+0x7d/0x790 [btrfs]
>>  [<ffffffffa0335ac5>] ? join_transaction+0x25/0x250 [btrfs]
>>  [<ffffffff81081de0>] ? wake_up_bit+0x40/0x40
>>  [<ffffffffa037f377>] relocate_block_group+0x4e7/0x660 [btrfs]
>>  [<ffffffffa0334d15>] ? btrfs_clean_old_snapshots+0x35/0x150 [btrfs]
>>  [<ffffffffa037f6a3>] btrfs_relocate_block_group+0x1b3/0x2e0 [btrfs]
>>  [<ffffffffa0368d80>] ? btrfs_tree_unlock+0x50/0x50 [btrfs]
>>  [<ffffffffa035e22b>] btrfs_relocate_chunk+0x8b/0x670 [btrfs]
>>  [<ffffffffa031303d>] ? btrfs_set_path_blocking+0x3d/0x50 [btrfs]
>>  [<ffffffffa0357668>] ? read_extent_buffer+0xd8/0x1d0 [btrfs]
>>  [<ffffffffa031be51>] ? btrfs_previous_item+0xb1/0x150 [btrfs]
>>  [<ffffffffa0357668>] ? read_extent_buffer+0xd8/0x1d0 [btrfs]
>>  [<ffffffffa035f43a>] btrfs_balance+0x21a/0x2b0 [btrfs]
>>  [<ffffffff8115dc41>] ? path_openat+0x101/0x3d0
>>  [<ffffffffa03685bc>] btrfs_ioctl+0x51c/0xc40 [btrfs]
>>  [<ffffffff8111e358>] ? handle_mm_fault+0x148/0x270
>>  [<ffffffff814809e8>] ? do_page_fault+0x1d8/0x4b0
>>  [<ffffffff81160d6a>] do_vfs_ioctl+0x9a/0x540
>>  [<ffffffff811612b1>] sys_ioctl+0xa1/0xb0
>>  [<ffffffff81484ec2>] system_call_fastpath+0x16/0x1b
>> Code: 48 8b 75 20 48 89 c3 48 8b 7d 18 e8 c9 bd ff ff 48 39 d8 77 26 b8 1d 00 00 00 e9 15 ff ff ff a8 01 0f 85 8c fe ff ff 0f 0b eb fe <0f> 0b eb fe 0f 0b 0f 1f 84 00 00 00 00 00 eb f6 4c 89 fb 44 8b
>> RIP  [<ffffffffa0325422>] lookup_inline_extent_backref+0x2d2/0x3f0 [btrfs]
>>  RSP <ffff880156d2d7b8>
>>
>>> Thanks,
>>> Tsutomu
>>>
>>>> I guess maybe I miss something to reproduce it?
>>>>
>>>> thanks,
>>>> liubo
>>>>
>>>>> Thanks,
>>>>> Tsutomu
>>>>>
>>>>> =================================================================
>>>>>
>>>>> btrfs: relocating block group 23383244800 flags 20
>>>>> btrfs: found 2959 extents
>>>>> ------------[ cut here ]------------
>>>>> WARNING: at fs/btrfs/transaction.c:213 start_transaction+0x2a7/0x2b0 [btrfs]()
>>>>> Hardware name: PRIMERGY
>>>>> Modules linked in: autofs4 sunrpc 8021q garp stp llc cpufreq_ondemand acpi_cpufr
>>>>> eq freq_table mperf ipv6 btrfs zlib_deflate crc32c libcrc32c ext3 jbd dm_mirror
>>>>> dm_region_hash dm_log dm_mod kvm uinput ppdev parport_pc parport sg pcspkr i2c_i
>>>>> 801 i2c_core iTCO_wdt iTCO_vendor_support tg3 shpchp pci_hotplug i3000_edac edac
>>>>> _core ext4 mbcache jbd2 crc16 sd_mod crc_t10dif sr_mod cdrom megaraid_sas pata_a
>>>>> cpi ata_generic ata_piix libata scsi_mod floppy [last unloaded: microcode]
>>>>> Pid: 23781, comm: btrfs Tainted: G        W   2.6.39btrfs-test+ #4
>>>>> Call Trace:
>>>>>  [<ffffffff8106004f>] warn_slowpath_common+0x7f/0xc0
>>>>>  [<ffffffff810600aa>] warn_slowpath_null+0x1a/0x20
>>>>>  [<ffffffffa0337047>] start_transaction+0x2a7/0x2b0 [btrfs]
>>>>>  [<ffffffffa035498d>] ? btrfs_wait_ordered_range+0x10d/0x160 [btrfs]
>>>>>  [<ffffffffa0337323>] btrfs_start_transaction+0x13/0x20 [btrfs]
>>>>>  [<ffffffffa033bbca>] btrfs_evict_inode+0x11a/0x260 [btrfs]
>>>>>  [<ffffffff811687f8>] evict+0x78/0x170
>>>>>  [<ffffffff81168c92>] iput+0xe2/0x1a0
>>>>>  [<ffffffffa031f171>] btrfs_remove_block_group+0x141/0x3c0 [btrfs]
>>>>>  [<ffffffffa035e6ea>] btrfs_relocate_chunk+0x54a/0x670 [btrfs]
>>>>>  [<ffffffffa0357668>] ? read_extent_buffer+0xd8/0x1d0 [btrfs]
>>>>>  [<ffffffffa031be51>] ? btrfs_previous_item+0xb1/0x150 [btrfs]
>>>>>  [<ffffffffa035f43a>] btrfs_balance+0x21a/0x2b0 [btrfs]
>>>>>  [<ffffffff8115dc41>] ? path_openat+0x101/0x3d0
>>>>>  [<ffffffffa03685bc>] btrfs_ioctl+0x51c/0xc40 [btrfs]
>>>>>  [<ffffffff8111e358>] ? handle_mm_fault+0x148/0x270
>>>>>  [<ffffffff814809e8>] ? do_page_fault+0x1d8/0x4b0
>>>>>  [<ffffffff81160d6a>] do_vfs_ioctl+0x9a/0x540
>>>>>  [<ffffffff811612b1>] sys_ioctl+0xa1/0xb0
>>>>>  [<ffffffff81484ec2>] system_call_fastpath+0x16/0x1b
>>>>> ---[ end trace e5c5cb2e98a3cd1a ]---
>>>>> btrfs: relocating block group 20971520 flags 18
>>>>> btrfs: relocating block group 34925969408 flags 18
>>>>> btrfs: found 1 extents
>>>>> ------------[ cut here ]------------
>>>>> kernel BUG at fs/btrfs/extent-tree.c:6164!
>>>>> invalid opcode: 0000 [#1] SMP
>>>>> last sysfs file: /sys/kernel/mm/ksm/run
>>>>> CPU 0
>>>>> Modules linked in: autofs4 sunrpc 8021q garp stp llc cpufreq_ondemand acpi_cpufreq freq_table mperf ipv6 btrfs zlib_deflate crc32c libcrc32c ext3 jbd dm_mirror dm_region_hash dm_log dm_mod kvm uinput ppdev parport_pc parport sg pcspkr i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support tg3 shpchp pci_hotplug i3000_edac edac_core ext4 mbcache jbd2 crc16 sd_mod crc_t10dif sr_mod cdrom megaraid_sas pata_acpi ata_generic ata_piix libata scsi_mod floppy [last unloaded: microcode]
>>>>>
>>>>> Pid: 4109, comm: btrfs Tainted: G        W   2.6.39btrfs-test+ #4 FUJITSU-SV      PRIMERGY            /D2399
>>>>> RIP: 0010:[<ffffffffa0325b95>]  [<ffffffffa0325b95>] walk_up_proc+0x375/0x420 [btrfs]
>>>>> RSP: 0018:ffff8801801eb9c8  EFLAGS: 00010286
>>>>> RAX: 0000000000000005 RBX: ffff880167a70140 RCX: fffffffffffffff8
>>>>> RDX: ffff8801801ea000 RSI: ffff880000000000 RDI: ffff880194909fa8
>>>>> RBP: ffff8801801eba18 R08: 0000000000000000 R09: 0000000000000005
>>>>> R10: 0000000000000001 R11: ffff880194909fa8 R12: 0000000000000000
>>>>> R13: ffff88013973d000 R14: ffff88015ad4d9a0 R15: ffff880042203920
>>>>> FS:  00007fa86bcb9740(0000) GS:ffff88019fc00000(0000) knlGS:0000000000000000
>>>>> CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
>>>>> CR2: 00000033cf60b0c0 CR3: 0000000181cf7000 CR4: 00000000000006f0
>>>>> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
>>>>> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
>>>>> Process btrfs (pid: 4109, threadinfo ffff8801801ea000, task ffff88011a4914a0)
>>>>> Stack:
>>>>>  ffff8801801eba18 ffff880194909fa8 ffff880100000000 ffffffffa03280e8
>>>>>  ffff8801801eba58 ffff88015ad4d9a0 0000000000000000 0000000000000000
>>>>>  ffff8801801ea000 ffff880167a70140 ffff8801801eba78 ffffffffa0325d71
>>>>> Call Trace:
>>>>>  [<ffffffffa03280e8>] ? btrfs_run_delayed_refs+0xc8/0x210 [btrfs]
>>>>>  [<ffffffffa0325d71>] walk_up_tree+0x131/0x1b0 [btrfs]
>>>>>  [<ffffffffa03260b0>] btrfs_drop_snapshot+0x2c0/0x5c0 [btrfs]
>>>>>  [<ffffffffa03328b0>] ? btrfs_read_fs_root_no_name+0x1b0/0x280 [btrfs]
>>>>>  [<ffffffffa037b45f>] merge_reloc_roots+0xdf/0x150 [btrfs]
>>>>>  [<ffffffffa037f311>] relocate_block_group+0x481/0x660 [btrfs]
>>>>>  [<ffffffffa0334d15>] ? btrfs_clean_old_snapshots+0x35/0x150 [btrfs]
>>>>>  [<ffffffffa037f6a3>] btrfs_relocate_block_group+0x1b3/0x2e0 [btrfs]
>>>>>  [<ffffffffa0368d80>] ? btrfs_tree_unlock+0x50/0x50 [btrfs]
>>>>>  [<ffffffffa035e22b>] btrfs_relocate_chunk+0x8b/0x670 [btrfs]
>>>>>  [<ffffffffa031303d>] ? btrfs_set_path_blocking+0x3d/0x50 [btrfs]
>>>>>  [<ffffffffa0357668>] ? read_extent_buffer+0xd8/0x1d0 [btrfs]
>>>>>  [<ffffffffa031be51>] ? btrfs_previous_item+0xb1/0x150 [btrfs]
>>>>>  [<ffffffffa0357668>] ? read_extent_buffer+0xd8/0x1d0 [btrfs]
>>>>>  [<ffffffffa035f43a>] btrfs_balance+0x21a/0x2b0 [btrfs]
>>>>>  [<ffffffff8115dc41>] ? path_openat+0x101/0x3d0
>>>>>  [<ffffffffa03685bc>] btrfs_ioctl+0x51c/0xc40 [btrfs]
>>>>>  [<ffffffff8111e358>] ? handle_mm_fault+0x148/0x270
>>>>>  [<ffffffff814809e8>] ? do_page_fault+0x1d8/0x4b0
>>>>>  [<ffffffff81160d6a>] do_vfs_ioctl+0x9a/0x540
>>>>>  [<ffffffff811612b1>] sys_ioctl+0xa1/0xb0
>>>>>  [<ffffffff81484ec2>] system_call_fastpath+0x16/0x1b
>>>>> Code: fe ff ff 0f 1f 00 4c 89 df 31 c9 4c 89 fa 4c 89 ee 44 89 55 c0 4c 89 5d b8 e8 c8 d5 ff ff 4c 8b 5d b8 44 8b 55 c0 e9 85 fe ff ff <0f> 0b eb fe 0f 1f 80 00 00 00 00 65 48 8b 14 25 c8 cc 00 00 48
>>>>> RIP  [<ffffffffa0325b95>] walk_up_proc+0x375/0x420 [btrfs]
>>>>>  RSP <ffff8801801eb9c8>
>>>>>
>>>>>
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  reply	other threads:[~2011-06-07  8:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-06  8:33 kernel BUG at fs/btrfs/extent-tree.c:6164! Tsutomu Itoh
2011-06-07  5:31 ` liubo
2011-06-07  5:59   ` Tsutomu Itoh
2011-06-07  6:17     ` Tsutomu Itoh
2011-06-07  8:24       ` Tsutomu Itoh
2011-06-07  8:36         ` liubo [this message]
2011-06-07 15:46           ` Chris Mason
2011-06-08  5:12             ` Tsutomu Itoh
2011-06-13  7:13               ` bug caused by removal of trans_mutex? (Was: Re: kernel BUG at fs/btrfs/extent-tree.c:6164!) Li Zefan
2011-06-13  7:49                 ` Yan, Zheng 
2011-06-13  8:26                   ` Li Zefan
2011-06-13 13:12                 ` Chris Mason
2011-06-13 15:18                   ` Chris Mason
2011-06-13 14:58                 ` Yan, Zheng 
2011-06-13 15:09                   ` Chris Mason
2011-06-13 19:55                   ` Chris Mason
2011-06-14  3:24                     ` Yan, Zheng 
2011-06-14  5:44                       ` Li Zefan
2011-06-14  6:53                 ` Yan, Zheng 

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=4DEDE328.5060405@cn.fujitsu.com \
    --to=liubo2009@cn.fujitsu.com \
    --cc=chris.mason@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=t-itoh@jp.fujitsu.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.