Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Bernardo Donadio <bcdonadio@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Kernel lockup: "fs/btrfs/delayed-inoce.c:1410 btrfs_assert_delayed_root_empty"
Date: Mon, 01 Dec 2014 19:24:30 -0200	[thread overview]
Message-ID: <m5imaf$s9b$1@ger.gmane.org> (raw)

Hi,

I'm having fairly frequent kernel lockups caused by btrfs, which I think 
it might be a serious bug. I'm using linux-3.17.3.200.fc20.x86_64. It 
freezes the whole system, and spits the error trace in the journal a few 
seconds later.

Here's the journal log, notice that there are 2 stack traces with little 
time between them:

Dez 01 19:15:12 darwin.donadio.be kernel: ------------[ cut here 
]------------
Dez 01 19:15:12 darwin.donadio.be kernel: WARNING: CPU: 3 PID: 494 at 
fs/btrfs/delayed-inode.c:1410 btrfs_assert_delayed_root_empty+0x34/0x40 
[btrfs]()
Dez 01 19:15:12 darwin.donadio.be kernel: Modules linked in: ufs hfsplus 
hfs minix vfat msdos fat jfs xfs libcrc32c reiserfs rfcomm fuse 
xt_CHECKSUM iptable_mangle tun bridge stp llc ip6table_filter ip6_tables 
ebtable_nat ebtables cfg80211 bnep usblp btusb bluetooth rfkill uvcvideo 
videobuf2_vmalloc videobuf2_memops videobuf2_core snd_usb_audio 
v4l2_common videodev snd_usbmidi_lib snd_rawmidi media joydev kvm_amd 
kvm serio_raw k10temp edac_core snd_hda_codec_realtek snd_hda_codec_hdmi 
snd_hda_codec_generic edac_mce_amd snd_hda_intel snd_hda_controller 
sp5100_tco snd_hda_codec snd_seq i2c_piix4 snd_hwdep snd_seq_device 
snd_pcm snd_timer snd soundcore shpchp acpi_cpufreq binfmt_misc nfsd 
auth_rpcgss nfs_acl lockd sunrpc btrfs xor raid6_pq r8169 mii radeon 
i2c_algo_bit drm_kms_helper ttm drm
Dez 01 19:15:12 darwin.donadio.be kernel: CPU: 3 PID: 494 Comm: 
btrfs-transacti Tainted: G        W      3.17.3-200.fc20.x86_64 #1
Dez 01 19:15:12 darwin.donadio.be kernel: Hardware name: ECS 
A890GXM-A/A890GXM-A, BIOS 080015  03/24/2010
Dez 01 19:15:12 darwin.donadio.be kernel:  0000000000000000 
00000000314b2122 ffff8802213e3db8 ffffffff81728acc
Dez 01 19:15:12 darwin.donadio.be kernel:  0000000000000000 
ffff8802213e3df0 ffffffff81094e6d ffff8801e6d78000
Dez 01 19:15:12 darwin.donadio.be kernel:  ffff88022101e800 
ffff8802097d9f00 0000000000000000 0000000000000000
Dez 01 19:15:12 darwin.donadio.be kernel: Call Trace:
Dez 01 19:15:12 darwin.donadio.be kernel:  [<ffffffff81728acc>] 
dump_stack+0x45/0x56
Dez 01 19:15:12 darwin.donadio.be kernel:  [<ffffffff81094e6d>] 
warn_slowpath_common+0x7d/0xa0
Dez 01 19:15:12 darwin.donadio.be kernel:  [<ffffffff81094f9a>] 
warn_slowpath_null+0x1a/0x20
Dez 01 19:15:12 darwin.donadio.be kernel:  [<ffffffffa02cc674>] 
btrfs_assert_delayed_root_empty+0x34/0x40 [btrfs]
Dez 01 19:15:12 darwin.donadio.be kernel:  [<ffffffffa02771b2>] 
btrfs_commit_transaction+0x3a2/0x9c0 [btrfs]
Dez 01 19:15:12 darwin.donadio.be kernel:  [<ffffffffa0272c45>] 
transaction_kthread+0x1c5/0x250 [btrfs]
Dez 01 19:15:12 darwin.donadio.be kernel:  [<ffffffffa0272a80>] ? 
btrfs_cleanup_transaction+0x550/0x550 [btrfs]
Dez 01 19:15:12 darwin.donadio.be kernel:  [<ffffffff810b2498>] 
kthread+0xd8/0xf0
Dez 01 19:15:12 darwin.donadio.be kernel:  [<ffffffff810b23c0>] ? 
kthread_create_on_node+0x190/0x190
Dez 01 19:15:12 darwin.donadio.be kernel:  [<ffffffff817300fc>] 
ret_from_fork+0x7c/0xb0
Dez 01 19:15:12 darwin.donadio.be kernel:  [<ffffffff810b23c0>] ? 
kthread_create_on_node+0x190/0x190
Dez 01 19:15:12 darwin.donadio.be kernel: ---[ end trace 
81e909e70c8984e0 ]---
Dez 01 19:15:42 darwin.donadio.be kernel: ------------[ cut here 
]------------
Dez 01 19:15:42 darwin.donadio.be kernel: WARNING: CPU: 2 PID: 494 at 
fs/btrfs/delayed-inode.c:1410 btrfs_assert_delayed_root_empty+0x34/0x40 
[btrfs]()
Dez 01 19:15:42 darwin.donadio.be kernel: Modules linked in: ufs hfsplus 
hfs minix vfat msdos fat jfs xfs libcrc32c reiserfs rfcomm fuse 
xt_CHECKSUM iptable_mangle tun bridge stp llc ip6table_filter ip6_tables 
ebtable_nat ebtables cfg80211 bnep usblp btusb bluetooth rfkill uvcvideo 
videobuf2_vmalloc videobuf2_memops videobuf2_core snd_usb_audio 
v4l2_common videodev snd_usbmidi_lib snd_rawmidi media joydev kvm_amd 
kvm serio_raw k10temp edac_core snd_hda_codec_realtek snd_hda_codec_hdmi 
snd_hda_codec_generic edac_mce_amd snd_hda_intel snd_hda_controller 
sp5100_tco snd_hda_codec snd_seq i2c_piix4 snd_hwdep snd_seq_device 
snd_pcm snd_timer snd soundcore shpchp acpi_cpufreq binfmt_misc nfsd 
auth_rpcgss nfs_acl lockd sunrpc btrfs xor raid6_pq r8169 mii radeon 
i2c_algo_bit drm_kms_helper ttm drm
Dez 01 19:15:42 darwin.donadio.be kernel: CPU: 2 PID: 494 Comm: 
btrfs-transacti Tainted: G        W      3.17.3-200.fc20.x86_64 #1
Dez 01 19:15:42 darwin.donadio.be kernel: Hardware name: ECS 
A890GXM-A/A890GXM-A, BIOS 080015  03/24/2010
Dez 01 19:15:42 darwin.donadio.be kernel:  0000000000000000 
00000000314b2122 ffff8802213e3db8 ffffffff81728acc
Dez 01 19:15:42 darwin.donadio.be kernel:  0000000000000000 
ffff8802213e3df0 ffffffff81094e6d ffff8801eb8fc140
Dez 01 19:15:42 darwin.donadio.be kernel:  ffff88022101e800 
ffff88009da84b40 0000000000000000 0000000000000000
Dez 01 19:15:42 darwin.donadio.be kernel: Call Trace:
Dez 01 19:15:42 darwin.donadio.be kernel:  [<ffffffff81728acc>] 
dump_stack+0x45/0x56
Dez 01 19:15:42 darwin.donadio.be kernel:  [<ffffffff81094e6d>] 
warn_slowpath_common+0x7d/0xa0
Dez 01 19:15:42 darwin.donadio.be kernel:  [<ffffffff81094f9a>] 
warn_slowpath_null+0x1a/0x20
Dez 01 19:15:42 darwin.donadio.be kernel:  [<ffffffffa02cc674>] 
btrfs_assert_delayed_root_empty+0x34/0x40 [btrfs]
Dez 01 19:15:42 darwin.donadio.be kernel:  [<ffffffffa02771b2>] 
btrfs_commit_transaction+0x3a2/0x9c0 [btrfs]
Dez 01 19:15:42 darwin.donadio.be kernel:  [<ffffffffa0272c45>] 
transaction_kthread+0x1c5/0x250 [btrfs]
Dez 01 19:15:42 darwin.donadio.be kernel:  [<ffffffffa0272a80>] ? 
btrfs_cleanup_transaction+0x550/0x550 [btrfs]
Dez 01 19:15:42 darwin.donadio.be kernel:  [<ffffffff810b2498>] 
kthread+0xd8/0xf0
Dez 01 19:15:42 darwin.donadio.be kernel:  [<ffffffff810b23c0>] ? 
kthread_create_on_node+0x190/0x190
Dez 01 19:15:42 darwin.donadio.be kernel:  [<ffffffff817300fc>] 
ret_from_fork+0x7c/0xb0
Dez 01 19:15:42 darwin.donadio.be kernel:  [<ffffffff810b23c0>] ? 
kthread_create_on_node+0x190/0x190
Dez 01 19:15:42 darwin.donadio.be kernel: ---[ end trace 
81e909e70c8984e1 ]---

--
Bernardo Donadio


             reply	other threads:[~2014-12-01 21:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-01 21:24 Bernardo Donadio [this message]
2014-12-07  2:45 ` Kernel lockup: "fs/btrfs/delayed-inoce.c:1410 btrfs_assert_delayed_root_empty" Andrew Wade
2014-12-07 19:20   ` Chris Murphy
2014-12-10  0:06     ` Andrew Wade

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='m5imaf$s9b$1@ger.gmane.org' \
    --to=bcdonadio@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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