From: Tomasz Chmielewski <tch@virtall.com>
To: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: kernel BUG at fs/btrfs/relocation.c:1062
Date: Thu, 19 Dec 2013 22:07:37 +0900 [thread overview]
Message-ID: <20131219220737.7b173f9a@virtall.com> (raw)
In-Reply-To: <52B2EB40.5090904@cn.fujitsu.com>
If it matters, I had to hard reboot after that bug; the balance
continued after the system booted again and I got this a while later
(filesystem was remounted read only):
[ 1781.321219] btrfs: found 232188 extents
[ 1781.994796] btrfs: relocating block group 3443586498560 flags 20
[ 2603.422490] btrfs: found 203955 extents
[ 2606.188826] btrfs: relocating block group 3051670732800 flags 20
[ 2806.720510] BTRFS debug (device sdb5): run_one_delayed_ref returned -28
[ 2806.720513] ------------[ cut here ]------------
[ 2806.720530] WARNING: CPU: 1 PID: 2359 at fs/btrfs/super.c:254 __btrfs_abort_transaction+0x4d/0xff [btrfs]()
[ 2806.720544] btrfs: Transaction aborted (error -28)
[ 2806.720544] Modules linked in: veth 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 lpc_ich mfd_core i2c_i801 i2c_core button acpi_cpufreq ehci_pci video ehci_hcd ext4 crc16 jbd2 mbcache raid1 sg sd_mod ahci libahci libata scsi_mod r8169 mii
[ 2806.720626] CPU: 1 PID: 2359 Comm: btrfs-transacti Not tainted 3.13.0-rc4 #1
[ 2806.720636] Hardware name: System manufacturer System Product Name/P8H77-M PRO, BIOS 1101 02/04/2013
[ 2806.720650] 0000000000000009 ffff8807ed73dc48 ffffffff8138a37d 0000000000000006
[ 2806.720705] ffff8807ed73dc98 ffff8807ed73dc88 ffffffff810370a9 ffff8807ed73dd80
[ 2806.720797] ffffffffa0227524 00000000ffffffe4 ffff8807f3389000 ffff8807efad4f00
[ 2806.720889] Call Trace:
[ 2806.720935] [<ffffffff8138a37d>] dump_stack+0x46/0x58
[ 2806.720986] [<ffffffff810370a9>] warn_slowpath_common+0x77/0x91
[ 2806.721005] BTRFS error (device sdb5) in __btrfs_free_extent:5783: errno=-28 No space left
[ 2806.721006] BTRFS info (device sdb5): forced readonly
[ 2806.721007] BTRFS debug (device sdb5): run_one_delayed_ref returned -28
[ 2806.721008] BTRFS error (device sdb5) in btrfs_run_delayed_refs:2730: errno=-28 No space left
[ 2806.721276] [<ffffffffa0227524>] ? __btrfs_abort_transaction+0x4d/0xff [btrfs]
[ 2806.721372] [<ffffffff81037157>] warn_slowpath_fmt+0x41/0x43
[ 2806.721426] [<ffffffffa0227524>] __btrfs_abort_transaction+0x4d/0xff [btrfs]
[ 2806.721482] [<ffffffffa023c6ed>] btrfs_run_delayed_refs+0x253/0x46f [btrfs]
[ 2806.721538] [<ffffffffa0249aef>] btrfs_commit_transaction+0x70/0x7df [btrfs]
[ 2806.721593] [<ffffffffa0248345>] transaction_kthread+0xef/0x1c2 [btrfs]
[ 2806.721646] [<ffffffffa0248256>] ? open_ctree+0x1ac7/0x1ac7 [btrfs]
[ 2806.721697] [<ffffffff8104ee9a>] kthread+0xcd/0xd5
[ 2806.721744] [<ffffffff8104edcd>] ? kthread_freezable_should_stop+0x43/0x43
[ 2806.721794] [<ffffffff8138f17c>] ret_from_fork+0x7c/0xb0
[ 2806.721844] [<ffffffff8104edcd>] ? kthread_freezable_should_stop+0x43/0x43
[ 2806.721893] ---[ end trace 5d2cc0a807b9d02a ]---
[ 2806.721942] BTRFS error (device sdb5) in btrfs_run_delayed_refs:2730: errno=-28 No space left
--
Tomasz Chmielewski
http://wpkg.org
On Thu, 19 Dec 2013 20:49:04 +0800
Wang Shilong <wangsl.fnst@cn.fujitsu.com> wrote:
> On 12/19/2013 08:30 PM, Tomasz Chmielewski wrote:
> > It was 3.13.0-rc4.
> I take a look at line 1062, this should be a new bug!!!
>
> Thanks,
> Wang
> >
> >
> > On Thu, 19 Dec 2013 20:14:17 +0800
> > Wang Shilong <wangsl.fnst@cn.fujitsu.com> wrote:
> >
> >> Hello Tomasz,
> >>
> >> This seems a known bug that has been fixed by josef, what is your
> >> kernel version?
> >>
> >>
> >> Thanks,
> >> Wang
> >> On 12/19/2013 08:09 PM, Tomasz Chmielewski wrote:
> >>> Got this while running balance. Some other operations were running
> >>> in parallel (rsync etc.).
> >>>
> >>> [152727.584641] ------------[ cut here ]------------
> >>> [152727.584723] kernel BUG at fs/btrfs/relocation.c:1062!
> >>> [152727.584802] invalid opcode: 0000 [#1] SMP
> >>> [152727.584943] Modules linked in: veth 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 video i2c_i801 i2c_core button
> >>> acpi_cpufreq pcspkr ehci_pci ehci_hcd lpc_ich mfd_core ext4 crc16
> >>> jbd2 mbcache raid1 sg sd_mod r8169 mii ahci libahci libata
> >>> scsi_mod [152727.586767] CPU: 3 PID: 1540 Comm: btrfs Tainted:
> >>> G W 3.13.0-rc4 #1 [152727.586888] Hardware name: System
> >>> manufacturer System Product Name/P8H77-M PRO, BIOS 1101 02/04/2013
> >>> [152727.587011] task: ffff8805bedf9710 ti: ffff8805a9d9a000
> >>> task.ti: ffff8805a9d9a000 [152727.587132] RIP:
> >>> 0010:[<ffffffffa02ab31f>] [<ffffffffa02ab31f>]
> >>> build_backref_tree+0xb03/0xe7a [btrfs] [152727.587300] RSP:
> >>> 0018:ffff8805a9d9b898 EFLAGS: 00010246 [152727.587379] RAX:
> >>> ffff8805a9d9b900 RBX: ffff8805a9d9b920 RCX: ffff88055a72fa10
> >>> [152727.587499] RDX: ffff88055a72ff50 RSI: ffff88055a72ff80 RDI:
> >>> ffff8807e8878600 [152727.587619] RBP: ffff8805a9d9b998 R08:
> >>> ffff8807e8878b80 R09: 0000000000001000 [152727.587739] R10:
> >>> 0000000000001000 R11: 0000160000000000 R12: 0000000000000000
> >>> [152727.587859] R13: ffff88055a72ff90 R14: ffff8805a9d9b930 R15:
> >>> ffff88028e648000 [152727.587980] FS: 00007fca66eca840(0000)
> >>> GS:ffff88081fac0000(0000) knlGS:0000000000000000 [152727.588101]
> >>> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [152727.588180]
> >>> CR2: 00007fac0ba80000 CR3: 00000007006d9000 CR4: 00000000001407e0
> >>> [152727.588300] Stack: [152727.588374] ffff8800611992c0
> >>> 0000000000000000 ffff8806c99dd500 ffff8807e8878600 [152727.588623]
> >>> ffff88055a72fde0 ffff8806c99dd240 ffff88028e648124
> >>> ffff88028e648124 [152727.588871] ffff88028e648120
> >>> ffff88028e648020 ffff8807ece02c60 ffff8807ece02a20
> >>> [152727.589120] Call Trace: [152727.589205] [<ffffffffa02ac13a>]
> >>> relocate_tree_blocks+0x1c0/0x544 [btrfs] [152727.589292]
> >>> [<ffffffffa024f2a9>] ? btrfs_release_path+0x6b/0x8a [btrfs]
> >>> [152727.589382] [<ffffffffa02ad399>]
> >>> relocate_block_group+0x23f/0x4c7 [btrfs] [152727.589470]
> >>> [<ffffffffa02ad76f>] btrfs_relocate_block_group+0x14e/0x28d
> >>> [btrfs] [152727.589598] [<ffffffffa028c8d2>]
> >>> btrfs_relocate_chunk.isra.65+0x58/0x60e [btrfs] [152727.589727]
> >>> [<ffffffffa029a1ff>] ? btrfs_set_lock_blocking_rw+0x89/0xb2
> >>> [btrfs] [152727.589853] [<ffffffffa024f1b7>] ?
> >>> btrfs_set_path_blocking+0x23/0x54 [btrfs] [152727.589979]
> >>> [<ffffffffa0253a1b>] ? btrfs_search_slot+0x72f/0x789 [btrfs]
> >>> [152727.590068] [<ffffffffa0288be1>] ?
> >>> free_extent_buffer+0x6f/0x7c [btrfs] [152727.590157]
> >>> [<ffffffffa028f709>] btrfs_balance+0x9fe/0xbe0 [btrfs]
> >>> [152727.590245] [<ffffffffa02954c9>]
> >>> btrfs_ioctl_balance+0x220/0x29f [btrfs] [152727.590334]
> >>> [<ffffffffa0298a66>] btrfs_ioctl+0xfce/0x2128 [btrfs]
> >>> [152727.590417] [<ffffffff810c98c1>] ?
> >>> handle_mm_fault+0x24f/0x965 [152727.590498]
> >>> [<ffffffff810ccc11>] ? __vm_enough_memory+0x26/0x13d
> >>> [152727.590581] [<ffffffff8110219e>] do_vfs_ioctl+0x3f7/0x441
> >>> [152727.590661] [<ffffffff8110223a>] SyS_ioctl+0x52/0x80
> >>> [152727.590741] [<ffffffff8138f222>]
> >>> system_call_fastpath+0x16/0x1b [152727.590821] Code: 60 71 fd 49
> >>> 89 40 50 49 89 40 58 49 8b 40 58 4d 89 68 58 49 83 c0 50 4d 89 45
> >>> 00 49 89 45 08 4c 89 28 e9 aa 00 00 00 a8 10 75 02 <0f> 0b 83 e0
> >>> 01 41 39 c4 74 02 0f 0b 45 85 e4 75 32 49 8b 70 18
> >>> [152727.593073] RIP [<ffffffffa02ab31f>]
> >>> build_backref_tree+0xb03/0xe7a [btrfs] [152727.593194] RSP
> >>> <ffff8805a9d9b898> [152727.593290] ---[ end trace
> >>> b67170e8ece9f591 ]---
> >>>
> >>>
> > --
> > 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
> >
>
next prev parent reply other threads:[~2013-12-19 13:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-19 12:09 kernel BUG at fs/btrfs/relocation.c:1062 Tomasz Chmielewski
2013-12-19 12:14 ` Wang Shilong
2013-12-19 12:30 ` Tomasz Chmielewski
2013-12-19 12:49 ` Wang Shilong
2013-12-19 13:07 ` Tomasz Chmielewski [this message]
2013-12-20 15:06 ` Tomasz Chmielewski
2013-12-20 15:52 ` Shilong Wang
2013-12-20 15:59 ` Tomasz Chmielewski
2013-12-20 16:07 ` Shilong Wang
2013-12-20 16:41 ` Tomasz Chmielewski
2013-12-20 17:11 ` Shilong Wang
2013-12-21 3:08 ` Tomasz Chmielewski
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=20131219220737.7b173f9a@virtall.com \
--to=tch@virtall.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=wangsl.fnst@cn.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).