Bug 16131 - kernel BUG at fs/btrfs/extent-tree.c:4363 (btrfs_free_tree_block)
Summary: kernel BUG at fs/btrfs/extent-tree.c:4363 (btrfs_free_tree_block)
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 high
Assignee: fs_btrfs@kernel-bugs.osdl.org
Depends on:
Blocks: 16055
  Show dependency tree
Reported: 2010-06-05 18:53 UTC by Chow Loong Jin
Modified: 2010-06-27 22:30 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.35-rc1
Regression: Yes
Bisected commit-id:

Stack trace for BUG (5.39 KB, text/plain)
2010-06-05 19:09 UTC, Chow Loong Jin

Description Chow Loong Jin 2010-06-05 18:53:49 UTC
When running "find /", where / and /home are both btrfs filesystems, it segfaults, and the BUG occurs. A git bisect has shown that the bug is introduced in commit f0486c68e4bd9a06a5904d3eeb3a0d73a83befb8, which is pretty much the commit that introduced this function.

The end-result is that everything that attempts to perform any I/O that touches the disk just hangs. Attached is the relevant snippet from my kern.log containing the stack trace.
Comment 1 Chow Loong Jin 2010-06-05 19:09:58 UTC
Created attachment 26663 [details]
Stack trace for BUG
Comment 2 Chris Mason 2010-06-08 02:06:41 UTC
Yan Zheng has this one fixed.  I'll push it out.

Comment 3 Chow Loong Jin 2010-06-08 17:31:27 UTC
I've tested the patch and confirm it fixes the issue.
Comment 4 Rafael J. Wysocki 2010-06-08 21:37:19 UTC
Handled-By : Yan Zheng <zheng.yan@oracle.com>
Patch : https://patchwork.kernel.org/patch/103235/
Comment 5 Rafael J. Wysocki 2010-06-27 22:30:04 UTC
Fixed by commit 3bf84a5a834d13e7c5c3e8e5b5c6b26012118dd8 .

Note You need to log in before you can comment on or make changes to this bug.