Yuanhan Liu
2013-Nov-21 05:06 UTC
[boot hang] rb_consumer: page allocation failure: order:0, mode:0x10d0
Greetings, I got the below dmesg and the first bad commit is commit 294e30fee35d3151d100cfe59e839c2dbc16a374 Author: Josef Bacik <jbacik@fusionio.com> Date: Wed Oct 9 12:00:56 2013 -0400 Btrfs: add tests for find_lock_delalloc_range So both Liu and I made huge messes of find_lock_delalloc_range trying to fix stuff, me first by fixing extent size, then him by fixing something I broke and then me again telling him to fix it a different way. So this is obviously a candidate for some testing. This patch adds a pseudo fs so we can allocate fake inodes for tests that need an inode or pages. Then it addes a bunch of tests to make sure find_lock_delalloc_range is acting the way it is supposed to. With this patch and all of our previous patches to find_lock_delalloc_range I am sure it is working as expected now. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com> +------------------------------------------------------------------------------------+----+ | | | +------------------------------------------------------------------------------------+----+ | boot_successes | 0 | | boot_failures | 19 | | page_allocation_failure:order:,mode | 16 | | BUG:kernel_boot_hang | 13 | | Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 4 | | INFO:task_blocked_for_more_than_seconds | 2 | | INFO:NMI_handler(arch_trigger_all_cpu_backtrace_handler)took_too_long_to_run:msecs | 2 | | Kernel_panic-not_syncing:hung_task:blocked_tasks | 2 | +------------------------------------------------------------------------------------+----+ [ 1.563896] btrfs: selftest: Running btrfs_split_item tests [ 1.565167] btrfs: selftest: Running find delalloc tests [ 2.520170] tsc: Refined TSC clocksource calibration: 2892.943 MHz [ 227.860135] rb_consumer: page allocation failure: order:0, mode:0x10d0 [ 227.861160] CPU: 1 PID: 41 Comm: rb_consumer Not tainted 3.12.0-10888-g60d253c #1482 [ 227.862452] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 227.863352] ffffffff caf23e08 c1edfc10 00000001 000010d0 000010d0 caf23e34 c1142093 [ 227.865207] c2455d5c cad1b1fc 00000000 000010d0 c26a9ba0 000010d0 00000001 00000000 [ 227.867028] 00000000 caf23ecc c1147412 000010d0 00000000 00000000 c26a93e0 00000000 [ 227.868890] Call Trace: [ 227.869412] [<c1edfc10>] dump_stack+0x7a/0xaa [ 227.870164] [<c1142093>] warn_alloc_failed+0x123/0x1a0 [ 227.871000] [<c1147412>] __alloc_pages_nodemask+0xcc2/0x1160 [ 227.871896] [<c110974e>] ring_buffer_alloc_read_page+0x1e/0x50 [ 227.872874] [<c110a3b9>] ring_buffer_consumer_thread+0x209/0x500 [ 227.873807] [<c110a1b0>] ? ring_buffer_producer_thread+0x600/0x600 [ 227.874760] [<c109430e>] kthread+0xfe/0x100 [ 227.875484] [<c110a1b0>] ? ring_buffer_producer_thread+0x600/0x600 [ 227.876481] [<c1efc437>] ret_from_kernel_thread+0x1b/0x28 [ 227.877349] [<c1094210>] ? __kthread_parkme+0x70/0x70 [ 227.878171] Mem-Info: [ 227.878671] DMA per-cpu: [ 227.879197] CPU 0: hi: 0, btch: 1 usd: 0 git bisect start 82023bb7f75b0052f40d3e74169d191c3e4e6286 v3.12 -- git bisect good 5cbb3d216e2041700231bcfc383ee5f8b7fc8b74 # 11:31 21+ 0 Merge branch ''akpm'' (patches from Andrew Morton) git bisect good ed6a82546d2e8f6b5902269541733814d4adacc2 # 11:45 21+ 0 Merge branch ''acpi-hotplug'' git bisect bad 049ffa8ab33a63b3bff672d1a0ee6a35ad253fe8 # 11:54 0- 2 Merge branch ''drm-next'' of git://people.freedesktop.org/~airlied/linux git bisect good ab0169bb5cc4a5c86756dde662087f9d12302eb0 # 12:00 21+ 0 Merge tag ''bdw-stage1-2013-11-08-v2'' of git://people.freedesktop.org/~danvet/drm-intel into drm-next git bisect bad 3aeb58ab6216d864821e8dafb248e8d77403f3e9 # 12:05 0- 2 Merge branch ''for-linus'' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs git bisect good fe8a45df368038566c62bf311accf4319b210123 # 12:10 21+ 0 Merge branch ''sched-urgent-for-linus'' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip git bisect bad 9f3a074d108810139ad4af49a29d347a4cf41e9a # 12:16 0- 1 Btrfs: don''t wait for all the async delalloc when shrinking delalloc git bisect bad e649e587cbc66287b2a4bff8b2113ad679a2b8d8 # 12:19 0- 2 Btrfs: disallow ''btrfs {balance,replace} cancel'' on ro mounts git bisect good 3d41d70252234db153ea1b037052278ff5786ad5 # 12:22 21+ 0 Btrfs: remove unnecessary tree search when logging inode git bisect bad 25a50341b6269b0622434d9360f0c771d219681a # 12:25 0- 1 Btrfs: handle a missing extent for the first file extent git bisect good 2b1360da35877cd969ed83884d8989ba778254d0 # 12:29 21+ 0 Btrfs: free up block groups after everything git bisect bad 294e30fee35d3151d100cfe59e839c2dbc16a374 # 12:34 0- 1 Btrfs: add tests for find_lock_delalloc_range git bisect good 857cc2fc29cfaf4ee98fe9967bbf6a3942191136 # 12:37 21+ 0 Btrfs: free reserved space on error in a few places # first bad commit: [294e30fee35d3151d100cfe59e839c2dbc16a374] Btrfs: add tests for find_lock_delalloc_range git bisect good 857cc2fc29cfaf4ee98fe9967bbf6a3942191136 # 12:41 63+ 0 Btrfs: free reserved space on error in a few places git bisect bad 60d253cd38fac5dca15d6d71e931e840f6c08e6e # 12:41 0- 19 Merge branch ''pm-sleep-next'' into bleeding-edge git bisect bad 527d1511310a89650000081869260394e20c7013 # 12:41 0- 3 Merge branch ''next'' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc --yliu