From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cn.fujitsu.com ([222.73.24.84]:31182 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750867AbaAPFjZ (ORCPT ); Thu, 16 Jan 2014 00:39:25 -0500 Message-ID: <52D77042.3060905@cn.fujitsu.com> Date: Thu, 16 Jan 2014 13:38:10 +0800 From: Wang Shilong MIME-Version: 1.0 To: Tomasz Chmielewski CC: "linux-btrfs@vger.kernel.org" Subject: Re: BTRFS critical: unable to find logical 0 len 4096, No mapping for 0-4096 References: <20140116062741.2be67c5b@virtall.com> In-Reply-To: <20140116062741.2be67c5b@virtall.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: Hello Tomasz, This problem should be fixed by Filipe, and pused into josef's btrfs-next:-) : patch url is: https://git.kernel.org/cgit/linux/kernel/git/josef/btrfs-next.git/commit/?id=5d157162be99f950a0b64b526c04dff03f8c4eeb Thanks, Wang On 01/16/2014 01:27 PM, Tomasz Chmielewski wrote: > Yet another btrfs filesystem getting bad: > > [43013.108612] ------------[ cut here ]------------ > [43013.108675] WARNING: CPU: 2 PID: 30756 at fs/btrfs/ctree.c:1321 btrfs_search_old_slot+0x322/0x7ea [btrfs]() > [43013.108766] Modules linked in: ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables cpufreq_ondemand cpufreq_conservative cpufreq_powersave cpufreq_stats bridge stp llc ipv6 btrfs xor raid6_pq zlib_deflate loop ehci_pci lpc_ich ehci_hcd mfd_core pcspkr video acpi_cpufreq i2c_i801 i2c_core button ext4 crc16 jbd2 mbcache raid1 sg sd_mod r8169 mii ahci libahci libata scsi_mod > [43013.109183] CPU: 2 PID: 30756 Comm: btrfs-endio-wri Not tainted 3.13.0-rc8 #2 > [43013.109248] Hardware name: System manufacturer System Product Name/P8H77-M PRO, BIOS 1101 02/04/2013 > [43013.109365] 0000000000000009 ffff8800a2b71908 ffffffff813898b7 0000000000000006 > [43013.109486] 0000000000000000 ffff8800a2b71948 ffffffff810370a9 0000042f413d2000 > [43013.109605] ffffffffa0247e5a ffff8807ff39cc60 ffff8807c5edb800 ffff88051ce33e00 > [43013.109725] Call Trace: > [43013.109789] [] dump_stack+0x46/0x58 > [43013.109855] [] warn_slowpath_common+0x77/0x91 > [43013.109933] [] ? btrfs_search_old_slot+0x322/0x7ea [btrfs] > [43013.110001] [] warn_slowpath_null+0x15/0x17 > [43013.110077] [] btrfs_search_old_slot+0x322/0x7ea [btrfs] > [43013.110165] [] __resolve_indirect_refs+0x10f/0x48d [btrfs] > [43013.110253] [] find_parent_nodes+0x337/0x5d2 [btrfs] > [43013.110338] [] iterate_extent_inodes+0xc9/0x1d6 [btrfs] > [43013.110423] [] ? record_extent_backrefs+0xc3/0xc3 [btrfs] > [43013.110507] [] ? record_extent_backrefs+0xc3/0xc3 [btrfs] > [43013.110593] [] iterate_inodes_from_logical+0x7f/0x95 [btrfs] > [43013.110725] [] record_extent_backrefs+0x5b/0xc3 [btrfs] > [43013.110809] [] btrfs_finish_ordered_io+0x77a/0x877 [btrfs] > [43013.110877] [] ? kmem_cache_free+0x164/0x17a > [43013.110944] [] ? mempool_free_slab+0x12/0x14 > [43013.111027] [] finish_ordered_fn+0x10/0x12 [btrfs] > [43013.111111] [] worker_loop+0x15e/0x495 [btrfs] > [43013.111194] [] ? btrfs_queue_worker+0x269/0x269 [btrfs] > [43013.111313] [] kthread+0xcd/0xd5 > [43013.111376] [] ? kthread_freezable_should_stop+0x43/0x43 > [43013.111440] [] ret_from_fork+0x7c/0xb0 > [43013.111513] [] ? kthread_freezable_should_stop+0x43/0x43 > [43013.111578] ---[ end trace 1ad74354031dadcd ]--- > [43013.111654] BTRFS critical (device sdd1): unable to find logical 0 len 4096 > [43013.111724] BTRFS critical (device sdd1): No mapping for 0-4096 > [43013.111724] > [43013.111848] ------------[ cut here ]------------ > [43013.111914] WARNING: CPU: 2 PID: 30756 at fs/btrfs/ctree.c:1321 btrfs_search_old_slot+0x322/0x7ea [btrfs]() > [43013.112021] Modules linked in: ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables cpufreq_ondemand cpufreq_conservative cpufreq_powersave cpufreq_stats bridge stp llc ipv6 btrfs xor raid6_pq zlib_deflate loop ehci_pci lpc_ich ehci_hcd mfd_core pcspkr video acpi_cpufreq i2c_i801 i2c_core button ext4 crc16 jbd2 mbcache raid1 sg sd_mod r8169 mii ahci libahci libata scsi_mod > [43013.112414] CPU: 2 PID: 30756 Comm: btrfs-endio-wri Tainted: G W 3.13.0-rc8 #2 > [43013.112518] Hardware name: System manufacturer System Product Name/P8H77-M PRO, BIOS 1101 02/04/2013 > [43013.112625] 0000000000000009 ffff8800a2b71908 ffffffff813898b7 0000000000000006 > [43013.112733] 0000000000000000 ffff8800a2b71948 ffffffff810370a9 0000042f413d2000 > [43013.112841] ffffffffa0247e5a ffff8807ff39cc60 ffff8807c5edb800 ffff88051ce33e00 > [43013.112949] Call Trace: > [43013.113003] [] dump_stack+0x46/0x58 > [43013.113061] [] warn_slowpath_common+0x77/0x91 > [43013.113128] [] ? btrfs_search_old_slot+0x322/0x7ea [btrfs] > [43013.113189] [] warn_slowpath_null+0x15/0x17 > [43013.113256] [] btrfs_search_old_slot+0x322/0x7ea [btrfs] > [43013.113331] [] __resolve_indirect_refs+0x10f/0x48d [btrfs] > [43013.113406] [] find_parent_nodes+0x337/0x5d2 [btrfs] > [43013.113479] [] iterate_extent_inodes+0xc9/0x1d6 [btrfs] > [43013.113553] [] ? record_extent_backrefs+0xc3/0xc3 [btrfs] > [43013.113625] [] ? record_extent_backrefs+0xc3/0xc3 [btrfs] > [43013.113698] [] iterate_inodes_from_logical+0x7f/0x95 [btrfs] > [43013.113816] [] record_extent_backrefs+0x5b/0xc3 [btrfs] > [43013.113889] [] btrfs_finish_ordered_io+0x77a/0x877 [btrfs] > [43013.113950] [] ? kmem_cache_free+0x164/0x17a > [43013.114009] [] ? mempool_free_slab+0x12/0x14 > [43013.114081] [] finish_ordered_fn+0x10/0x12 [btrfs] > [43013.114153] [] worker_loop+0x15e/0x495 [btrfs] > [43013.114226] [] ? btrfs_queue_worker+0x269/0x269 [btrfs] > [43013.114286] [] kthread+0xcd/0xd5 > [43013.114344] [] ? kthread_freezable_should_stop+0x43/0x43 > [43013.114404] [] ret_from_fork+0x7c/0xb0 > [43013.114462] [] ? kthread_freezable_should_stop+0x43/0x43 > [43013.114521] ---[ end trace 1ad74354031dadce ]--- > [43013.114582] BTRFS critical (device sdd1): unable to find logical 0 len 4096 > [43013.114644] BTRFS critical (device sdd1): No mapping for 0-4096 > [43013.114644] > >