From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel J Blueman Subject: [3.0-rc1] delayed insertion allocation failing... Date: Mon, 30 May 2011 22:24:08 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Linux BTRFS To: Miao Xie Return-path: List-ID: Hi Miao, When booting 3.0-rc1 with an existing BTRFS filesystem with a normal desktop use pattern, we see btrfs_batch_insert_item() sometimes attempt an overly-large kmalloc (>= order 11) [1], which is subsequently failed. Thanks, Daniel --- [1] WARNING: at mm/page_alloc.c:2074 __alloc_pages_nodemask+0x206/0x800() Hardware name: Latitude E5420 Modules linked in: kvm_intel kvm microcode arc4 uvcvideo videodev v4l2_compat_ioctl32 iwlagn mac80211 sdhci_pci sdhci mmc_core i915 drm_kms_helper drm mei(C) i2c_algo_bit video Pid: 188, comm: btrfs-delayed-m Tainted: G C 3.0.0-rc1-100debug+ #1 Call Trace: [] warn_slowpath_common+0x7a/0xb0 [] warn_slowpath_null+0x15/0x20 [] __alloc_pages_nodemask+0x206/0x800 [] ? map_extent_buffer+0xd3/0xe0 [] ? btrfs_item_offset+0xe4/0xf0 [] alloc_pages_current+0xa0/0x110 [] __get_free_pages+0xf/0x50 [] __kmalloc+0x13a/0x160 [] ? _raw_spin_unlock+0x30/0x60 [] btrfs_batch_insert_items+0x110/0x290 [] btrfs_insert_delayed_items+0x156/0x170 [] btrfs_async_run_delayed_node_done+0x6d/0x1f0 [] worker_loop+0x86/0x2b0 [] ? check_pending_worker_creates.clone.4+0xe0/0xe0 [] kthread+0xb6/0xc0 [] ? trace_hardirqs_on_caller+0x13d/0x180 [] kernel_thread_helper+0x4/0x10 [] ? finish_task_switch+0x77/0x100 [] ? retint_restore_args+0xe/0xe [] ? __init_kthread_worker+0x70/0x70 [] ? gs_change+0xb/0xb -- Daniel J Blueman