Hello Chris, Chris Mason hat am Wed 17. Feb, 09:11 (-0500) geschrieben: > On Tue, Feb 16, 2010 at 11:15:44AM +0100, Jörg Sommer wrote: > > I've an utterly broken btrfs that makes btrfsck and btrfs-debug-tree > > (version 0.19) die with a core dump. Are you interested in this > > filesystem? Unfortunely, it has a size of 1TB and contains the backups of > > our customers. Hence, I can't publish it. How can we come together? > > I'm most interested in how it got corrupted. Was there a specific event > that you think caused this? IIRC this was what I did: # mkfs.btrfs /dev # mount /dev /mnt # rsync -r /big-files/. /mnt & # rsync -r /many-small-files/. /mnt Both directories /big-files and /many-small-files contained more stuff than the filesystem could take. This caused messages like these and an oops: [52347.662798] space_info has 456077312 free, is full [52347.662803] space_info total=7516192768, pinned=3354624, delalloc=446111744, may_use=5271552, used=7056633856, root=2875392, super=65536, reserved=61440 [52785.319084] space_info has 265703424 free, is full [52785.319090] space_info total=7516192768, pinned=5734400, delalloc=255164416, may_use=5271552, used=7244541952, root=2875392, super=65536, reserved=147456 [53880.400038] INFO: task rsync:4301 blocked for more than 120 seconds. [53880.400042] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [53880.400044] rsync D 000000000015f000 0 4301 4300 0x00000000 [53880.400049] ffff880037de54c0 0000000000000086 ffff880001815630 0000000000000000 [53880.400054] ffff8800018155c0 ffff880037f38710 000000000000f8a0 ffff8800342f7fd8 [53880.400057] 00000000000155c0 00000000000155c0 ffff880037f38710 ffff880037f38a08 [53880.400061] Call Trace: [53880.400073] [<ffffffff8104a1d9>] ? try_to_wake_up+0x249/0x259 [53880.400099] [<ffffffffa031c871>] ? wait_on_flush+0xba/0xbc [btrfs] [53880.400104] [<ffffffff81064aae>] ? autoremove_wake_function+0x0/0x2e [53880.400115] [<ffffffffa0322deb>] ? flush_delalloc+0x95/0xf0 [btrfs] [53880.400125] [<ffffffffa0322f82>] ? btrfs_reserve_metadata_space+0x13c/0x196 [btrfs] [53880.400138] [<ffffffffa0332efe>] ? btrfs_link+0x3d/0x13d [btrfs] [53880.400142] [<ffffffff810f3349>] ? generic_permission+0x4b/0x8a [53880.400145] [<ffffffff810f4b18>] ? vfs_link+0xd4/0x13f [53880.400149] [<ffffffff810f6e36>] ? sys_linkat+0xb8/0x114 [53880.400153] [<ffffffff810ef4a9>] ? sys_newlstat+0x23/0x30 [53880.400159] [<ffffffff81010b02>] ? system_call_fastpath+0x16/0x1b [53923.004051] space_info has 28528640 free, is full [53923.004056] space_info total=7516192768, pinned=91860992, delalloc=19382272, may_use=5271552, used=7395438592, root=2875392, super=65536, reserved=299008 [53950.329252] space_info has 10444800 free, is full [53950.329257] space_info total=7516192768, pinned=108163072, delalloc=0, may_use=2396160, used=7397515264, root=2875392, super=65536, reserved=4096 [53951.123533] space_info has 10387456 free, is full From this point on, I'm not really sure what I've done in which order. I remember I've run btrfsck and tried to remove the file from the directory many-small-files and I've rebooted the kernel to kill the locked rsync. I've got also these messages and oops'. [54461.088378] btrfs allocation failed flags 36, wanted 4096 [54461.088382] space_info has 0 free, is full [54461.088386] space_info total=7516192768, pinned=63942656, delalloc=1277952, may_use=5271552, used=7449575424, root=2875392, super=65536, reserved=2609152 [54461.088391] block group 29360128 has 1073741824 bytes, 1064935424 used 8740864 pinned 0 reserved [54461.088394] block group has cluster?: no [54461.088397] 0 blocks of free space at or bigger than bytes is [54461.088400] block group 36536582144 has 1073741824 bytes, 1065848832 used 7892992 pinned 0 reserved [54461.088403] block group has cluster?: no [54461.088405] 0 blocks of free space at or bigger than bytes is [54461.088408] block group 179344244736 has 1073741824 bytes, 1068212224 used 5529600 pinned 0 reserved [54461.088410] block group has cluster?: no [54461.088412] 0 blocks of free space at or bigger than bytes is [54461.088415] block group 440263507968 has 1073741824 bytes, 1058783232 used 14958592 pinned 0 reserved [54461.088418] block group has cluster?: no [54461.088420] 0 blocks of free space at or bigger than bytes is [54461.088423] block group 512204210176 has 1073741824 bytes, 1065304064 used 8437760 pinned 0 reserved [54461.088426] block group has cluster?: no [54461.088428] 0 blocks of free space at or bigger than bytes is [54461.088431] block group 901972492288 has 1073741824 bytes, 1059700736 used 14041088 pinned 0 reserved [54461.088434] entry offset 902777798656, bytes 0, bitmap yes [54461.088460] block group has cluster?: no [54461.088462] 0 blocks of free space at or bigger than bytes is [54461.088465] block group 903046234112 has 1073741824 bytes, 1066790912 used 4341760 pinned 2609152 reserved [54461.088468] block group has cluster?: no [54461.088470] 0 blocks of free space at or bigger than bytes is [54461.088472] ------------[ cut here ]------------ [54461.088500] WARNING: 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/extent_io.c:3210 btrfs_release_path+0x3b/0x52 [btrfs]() [54461.088506] Hardware name: To Be Filled By O.E.M. [54461.088508] Modules linked in: loop ext4 jbd2 crc16 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx btrfs zlib_deflate crc32c libcrc32c twofish twofish_common xts gf128mul ext3 jbd dm_crypt dm_mod snd_pcm snd_timer snd parport_pc soundcore parport i2c_nforce2 snd_page_alloc edac_core edac_mce_amd i2c_core pcspkr k8temp evdev processor ext2 mbcache raid1 md_mod sd_mod crc_t10dif ata_generic ide_pci_generic usb_storage ohci_hcd sata_nv amd74xx floppy 3w_xxxx button libata scsi_mod forcedeth ide_core ehci_hcd usbcore nls_base thermal fan thermal_sys [last unloaded: scsi_wait_scan] [54461.088558] Pid: 4511, comm: flush-btrfs-1 Not tainted 2.6.32-trunk-amd64 #1 [54461.088561] Call Trace: [54461.088573] [<ffffffffa03161dd>] ? btrfs_release_path+0x3b/0x52 [btrfs] [54461.088583] [<ffffffffa03161dd>] ? btrfs_release_path+0x3b/0x52 [btrfs] [54461.088590] [<ffffffff8104dc34>] ? warn_slowpath_common+0x77/0xa3 [54461.088600] [<ffffffffa03161dd>] ? btrfs_release_path+0x3b/0x52 [btrfs] [54461.088611] [<ffffffffa031b01d>] ? btrfs_search_slot+0x4f0/0x502 [btrfs] [54461.088622] [<ffffffffa031b4c9>] ? btrfs_insert_empty_items+0x5e/0xaa [btrfs] [54461.088633] [<ffffffffa03221b9>] ? run_one_delayed_ref+0x1df/0x4ba [btrfs] [54461.088645] [<ffffffffa03240f6>] ? run_clustered_refs+0x259/0x298 [btrfs] [54461.088657] [<ffffffffa03588b0>] ? btrfs_find_ref_cluster+0xf9/0x13d [btrfs] [54461.088668] [<ffffffffa03241ff>] ? btrfs_run_delayed_refs+0xca/0x16e [btrfs] [54461.088681] [<ffffffffa032cc65>] ? __btrfs_end_transaction+0x55/0x115 [btrfs] [54461.088694] [<ffffffffa033137d>] ? cow_file_range+0x33b/0x34f [btrfs] [54461.088700] [<ffffffff810e3a5d>] ? virt_to_head_page+0x9/0x2b [54461.088712] [<ffffffffa0344b6d>] ? set_extent_bit+0x3c0/0x403 [btrfs] [54461.088725] [<ffffffffa03319a7>] ? run_delalloc_range+0xa1/0x36b [btrfs] [54461.088737] [<ffffffffa03441ff>] ? test_range_bit+0x2a/0xd3 [btrfs] [54461.088749] [<ffffffffa034718f>] ? find_lock_delalloc_range+0x181/0x1a9 [btrfs] [54461.088761] [<ffffffffa0345834>] ? end_bio_extent_writepage+0x0/0x158 [btrfs] [54461.088773] [<ffffffffa03473b2>] ? __extent_writepage+0x1fb/0x660 [btrfs] [54461.088780] [<ffffffff81188bbb>] ? radix_tree_gang_lookup_tag_slot+0x25/0xa3 [54461.088793] [<ffffffffa0344e97>] ? extent_write_cache_pages+0x135/0x209 [btrfs] [54461.088805] [<ffffffffa03439e0>] ? flush_write_bio+0x0/0x2 [btrfs] [54461.088817] [<ffffffffa03471b7>] ? __extent_writepage+0x0/0x660 [btrfs] [54461.088823] [<ffffffff81047f86>] ? finish_task_switch+0x3a/0xa7 [54461.088829] [<ffffffff812e57ec>] ? thread_return+0x79/0xe0 [54461.088841] [<ffffffffa0344fb6>] ? extent_writepages+0x4b/0x5f [btrfs] [54461.088853] [<ffffffffa032ffa6>] ? btrfs_get_extent+0x0/0x741 [btrfs] [54461.088858] [<ffffffff81064a9c>] ? wake_up_bit+0x10/0x22 [54461.088864] [<ffffffff81104f1a>] ? writeback_single_inode+0xe7/0x2da [54461.088868] [<ffffffff81105bf3>] ? writeback_inodes_wb+0x423/0x4fe [54461.088872] [<ffffffff81064adc>] ? wake_bit_function+0x0/0x23 [54461.088876] [<ffffffff81105dfa>] ? wb_writeback+0x12c/0x1ab [54461.088882] [<ffffffff8105a522>] ? try_to_del_timer_sync+0x63/0x6c [54461.088886] [<ffffffff81106060>] ? wb_do_writeback+0x145/0x15b [54461.088890] [<ffffffff811060a7>] ? bdi_writeback_task+0x31/0x9d [54461.088895] [<ffffffff810c76e2>] ? bdi_start_fn+0x0/0xca [54461.088899] [<ffffffff810c7752>] ? bdi_start_fn+0x70/0xca [54461.088903] [<ffffffff810c76e2>] ? bdi_start_fn+0x0/0xca [54461.088906] [<ffffffff810647e1>] ? kthread+0x79/0x81 [54461.088910] [<ffffffff81011b6a>] ? child_rip+0xa/0x20 [54461.088914] [<ffffffff81064768>] ? kthread+0x0/0x81 [54461.088917] [<ffffffff81011b60>] ? child_rip+0x0/0x20 [54461.088919] ---[ end trace 0cbd065c97edf82a ]--- [54461.088951] ------------[ cut here ]------------ [54461.088973] 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/extent-tree.c:4738! [54461.089021] invalid opcode: 0000 [#1] SMP [54461.089043] last sysfs file: /sys/devices/virtual/block/loop1/removable [54461.089068] CPU 0 [54461.089086] Modules linked in: loop ext4 jbd2 crc16 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx btrfs zlib_deflate crc32c libcrc32c twofish twofish_common xts gf128mul ext3 jbd dm_crypt dm_mod snd_pcm snd_timer snd parport_pc soundcore parport i2c_nforce2 snd_page_alloc edac_core edac_mce_amd i2c_core pcspkr k8temp evdev processor ext2 mbcache raid1 md_mod sd_mod crc_t10dif ata_generic ide_pci_generic usb_storage ohci_hcd sata_nv amd74xx floppy 3w_xxxx button libata scsi_mod forcedeth ide_core ehci_hcd usbcore nls_base thermal fan thermal_sys [last unloaded: scsi_wait_scan] [54461.089333] Pid: 4511, comm: flush-btrfs-1 Tainted: G W 2.6.32-trunk-amd64 #1 To Be Filled By O.E.M. [54461.089374] RIP: 0010:[<ffffffffa03221bd>] [<ffffffffa03221bd>] run_one_delayed_ref+0x1e3/0x4ba [btrfs] [54461.089424] RSP: 0018:ffff880022765700 EFLAGS: 00010286 [54461.089447] RAX: 00000000ffffffe4 RBX: ffff8800379d8000 RCX: ffffffff81017117 [54461.089473] RDX: ffff8800bbb29800 RSI: 0000000000000086 RDI: 0000000000000000 [54461.089498] RBP: 0000000000000001 R08: 0000000000000002 R09: ffffffff813909af [54461.089524] R10: 000000d200000000 R11: 00000000000186a0 R12: ffff88007f9f5d80 [54461.089550] R13: ffff88003ea2c200 R14: ffff88003ea2c200 R15: ffff8800bbb2d000 [54461.089577] FS: 00007f35c4932710(0000) GS:ffff880001800000(0000) knlGS:0000000000000000 [54461.089616] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b [54461.089640] CR2: 000000000d46f000 CR3: 0000000037c59000 CR4: 00000000000006f0 [54461.089666] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [54461.089692] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [54461.089718] Process flush-btrfs-1 (pid: 4511, threadinfo ffff880022764000, task ffff880037948000) [54461.089757] Stack: [54461.089774] 0000000000000000 0000000000000000 ffffffff00000001 0000000000000000 [54461.089802] <0> 0000000000000000 ffff8800bcd3f140 0000000000000002 0000000000000000 [54461.089843] <0> 0000000000000000 00000000810e3707 000000d25d901000 00000000001000a8 [54461.089897] Call Trace: [54461.089923] [<ffffffffa03240f6>] ? run_clustered_refs+0x259/0x298 [btrfs] [54461.089957] [<ffffffffa03588b0>] ? btrfs_find_ref_cluster+0xf9/0x13d [btrfs] [54461.089992] [<ffffffffa03241ff>] ? btrfs_run_delayed_refs+0xca/0x16e [btrfs] [54461.090027] [<ffffffffa032cc65>] ? __btrfs_end_transaction+0x55/0x115 [btrfs] [54461.090074] [<ffffffffa033137d>] ? cow_file_range+0x33b/0x34f [btrfs] [54461.090100] [<ffffffff810e3a5d>] ? virt_to_head_page+0x9/0x2b [54461.090133] [<ffffffffa0344b6d>] ? set_extent_bit+0x3c0/0x403 [btrfs] [54461.090168] [<ffffffffa03319a7>] ? run_delalloc_range+0xa1/0x36b [btrfs] [54461.090203] [<ffffffffa03441ff>] ? test_range_bit+0x2a/0xd3 [btrfs] [54461.090236] [<ffffffffa034718f>] ? find_lock_delalloc_range+0x181/0x1a9 [btrfs] [54461.090283] [<ffffffffa0345834>] ? end_bio_extent_writepage+0x0/0x158 [btrfs] [54461.090330] [<ffffffffa03473b2>] ? __extent_writepage+0x1fb/0x660 [btrfs] [54461.090357] [<ffffffff81188bbb>] ? radix_tree_gang_lookup_tag_slot+0x25/0xa3 [54461.090392] [<ffffffffa0344e97>] ? extent_write_cache_pages+0x135/0x209 [btrfs] [54461.090439] [<ffffffffa03439e0>] ? flush_write_bio+0x0/0x2 [btrfs] [54461.090472] [<ffffffffa03471b7>] ? __extent_writepage+0x0/0x660 [btrfs] [54461.090499] [<ffffffff81047f86>] ? finish_task_switch+0x3a/0xa7 [54461.090524] [<ffffffff812e57ec>] ? thread_return+0x79/0xe0 [54461.090557] [<ffffffffa0344fb6>] ? extent_writepages+0x4b/0x5f [btrfs] [54461.090592] [<ffffffffa032ffa6>] ? btrfs_get_extent+0x0/0x741 [btrfs] [54461.090617] [<ffffffff81064a9c>] ? wake_up_bit+0x10/0x22 [54461.090641] [<ffffffff81104f1a>] ? writeback_single_inode+0xe7/0x2da [54461.090667] [<ffffffff81105bf3>] ? writeback_inodes_wb+0x423/0x4fe [54461.090693] [<ffffffff81064adc>] ? wake_bit_function+0x0/0x23 [54461.090717] [<ffffffff81105dfa>] ? wb_writeback+0x12c/0x1ab [54461.090742] [<ffffffff8105a522>] ? try_to_del_timer_sync+0x63/0x6c [54461.090768] [<ffffffff81106060>] ? wb_do_writeback+0x145/0x15b [54461.090793] [<ffffffff811060a7>] ? bdi_writeback_task+0x31/0x9d [54461.090818] [<ffffffff810c76e2>] ? bdi_start_fn+0x0/0xca [54461.090842] [<ffffffff810c7752>] ? bdi_start_fn+0x70/0xca [54461.090866] [<ffffffff810c76e2>] ? bdi_start_fn+0x0/0xca [54461.090890] [<ffffffff810647e1>] ? kthread+0x79/0x81 [54461.090913] [<ffffffff81011b6a>] ? child_rip+0xa/0x20 [54461.090936] [<ffffffff81064768>] ? kthread+0x0/0x81 [54461.090959] [<ffffffff81011b60>] ? child_rip+0x0/0x20 [54461.090981] Code: 4c 24 50 4c 8d 44 24 68 48 8b 73 20 48 8b 7c 24 28 41 b9 01 00 00 00 48 89 c2 c7 44 24 68 33 00 00 00 e8 b2 92 ff ff 85 c0 74 04 <0f> 0b eb fe 49 63 74 24 40 49 8b 2c 24 48 89 ef 48 6b f6 19 48 [54461.091123] RIP [<ffffffffa03221bd>] run_one_delayed_ref+0x1e3/0x4ba [btrfs] [54461.091157] RSP <ffff880022765700> [54461.091352] ---[ end trace 0cbd065c97edf82b ]--- [54461.440258] btrfs allocation failed flags 36, wanted 4096 [54461.440306] space_info has 0 free, is full [54461.440398] space_info total=7516192768, pinned=63942656, delalloc=1277952, may_use=5271552, used=7449583616, root=2875392, super=65536, reserved=2600960 [54461.440469] block group 29360128 has 1073741824 bytes, 1064935424 used 8740864 pinned 0 reserved [54461.440530] block group has cluster?: no [54461.440571] 0 blocks of free space at or bigger than bytes is [54461.440616] block group 36536582144 has 1073741824 bytes, 1065848832 used 7892992 pinned 0 reserved [54461.440677] block group has cluster?: no [54461.440718] 0 blocks of free space at or bigger than bytes is [54461.440763] block group 179344244736 has 1073741824 bytes, 1068212224 used 5529600 pinned 0 reserved [54461.440824] block group has cluster?: no [54461.440911] 0 blocks of free space at or bigger than bytes is [54461.440956] block group 440263507968 has 1073741824 bytes, 1058783232 used 14958592 pinned 0 reserved [54461.441017] block group has cluster?: no [54461.441058] 0 blocks of free space at or bigger than bytes is [54461.441102] block group 512204210176 has 1073741824 bytes, 1065304064 used 8437760 pinned 0 reserved [54461.441163] block group has cluster?: no [54461.441204] 0 blocks of free space at or bigger than bytes is [54461.441249] block group 901972492288 has 1073741824 bytes, 1059700736 used 14041088 pinned 0 reserved [54461.441311] entry offset 902777798656, bytes 0, bitmap yes [54461.441354] block group has cluster?: no [54461.441396] 0 blocks of free space at or bigger than bytes is [54461.441441] block group 903046234112 has 1073741824 bytes, 1066799104 used 4341760 pinned 2600960 reserved [54461.441504] block group has cluster?: no [54461.441545] 0 blocks of free space at or bigger than bytes is [54461.441591] ------------[ cut here ]------------ [54461.441658] WARNING: 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/extent_io.c:3210 btrfs_release_path+0x3b/0x52 [btrfs]() [54461.441744] Hardware name: To Be Filled By O.E.M. [54461.441787] Modules linked in: loop ext4 jbd2 crc16 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx btrfs zlib_deflate crc32c libcrc32c twofish twofish_common xts gf128mul ext3 jbd dm_crypt dm_mod snd_pcm snd_timer snd parport_pc soundcore parport i2c_nforce2 snd_page_alloc edac_core edac_mce_amd i2c_core pcspkr k8temp evdev processor ext2 mbcache raid1 md_mod sd_mod crc_t10dif ata_generic ide_pci_generic usb_storage ohci_hcd sata_nv amd74xx floppy 3w_xxxx button libata scsi_mod forcedeth ide_core ehci_hcd usbcore nls_base thermal fan thermal_sys [last unloaded: scsi_wait_scan] [54461.443477] Pid: 1772, comm: btrfs-enospc-0 Tainted: G D W 2.6.32-trunk-amd64 #1 [54461.443536] Call Trace: [54461.443585] [<ffffffffa03161dd>] ? btrfs_release_path+0x3b/0x52 [btrfs] [54461.443638] [<ffffffffa03161dd>] ? btrfs_release_path+0x3b/0x52 [btrfs] [54461.443687] [<ffffffff8104dc34>] ? warn_slowpath_common+0x77/0xa3 [54461.443739] [<ffffffffa03161dd>] ? btrfs_release_path+0x3b/0x52 [btrfs] [54461.443793] [<ffffffffa031b01d>] ? btrfs_search_slot+0x4f0/0x502 [btrfs] [54461.443847] [<ffffffffa031b4c9>] ? btrfs_insert_empty_items+0x5e/0xaa [btrfs] [54461.443914] [<ffffffffa03221b9>] ? run_one_delayed_ref+0x1df/0x4ba [btrfs] [54461.443969] [<ffffffffa03240f6>] ? run_clustered_refs+0x259/0x298 [btrfs] [54461.444040] [<ffffffffa03588b0>] ? btrfs_find_ref_cluster+0xf9/0x13d [btrfs] [54461.444095] [<ffffffffa03241ff>] ? btrfs_run_delayed_refs+0xca/0x16e [btrfs] [54461.444152] [<ffffffffa032cc65>] ? __btrfs_end_transaction+0x55/0x115 [btrfs] [54461.444220] [<ffffffffa033137d>] ? cow_file_range+0x33b/0x34f [btrfs] [54461.444269] [<ffffffff810e3a5d>] ? virt_to_head_page+0x9/0x2b [54461.444323] [<ffffffffa0344b6d>] ? set_extent_bit+0x3c0/0x403 [btrfs] [54461.444378] [<ffffffffa03319a7>] ? run_delalloc_range+0xa1/0x36b [btrfs] [54461.444434] [<ffffffffa03441ff>] ? test_range_bit+0x2a/0xd3 [btrfs] [54461.444488] [<ffffffffa034718f>] ? find_lock_delalloc_range+0x181/0x1a9 [btrfs] [54461.444556] [<ffffffffa03473b2>] ? __extent_writepage+0x1fb/0x660 [btrfs] [54461.444604] [<ffffffff81040303>] ? check_preempt_wakeup+0x1dd/0x268 [54461.444659] [<ffffffffa0344e97>] ? extent_write_cache_pages+0x135/0x209 [btrfs] [54461.444775] [<ffffffffa03439e0>] ? flush_write_bio+0x0/0x2 [btrfs] [54461.444829] [<ffffffffa03471b7>] ? __extent_writepage+0x0/0x660 [btrfs] [54461.444876] [<ffffffff81041b52>] ? pick_next_task_fair+0xcd/0xd8 [54461.444923] [<ffffffff81047f86>] ? finish_task_switch+0x3a/0xa7 [54461.444970] [<ffffffff812e57ec>] ? thread_return+0x79/0xe0 [54461.445023] [<ffffffffa0344fb6>] ? extent_writepages+0x4b/0x5f [btrfs] [54461.445079] [<ffffffffa032ffa6>] ? btrfs_get_extent+0x0/0x741 [btrfs] [54461.445128] [<ffffffff810b3838>] ? __filemap_fdatawrite_range+0x4b/0x54 [54461.445177] [<ffffffff810fc7ac>] ? igrab+0x25/0x31 [54461.445230] [<ffffffffa032dd96>] ? btrfs_start_delalloc_inodes+0x9c/0x1d5 [btrfs] [54461.445292] [<ffffffff8105a537>] ? del_timer_sync+0xc/0x16 [54461.445338] [<ffffffff812e5c1b>] ? schedule_timeout+0xad/0xdd [54461.445392] [<ffffffffa0323003>] ? flush_delalloc_async+0x27/0x8e [btrfs] [54461.445447] [<ffffffffa034d41c>] ? worker_loop+0x177/0x45c [btrfs] [54461.445502] [<ffffffffa034d2a5>] ? worker_loop+0x0/0x45c [btrfs] [54461.445548] [<ffffffff810647e1>] ? kthread+0x79/0x81 [54461.445594] [<ffffffff81011b6a>] ? child_rip+0xa/0x20 [54461.450984] [<ffffffff8129e2a2>] ? unix_dgram_poll+0x0/0x139 [54461.451030] [<ffffffff81064768>] ? kthread+0x0/0x81 [54461.451074] [<ffffffff81011b60>] ? child_rip+0x0/0x20 [54461.451117] ---[ end trace 0cbd065c97edf82c ]--- [54461.452612] ------------[ cut here ]------------ [54461.452658] 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/extent-tree.c:4738! [54461.452727] invalid opcode: 0000 [#2] SMP [54461.452814] last sysfs file: /sys/devices/virtual/block/loop1/removable [54461.452860] CPU 0 [54461.452921] Modules linked in: loop ext4 jbd2 crc16 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx btrfs zlib_deflate crc32c libcrc32c twofish twofish_common xts gf128mul ext3 jbd dm_crypt dm_mod snd_pcm snd_timer snd parport_pc soundcore parport i2c_nforce2 snd_page_alloc edac_core edac_mce_amd i2c_core pcspkr k8temp evdev processor ext2 mbcache raid1 md_mod sd_mod crc_t10dif ata_generic ide_pci_generic usb_storage ohci_hcd sata_nv amd74xx floppy 3w_xxxx button libata scsi_mod forcedeth ide_core ehci_hcd usbcore nls_base thermal fan thermal_sys [last unloaded: scsi_wait_scan] [54461.454612] Pid: 1772, comm: btrfs-enospc-0 Tainted: G D W 2.6.32-trunk-amd64 #1 To Be Filled By O.E.M. [54461.454675] RIP: 0010:[<ffffffffa03221bd>] [<ffffffffa03221bd>] run_one_delayed_ref+0x1e3/0x4ba [btrfs] [54461.454774] RSP: 0018:ffff880037ae9790 EFLAGS: 00010286 [54461.454818] RAX: 00000000ffffffe4 RBX: ffff8800379d8000 RCX: 00000000000d0c10 [54461.454866] RDX: ffff8800bbb29800 RSI: 0000000000000082 RDI: 0000000000000000 [54461.454913] RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a [54461.454960] R10: 000000d200000000 R11: ffffffff811add39 R12: ffff88007f9f5bd0 [54461.455007] R13: ffff880094f7d1c0 R14: ffff880094f7d1c0 R15: ffff8800bbb2d000 [54461.455054] FS: 00007f56c98e6910(0000) GS:ffff880001800000(0000) knlGS:0000000000000000 [54461.455114] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b [54461.455159] CR2: 00007f56ca7414b2 CR3: 0000000037ed9000 CR4: 00000000000006f0 [54461.455205] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [54461.455252] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [54461.455299] Process btrfs-enospc-0 (pid: 1772, threadinfo ffff880037ae8000, task ffff88003794e9f0) [54461.455360] Stack: [54461.455398] ffff88003794e9f0 ffff88003794ecf0 0000000000000001 0000000000000000 [54461.455511] <0> ffff88003794ece8 ffff8800bcd3f040 0000000000000002 0000000000000000 [54461.455680] <0> 0000000000000000 00000000810e3707 000000d25fc74000 00000000001000a8 [54461.455883] Call Trace: [54461.455931] [<ffffffffa03240f6>] ? run_clustered_refs+0x259/0x298 [btrfs] [54461.455986] [<ffffffffa03588b0>] ? btrfs_find_ref_cluster+0xf9/0x13d [btrfs] [54461.456054] [<ffffffffa03241ff>] ? btrfs_run_delayed_refs+0xca/0x16e [btrfs] [54461.456110] [<ffffffffa032cc65>] ? __btrfs_end_transaction+0x55/0x115 [btrfs] [54461.456178] [<ffffffffa033137d>] ? cow_file_range+0x33b/0x34f [btrfs] [54461.456227] [<ffffffff810e3a5d>] ? virt_to_head_page+0x9/0x2b [54461.456281] [<ffffffffa0344b6d>] ? set_extent_bit+0x3c0/0x403 [btrfs] [54461.456336] [<ffffffffa03319a7>] ? run_delalloc_range+0xa1/0x36b [btrfs] [54461.456392] [<ffffffffa03441ff>] ? test_range_bit+0x2a/0xd3 [btrfs] [54461.456446] [<ffffffffa034718f>] ? find_lock_delalloc_range+0x181/0x1a9 [btrfs] [54461.456513] [<ffffffffa03473b2>] ? __extent_writepage+0x1fb/0x660 [btrfs] [54461.456562] [<ffffffff81040303>] ? check_preempt_wakeup+0x1dd/0x268 [54461.456617] [<ffffffffa0344e97>] ? extent_write_cache_pages+0x135/0x209 [btrfs] [54461.456685] [<ffffffffa03439e0>] ? flush_write_bio+0x0/0x2 [btrfs] [54461.456739] [<ffffffffa03471b7>] ? __extent_writepage+0x0/0x660 [btrfs] [54461.456787] [<ffffffff81041b52>] ? pick_next_task_fair+0xcd/0xd8 [54461.456833] [<ffffffff81047f86>] ? finish_task_switch+0x3a/0xa7 [54461.456881] [<ffffffff812e57ec>] ? thread_return+0x79/0xe0 [54461.456934] [<ffffffffa0344fb6>] ? extent_writepages+0x4b/0x5f [btrfs] [54461.456990] [<ffffffffa032ffa6>] ? btrfs_get_extent+0x0/0x741 [btrfs] [54461.457039] [<ffffffff810b3838>] ? __filemap_fdatawrite_range+0x4b/0x54 [54461.457087] [<ffffffff810fc7ac>] ? igrab+0x25/0x31 [54461.457140] [<ffffffffa032dd96>] ? btrfs_start_delalloc_inodes+0x9c/0x1d5 [btrfs] [54461.457202] [<ffffffff8105a537>] ? del_timer_sync+0xc/0x16 [54461.457248] [<ffffffff812e5c1b>] ? schedule_timeout+0xad/0xdd [54461.457301] [<ffffffffa0323003>] ? flush_delalloc_async+0x27/0x8e [btrfs] [54461.457357] [<ffffffffa034d41c>] ? worker_loop+0x177/0x45c [btrfs] [54461.457411] [<ffffffffa034d2a5>] ? worker_loop+0x0/0x45c [btrfs] [54461.457457] [<ffffffff810647e1>] ? kthread+0x79/0x81 [54461.457503] [<ffffffff81011b6a>] ? child_rip+0xa/0x20 [54461.457548] [<ffffffff8129e2a2>] ? unix_dgram_poll+0x0/0x139 [54461.457593] [<ffffffff81064768>] ? kthread+0x0/0x81 [54461.457637] [<ffffffff81011b60>] ? child_rip+0x0/0x20 [54461.457680] Code: 4c 24 50 4c 8d 44 24 68 48 8b 73 20 48 8b 7c 24 28 41 b9 01 00 00 00 48 89 c2 c7 44 24 68 33 00 00 00 e8 b2 92 ff ff 85 c0 74 04 <0f> 0b eb fe 49 63 74 24 40 49 8b 2c 24 48 89 ef 48 6b f6 19 48 [54461.459201] RIP [<ffffffffa03221bd>] run_one_delayed_ref+0x1e3/0x4ba [btrfs] [54461.459278] RSP <ffff880037ae9790> [54461.459319] ---[ end trace 0cbd065c97edf82d ]--- In summary, I think the problem was filling up the whole filesystem and getting the oops. Bye, Jörg. -- “Perl—the only language that looks the same before and after RSA encryption.” (Keith Bostic)
Attachment:
signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
