From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.virtall.com ([178.63.195.102]:38261 "EHLO mail.virtall.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752055AbaASVrD (ORCPT ); Sun, 19 Jan 2014 16:47:03 -0500 Date: Sun, 19 Jan 2014 22:46:54 +0100 From: Tomasz Chmielewski To: Shilong Wang Cc: "linux-btrfs@vger.kernel.org" Subject: Re: WARNING at fs/btrfs/backref.c:936 find_parent_nodes+0x378/0x5d2 Message-ID: <20140119224654.4e600232@virtall.com> In-Reply-To: References: <20140119140913.501c73e8@virtall.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-btrfs-owner@vger.kernel.org List-ID: No balance was running. The usual rsync and btrfs snapshots; I'm unable to say when exactly it happened (i.e. if it was during rsync or snapshot adding/removal). As of defragment - I didn't run it manually, but I have autodefrag option enabled: /dev/sdc1 on /mnt/lxc2 type btrfs (rw,noatime,compress-force=zlib,space_cache,autodefrag) -- Tomasz Chmielewski On Sun, 19 Jan 2014 23:49:51 +0800 Shilong Wang wrote: > Hello Tomasz, > > This seems a new bug, did you run balance and defragment concurrently > for triggering the following warning? > > Thanks, > Wang > 2014/1/19 Tomasz Chmielewski : > > Just had a few of these with 3.13.0-rc8: > > > > [262162.560701] ------------[ cut here ]------------ > > [262162.560764] WARNING: CPU: 0 PID: 22705 at > > fs/btrfs/backref.c:936 find_parent_nodes+0x378/0x5d2 [btrfs]() > > [262162.560872] 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 pcspkr ehci_pci ehci_hcd button lpc_ich > > mfd_core i2c_i801 i2c_core video acpi_cpufreq ext4 crc16 jbd2 > > mbcache raid1 sg sd_mod ahci libahci libata r8169 mii scsi_mod > > [262162.562685] CPU: 0 PID: 22705 Comm: btrfs-endio-wri Not tainted > > 3.13.0-rc8 #2 [262162.562796] Hardware name: System manufacturer > > System Product Name/P8H77-M PRO, BIOS 1101 02/04/2013 > > [262162.562911] 0000000000000009 ffff88009e911a78 ffffffff813898b7 > > 0000000000000006 [262162.563028] 0000000000000000 ffff88009e911ab8 > > ffffffff810370a9 0100000000000846 [262162.563143] ffffffffa02b7a6f > > ffff8807e7248090 ffff8807f2d5e000 ffff88009e911b40 [262162.563259] > > Call Trace: [262162.563319] [] > > dump_stack+0x46/0x58 [262162.563382] [] > > warn_slowpath_common+0x77/0x91 [262162.563458] > > [] ? find_parent_nodes+0x378/0x5d2 [btrfs] > > [262162.563522] [] warn_slowpath_null+0x15/0x17 > > [262162.563595] [] find_parent_nodes+0x378/0x5d2 > > [btrfs] [262162.563671] [] > > iterate_extent_inodes+0xc9/0x1d6 [btrfs] [262162.563748] > > [] ? record_extent_backrefs+0xc3/0xc3 [btrfs] > > [262162.563824] [] ? > > record_extent_backrefs+0xc3/0xc3 [btrfs] [262162.563899] > > [] iterate_inodes_from_logical+0x7f/0x95 [btrfs] > > [262162.564022] [] > > record_extent_backrefs+0x5b/0xc3 [btrfs] [262162.564098] > > [] btrfs_finish_ordered_io+0x77a/0x877 [btrfs] > > [262162.564221] [] finish_ordered_fn+0x10/0x12 > > [btrfs] [262162.564296] [] > > worker_loop+0x15e/0x495 [btrfs] [262162.564371] > > [] ? btrfs_queue_worker+0x269/0x269 [btrfs] > > [262162.564437] [] kthread+0xcd/0xd5 > > [262162.564499] [] ? > > kthread_freezable_should_stop+0x43/0x43 [262162.564563] > > [] ret_from_fork+0x7c/0xb0 [262162.564626] > > [] ? kthread_freezable_should_stop+0x43/0x43 > > [262162.564689] ---[ end trace 50ae39e01ebd7394 ]--- > > [262162.564753] ------------[ cut here ]------------ > > [262162.564825] WARNING: CPU: 0 PID: 22705 at > > fs/btrfs/backref.c:936 find_parent_nodes+0x378/0x5d2 [btrfs]() > > [262162.564939] 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 pcspkr ehci_pci ehci_hcd button lpc_ich > > mfd_core i2c_i801 i2c_core video acpi_cpufreq ext4 crc16 jbd2 > > mbcache raid1 sg sd_mod ahci libahci libata r8169 mii scsi_mod > > [262162.565348] CPU: 0 PID: 22705 Comm: btrfs-endio-wri Tainted: > > G W 3.13.0-rc8 #2 [262162.565461] Hardware name: System > > manufacturer System Product Name/P8H77-M PRO, BIOS 1101 02/04/2013 > > [262162.565575] 0000000000000009 ffff88009e911a78 ffffffff813898b7 > > 0000000000000006 [262162.565689] 0000000000000000 ffff88009e911ab8 > > ffffffff810370a9 ffff8807f33be200 [262162.565804] ffffffffa02b7a6f > > ffff8807e7248090 ffff8807f2d5e000 ffff88009e911b40 [262162.565920] > > Call Trace: [262162.565975] [] > > dump_stack+0x46/0x58 [262162.566037] [] > > warn_slowpath_common+0x77/0x91 [262162.566109] > > [] ? find_parent_nodes+0x378/0x5d2 [btrfs] > > [262162.566174] [] warn_slowpath_null+0x15/0x17 > > [262162.566247] [] find_parent_nodes+0x378/0x5d2 > > [btrfs] [262162.566321] [] > > iterate_extent_inodes+0xc9/0x1d6 [btrfs] [262162.566396] > > [] ? record_extent_backrefs+0xc3/0xc3 [btrfs] > > [262162.566469] [] ? > > record_extent_backrefs+0xc3/0xc3 [btrfs] [262162.566544] > > [] iterate_inodes_from_logical+0x7f/0x95 [btrfs] > > [262162.566667] [] > > record_extent_backrefs+0x5b/0xc3 [btrfs] [262162.566742] > > [] btrfs_finish_ordered_io+0x77a/0x877 [btrfs] > > [262162.566866] [] finish_ordered_fn+0x10/0x12 > > [btrfs] [262162.566941] [] > > worker_loop+0x15e/0x495 [btrfs] [262162.567015] > > [] ? btrfs_queue_worker+0x269/0x269 [btrfs] > > [262162.567080] [] kthread+0xcd/0xd5 > > [262162.567141] [] ? > > kthread_freezable_should_stop+0x43/0x43 [262162.567205] > > [] ret_from_fork+0x7c/0xb0 [262162.567267] > > [] ? kthread_freezable_should_stop+0x43/0x43 > > [262162.567330] ---[ end trace 50ae39e01ebd7395 ]--- > > > > > > -- > > Tomasz Chmielewski > > http://wpkg.org > > -- > > 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