[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#576077: linux-image-2.6.32-trunk-amd64: btrfs allocation failed while accessing from fslint



Hi Rob,

Rob wrote:

> [60921.440540] btrfs allocation failed flags 2, wanted 4096
> [60921.440545] space_info has 4128768 free, is not full
> [60921.440548] space_info total=4194304, pinned=0, delalloc=0, may_use=0, used=0, root=0, super=65536, reserved=0

Hm, doesn't look like you're low on space.  But:

[...]
> [60921.440600] kernel BUG at /build/buildd-linux-2.6_2.6.32-5-amd64-9RvY2G/linux-2.6-2.6.32/debian/build/source_amd64_none/fs/btrfs/volumes.c:2389!
[...]
> [60921.440771]  [<ffffffffa0da713b>] ? btrfs_alloc_chunk+0x75/0x86 [btrfs]
> [60921.440777]  [<ffffffff810e3a5d>] ? virt_to_head_page+0x9/0x2b
> [60921.440787]  [<ffffffffa0d78f85>] ? do_chunk_alloc+0x17f/0x1de [btrfs]
> [60921.440798]  [<ffffffffa0d7af2e>] ? btrfs_reserve_extent+0xb6/0x1cf [btrfs]
> [60921.440809]  [<ffffffffa0d9f60e>] ? merge_state+0x98/0x106 [btrfs]
> [60921.440820]  [<ffffffffa0d7b0a1>] ? btrfs_alloc_free_block+0x5a/0x1a9 [btrfs]
> [60921.440832]  [<ffffffffa0d9f225>] ? test_range_bit+0x50/0xd3 [btrfs]
[...]
> [60921.440993] Code: 75 2f e9 92 01 00 00 48 63 c5 48 83 c0 02 48 c1 e0 04 49 8b 34 04 4c 01 be a0 00 00 00 48 8b 7c 24 20 e8 35 fe ff ff 85 c0 74 04 <0f> 0b eb fe ff c5 41 3b 6c 24 18 7c cf 48 8d 73 30 31 ff eb 3e 
> [60921.441025] RIP  [<ffffffffa0da53f2>] __finish_chunk_alloc+0x92/0x20f [btrfs]
> [60921.441036]  RSP <ffff8801cba19818>

It still looks vaguely reminiscent of the bug fixed by
v3.1-rc1~82^2~25^2~8 (Btrfs: fix BUG_ON() caused by ENOSPC when
relocating space, 2011-07-15).

Was this reproducible?  If so, could you try v3.1-rc1 or later[1]?

Sorry for the trouble,
Jonathan

[1] http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-kernel-org-package



Reply to: