* WARNING at fs/btrfs/backref.c:936 find_parent_nodes+0x378/0x5d2
@ 2014-01-19 13:09 Tomasz Chmielewski
2014-01-19 15:49 ` Shilong Wang
0 siblings, 1 reply; 4+ messages in thread
From: Tomasz Chmielewski @ 2014-01-19 13:09 UTC (permalink / raw)
To: linux-btrfs
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] [<ffffffff813898b7>] dump_stack+0x46/0x58
[262162.563382] [<ffffffff810370a9>] warn_slowpath_common+0x77/0x91
[262162.563458] [<ffffffffa02b7a6f>] ? find_parent_nodes+0x378/0x5d2 [btrfs]
[262162.563522] [<ffffffff810370d8>] warn_slowpath_null+0x15/0x17
[262162.563595] [<ffffffffa02b7a6f>] find_parent_nodes+0x378/0x5d2 [btrfs]
[262162.563671] [<ffffffffa02b84dc>] iterate_extent_inodes+0xc9/0x1d6 [btrfs]
[262162.563748] [<ffffffffa0270981>] ? record_extent_backrefs+0xc3/0xc3 [btrfs]
[262162.563824] [<ffffffffa0270981>] ? record_extent_backrefs+0xc3/0xc3 [btrfs]
[262162.563899] [<ffffffffa02b8668>] iterate_inodes_from_logical+0x7f/0x95 [btrfs]
[262162.564022] [<ffffffffa0270919>] record_extent_backrefs+0x5b/0xc3 [btrfs]
[262162.564098] [<ffffffffa0278f67>] btrfs_finish_ordered_io+0x77a/0x877 [btrfs]
[262162.564221] [<ffffffffa0279074>] finish_ordered_fn+0x10/0x12 [btrfs]
[262162.564296] [<ffffffffa02940d9>] worker_loop+0x15e/0x495 [btrfs]
[262162.564371] [<ffffffffa0293f7b>] ? btrfs_queue_worker+0x269/0x269 [btrfs]
[262162.564437] [<ffffffff8104ee9a>] kthread+0xcd/0xd5
[262162.564499] [<ffffffff8104edcd>] ? kthread_freezable_should_stop+0x43/0x43
[262162.564563] [<ffffffff8138e6fc>] ret_from_fork+0x7c/0xb0
[262162.564626] [<ffffffff8104edcd>] ? 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] [<ffffffff813898b7>] dump_stack+0x46/0x58
[262162.566037] [<ffffffff810370a9>] warn_slowpath_common+0x77/0x91
[262162.566109] [<ffffffffa02b7a6f>] ? find_parent_nodes+0x378/0x5d2 [btrfs]
[262162.566174] [<ffffffff810370d8>] warn_slowpath_null+0x15/0x17
[262162.566247] [<ffffffffa02b7a6f>] find_parent_nodes+0x378/0x5d2 [btrfs]
[262162.566321] [<ffffffffa02b84dc>] iterate_extent_inodes+0xc9/0x1d6 [btrfs]
[262162.566396] [<ffffffffa0270981>] ? record_extent_backrefs+0xc3/0xc3 [btrfs]
[262162.566469] [<ffffffffa0270981>] ? record_extent_backrefs+0xc3/0xc3 [btrfs]
[262162.566544] [<ffffffffa02b8668>] iterate_inodes_from_logical+0x7f/0x95 [btrfs]
[262162.566667] [<ffffffffa0270919>] record_extent_backrefs+0x5b/0xc3 [btrfs]
[262162.566742] [<ffffffffa0278f67>] btrfs_finish_ordered_io+0x77a/0x877 [btrfs]
[262162.566866] [<ffffffffa0279074>] finish_ordered_fn+0x10/0x12 [btrfs]
[262162.566941] [<ffffffffa02940d9>] worker_loop+0x15e/0x495 [btrfs]
[262162.567015] [<ffffffffa0293f7b>] ? btrfs_queue_worker+0x269/0x269 [btrfs]
[262162.567080] [<ffffffff8104ee9a>] kthread+0xcd/0xd5
[262162.567141] [<ffffffff8104edcd>] ? kthread_freezable_should_stop+0x43/0x43
[262162.567205] [<ffffffff8138e6fc>] ret_from_fork+0x7c/0xb0
[262162.567267] [<ffffffff8104edcd>] ? kthread_freezable_should_stop+0x43/0x43
[262162.567330] ---[ end trace 50ae39e01ebd7395 ]---
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: WARNING at fs/btrfs/backref.c:936 find_parent_nodes+0x378/0x5d2
2014-01-19 13:09 WARNING at fs/btrfs/backref.c:936 find_parent_nodes+0x378/0x5d2 Tomasz Chmielewski
@ 2014-01-19 15:49 ` Shilong Wang
2014-01-19 21:46 ` Tomasz Chmielewski
0 siblings, 1 reply; 4+ messages in thread
From: Shilong Wang @ 2014-01-19 15:49 UTC (permalink / raw)
To: Tomasz Chmielewski; +Cc: linux-btrfs
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 <tch@virtall.com>:
> 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] [<ffffffff813898b7>] dump_stack+0x46/0x58
> [262162.563382] [<ffffffff810370a9>] warn_slowpath_common+0x77/0x91
> [262162.563458] [<ffffffffa02b7a6f>] ? find_parent_nodes+0x378/0x5d2 [btrfs]
> [262162.563522] [<ffffffff810370d8>] warn_slowpath_null+0x15/0x17
> [262162.563595] [<ffffffffa02b7a6f>] find_parent_nodes+0x378/0x5d2 [btrfs]
> [262162.563671] [<ffffffffa02b84dc>] iterate_extent_inodes+0xc9/0x1d6 [btrfs]
> [262162.563748] [<ffffffffa0270981>] ? record_extent_backrefs+0xc3/0xc3 [btrfs]
> [262162.563824] [<ffffffffa0270981>] ? record_extent_backrefs+0xc3/0xc3 [btrfs]
> [262162.563899] [<ffffffffa02b8668>] iterate_inodes_from_logical+0x7f/0x95 [btrfs]
> [262162.564022] [<ffffffffa0270919>] record_extent_backrefs+0x5b/0xc3 [btrfs]
> [262162.564098] [<ffffffffa0278f67>] btrfs_finish_ordered_io+0x77a/0x877 [btrfs]
> [262162.564221] [<ffffffffa0279074>] finish_ordered_fn+0x10/0x12 [btrfs]
> [262162.564296] [<ffffffffa02940d9>] worker_loop+0x15e/0x495 [btrfs]
> [262162.564371] [<ffffffffa0293f7b>] ? btrfs_queue_worker+0x269/0x269 [btrfs]
> [262162.564437] [<ffffffff8104ee9a>] kthread+0xcd/0xd5
> [262162.564499] [<ffffffff8104edcd>] ? kthread_freezable_should_stop+0x43/0x43
> [262162.564563] [<ffffffff8138e6fc>] ret_from_fork+0x7c/0xb0
> [262162.564626] [<ffffffff8104edcd>] ? 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] [<ffffffff813898b7>] dump_stack+0x46/0x58
> [262162.566037] [<ffffffff810370a9>] warn_slowpath_common+0x77/0x91
> [262162.566109] [<ffffffffa02b7a6f>] ? find_parent_nodes+0x378/0x5d2 [btrfs]
> [262162.566174] [<ffffffff810370d8>] warn_slowpath_null+0x15/0x17
> [262162.566247] [<ffffffffa02b7a6f>] find_parent_nodes+0x378/0x5d2 [btrfs]
> [262162.566321] [<ffffffffa02b84dc>] iterate_extent_inodes+0xc9/0x1d6 [btrfs]
> [262162.566396] [<ffffffffa0270981>] ? record_extent_backrefs+0xc3/0xc3 [btrfs]
> [262162.566469] [<ffffffffa0270981>] ? record_extent_backrefs+0xc3/0xc3 [btrfs]
> [262162.566544] [<ffffffffa02b8668>] iterate_inodes_from_logical+0x7f/0x95 [btrfs]
> [262162.566667] [<ffffffffa0270919>] record_extent_backrefs+0x5b/0xc3 [btrfs]
> [262162.566742] [<ffffffffa0278f67>] btrfs_finish_ordered_io+0x77a/0x877 [btrfs]
> [262162.566866] [<ffffffffa0279074>] finish_ordered_fn+0x10/0x12 [btrfs]
> [262162.566941] [<ffffffffa02940d9>] worker_loop+0x15e/0x495 [btrfs]
> [262162.567015] [<ffffffffa0293f7b>] ? btrfs_queue_worker+0x269/0x269 [btrfs]
> [262162.567080] [<ffffffff8104ee9a>] kthread+0xcd/0xd5
> [262162.567141] [<ffffffff8104edcd>] ? kthread_freezable_should_stop+0x43/0x43
> [262162.567205] [<ffffffff8138e6fc>] ret_from_fork+0x7c/0xb0
> [262162.567267] [<ffffffff8104edcd>] ? 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: WARNING at fs/btrfs/backref.c:936 find_parent_nodes+0x378/0x5d2
2014-01-19 15:49 ` Shilong Wang
@ 2014-01-19 21:46 ` Tomasz Chmielewski
2014-01-20 8:41 ` Wang Shilong
0 siblings, 1 reply; 4+ messages in thread
From: Tomasz Chmielewski @ 2014-01-19 21:46 UTC (permalink / raw)
To: Shilong Wang; +Cc: linux-btrfs
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 <wangshilong1991@gmail.com> 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 <tch@virtall.com>:
> > 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] [<ffffffff813898b7>]
> > dump_stack+0x46/0x58 [262162.563382] [<ffffffff810370a9>]
> > warn_slowpath_common+0x77/0x91 [262162.563458]
> > [<ffffffffa02b7a6f>] ? find_parent_nodes+0x378/0x5d2 [btrfs]
> > [262162.563522] [<ffffffff810370d8>] warn_slowpath_null+0x15/0x17
> > [262162.563595] [<ffffffffa02b7a6f>] find_parent_nodes+0x378/0x5d2
> > [btrfs] [262162.563671] [<ffffffffa02b84dc>]
> > iterate_extent_inodes+0xc9/0x1d6 [btrfs] [262162.563748]
> > [<ffffffffa0270981>] ? record_extent_backrefs+0xc3/0xc3 [btrfs]
> > [262162.563824] [<ffffffffa0270981>] ?
> > record_extent_backrefs+0xc3/0xc3 [btrfs] [262162.563899]
> > [<ffffffffa02b8668>] iterate_inodes_from_logical+0x7f/0x95 [btrfs]
> > [262162.564022] [<ffffffffa0270919>]
> > record_extent_backrefs+0x5b/0xc3 [btrfs] [262162.564098]
> > [<ffffffffa0278f67>] btrfs_finish_ordered_io+0x77a/0x877 [btrfs]
> > [262162.564221] [<ffffffffa0279074>] finish_ordered_fn+0x10/0x12
> > [btrfs] [262162.564296] [<ffffffffa02940d9>]
> > worker_loop+0x15e/0x495 [btrfs] [262162.564371]
> > [<ffffffffa0293f7b>] ? btrfs_queue_worker+0x269/0x269 [btrfs]
> > [262162.564437] [<ffffffff8104ee9a>] kthread+0xcd/0xd5
> > [262162.564499] [<ffffffff8104edcd>] ?
> > kthread_freezable_should_stop+0x43/0x43 [262162.564563]
> > [<ffffffff8138e6fc>] ret_from_fork+0x7c/0xb0 [262162.564626]
> > [<ffffffff8104edcd>] ? 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] [<ffffffff813898b7>]
> > dump_stack+0x46/0x58 [262162.566037] [<ffffffff810370a9>]
> > warn_slowpath_common+0x77/0x91 [262162.566109]
> > [<ffffffffa02b7a6f>] ? find_parent_nodes+0x378/0x5d2 [btrfs]
> > [262162.566174] [<ffffffff810370d8>] warn_slowpath_null+0x15/0x17
> > [262162.566247] [<ffffffffa02b7a6f>] find_parent_nodes+0x378/0x5d2
> > [btrfs] [262162.566321] [<ffffffffa02b84dc>]
> > iterate_extent_inodes+0xc9/0x1d6 [btrfs] [262162.566396]
> > [<ffffffffa0270981>] ? record_extent_backrefs+0xc3/0xc3 [btrfs]
> > [262162.566469] [<ffffffffa0270981>] ?
> > record_extent_backrefs+0xc3/0xc3 [btrfs] [262162.566544]
> > [<ffffffffa02b8668>] iterate_inodes_from_logical+0x7f/0x95 [btrfs]
> > [262162.566667] [<ffffffffa0270919>]
> > record_extent_backrefs+0x5b/0xc3 [btrfs] [262162.566742]
> > [<ffffffffa0278f67>] btrfs_finish_ordered_io+0x77a/0x877 [btrfs]
> > [262162.566866] [<ffffffffa0279074>] finish_ordered_fn+0x10/0x12
> > [btrfs] [262162.566941] [<ffffffffa02940d9>]
> > worker_loop+0x15e/0x495 [btrfs] [262162.567015]
> > [<ffffffffa0293f7b>] ? btrfs_queue_worker+0x269/0x269 [btrfs]
> > [262162.567080] [<ffffffff8104ee9a>] kthread+0xcd/0xd5
> > [262162.567141] [<ffffffff8104edcd>] ?
> > kthread_freezable_should_stop+0x43/0x43 [262162.567205]
> > [<ffffffff8138e6fc>] ret_from_fork+0x7c/0xb0 [262162.567267]
> > [<ffffffff8104edcd>] ? 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: WARNING at fs/btrfs/backref.c:936 find_parent_nodes+0x378/0x5d2
2014-01-19 21:46 ` Tomasz Chmielewski
@ 2014-01-20 8:41 ` Wang Shilong
0 siblings, 0 replies; 4+ messages in thread
From: Wang Shilong @ 2014-01-20 8:41 UTC (permalink / raw)
To: Tomasz Chmielewski; +Cc: Shilong Wang, linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
Hello Tomasz,
On 01/20/2014 05:46 AM, Tomasz Chmielewski wrote:
> 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:
Would you please try attached patch and see if problem happen again.:-)
Thanks,
Wang
>
> /dev/sdc1 on /mnt/lxc2 type btrfs
> (rw,noatime,compress-force=zlib,space_cache,autodefrag)
>
>
[-- Attachment #2: 0001-Btrfs-release-path-after-adding-missing-keys.patch --]
[-- Type: text/x-patch, Size: 761 bytes --]
>From a97bab00f5351182962655901b8fb045ae7cf5ac Mon Sep 17 00:00:00 2001
From: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Date: Mon, 20 Jan 2014 15:17:45 +0800
Subject: [PATCH] Btrfs: release path after adding missing keys
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
---
fs/btrfs/backref.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c
index d059cc8..b0ce27a 100644
--- a/fs/btrfs/backref.c
+++ b/fs/btrfs/backref.c
@@ -931,13 +931,13 @@ again:
goto out;
}
}
- btrfs_release_path(path);
list_splice_init(&prefs_delayed, &prefs);
ret = __add_missing_keys(fs_info, &prefs);
if (ret)
goto out;
+ btrfs_release_path(path);
__merge_refs(&prefs, 1);
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-01-20 8:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-19 13:09 WARNING at fs/btrfs/backref.c:936 find_parent_nodes+0x378/0x5d2 Tomasz Chmielewski
2014-01-19 15:49 ` Shilong Wang
2014-01-19 21:46 ` Tomasz Chmielewski
2014-01-20 8:41 ` Wang Shilong
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.