Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758594Ab3ENVyM (ORCPT ); Tue, 14 May 2013 17:54:12 -0400 Received: from cantor2.suse.de ([195.135.220.15]:34532 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758286Ab3ENVyH (ORCPT ); Tue, 14 May 2013 17:54:07 -0400 Date: Tue, 14 May 2013 23:54:02 +0200 From: Jan Kara To: Alexey Khoroshilov Cc: "Theodore Ts'o" , Andreas Dilger , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, spruce-project@linuxtesting.org Subject: Re: [PATCH 0/2] ext4: deadlocks after allocation failure in ext4_init_io_end() Message-ID: <20130514215402.GC10769@quack.suse.cz> References: <1368472093-16997-1-git-send-email-khoroshilov@ispras.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1368472093-16997-1-git-send-email-khoroshilov@ispras.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 25888 Lines: 379 On Mon 13-05-13 23:08:11, Alexey Khoroshilov wrote: > Hi, Ted! > > Our tests for ext4 with targeted fault injection were stalled in Uninterruptible Sleep State > when they simulate a memory allocation failure in ext4_init_io_end() while it is called from > mpage_da_submit_io() or ext4_writepage(). > > It looks like the problems are that pages left locked after failure handling. > > I am not completely sure that my patches take into account all required aspects, > but the tests are passed if the patches are applied. > > Please find below syslog excerpt for the first issue. > > Found by Linux File System Verification project (linuxtesting.org/spruce). Thanks for the patches! As Zheng said, the patch introducing these problems is reverted from upstream now but we'll push an equivalent version soon so I'll take care to include your fixes in it as well. Honza > > -- > Alexey Khoroshilov > Linux Verification Center, ISPRAS > web: http://linuxtesting.org > > > > [ 1212.454601] Failure is simulated in the following location > [ 1212.454675] Call Trace: > [ 1212.454681] [] dump_stack+0x19/0x1b > [ 1212.454687] [] warn_slowpath_common+0x70/0xa0 > [ 1212.454691] [] ? indicator_simulate+0x29/0x1a0 [kedr_fsim_indicator_common] > [ 1212.454701] [] ? ext4_init_io_end+0x23/0x50 [ext4] > [ 1212.454705] [] warn_slowpath_fmt+0x46/0x50 > [ 1212.454710] [] ? kedr_fsim_point_simulate+0x7e/0xa0 [kedr_fault_simulation] > [ 1212.454715] [] ? kedr_fsim_point_simulate+0x5/0xa0 [kedr_fault_simulation] > [ 1212.454719] [] kedr_repl_kmem_cache_alloc+0x7a/0xb0 [kedr_fsim_cmm] > [ 1212.454727] [] ? ext4_init_io_end+0x23/0x50 [ext4] > [ 1212.454732] [] kedr_intermediate_func_kmem_cache_alloc+0x73/0xd0 [kedr_lc_common_mm] > [ 1212.454740] [] ? ext4_init_io_end+0x23/0x50 [ext4] > [ 1212.454746] [] ext4_init_io_end+0x23/0x50 [ext4] > [ 1212.454753] [] mpage_da_submit_io+0x6f/0x380 [ext4] > [ 1212.454762] [] ? __ext4_handle_dirty_metadata+0xab/0x140 [ext4] > [ 1212.454769] [] ? jbd2_journal_get_write_access+0x3b/0x50 [jbd2] > [ 1212.454777] [] ? ext4_mark_iloc_dirty+0x468/0x660 [ext4] > [ 1212.454784] [] ? ext4_mark_inode_dirty+0x9a/0x270 [ext4] > [ 1212.454790] [] ? mpage_da_map_and_submit+0x1fc/0x430 [ext4] > [ 1212.454798] [] mpage_da_map_and_submit+0x10e/0x430 [ext4] > [ 1212.454804] [] ? ext4_da_writepages+0x377/0x6a0 [ext4] > [ 1212.454811] [] ext4_da_writepages+0x3cc/0x6a0 [ext4] > [ 1212.454815] [] ? __do_fault+0x14a/0x470 > [ 1212.454820] [] do_writepages+0x23/0x40 > [ 1212.454824] [] __filemap_fdatawrite_range+0x59/0x60 > [ 1212.454828] [] filemap_write_and_wait_range+0x3a/0x80 > [ 1212.454835] [] ext4_punch_hole+0x1f5/0x5c0 [ext4] > [ 1212.454839] [] ? __do_page_fault+0x108/0x550 > [ 1212.454843] [] ? do_fallocate+0x101/0x190 > [ 1212.454847] [] ? do_fallocate+0x101/0x190 > [ 1212.454855] [] ext4_fallocate+0x30c/0x5d0 [ext4] > [ 1212.454858] [] ? do_fallocate+0x101/0x190 > [ 1212.454862] [] ? __fput+0x16d/0x2e0 > [ 1212.454865] [] do_fallocate+0x117/0x190 > [ 1212.454869] [] SyS_fallocate+0x57/0x90 > [ 1212.454877] [] system_call_fastpath+0x16/0x1b > [ 1212.454880] ---[ end trace 16f55656139fb9de ]--- > [ 1443.148536] INFO: task flush-8:16:11233 blocked for more than 120 seconds. > [ 1443.148628] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1443.148646] flush-8:16 D ffffffff8112d160 0 11233 2 0x00000000 > [ 1443.148669] ffff88002fe5d768 0000000000000046 0000000000000000 ffff880082f8b4b8 > [ 1443.148692] ffff8800300b9fb0 ffff88002fe5dfd8 ffff88002fe5dfd8 ffff88002fe5dfd8 > [ 1443.148712] ffff88002ed75f10 ffff8800300b9fb0 ffff88002fe5d768 ffff880082a144e0 > [ 1443.148733] Call Trace: > [ 1443.148764] [] ? __lock_page+0x70/0x70 > [ 1443.148770] [] schedule+0x29/0x70 > [ 1443.148773] [] io_schedule+0x8f/0xd0 > [ 1443.148777] [] sleep_on_page+0xe/0x20 > [ 1443.148781] [] __wait_on_bit_lock+0x5a/0xc0 > [ 1443.148785] [] ? find_get_pages_tag+0x2e/0x1e0 > [ 1443.148790] [] ? __block_write_full_page+0x211/0x390 > [ 1443.148794] [] __lock_page+0x67/0x70 > [ 1443.148799] [] ? autoremove_wake_function+0x50/0x50 > [ 1443.148809] [] ext4_num_dirty_pages.isra.53+0x1fe/0x210 [ext4] > [ 1443.148814] [] ? pagevec_lookup_tag+0x25/0x40 > [ 1443.148818] [] ? write_cache_pages+0x144/0x4e0 > [ 1443.148825] [] ext4_da_writepages+0x63d/0x6a0 [ext4] > [ 1443.148829] [] ? set_page_dirty_lock+0x70/0x70 > [ 1443.148833] [] ? __writeback_single_inode+0x63/0x310 > [ 1443.148837] [] ? __writeback_single_inode+0x63/0x310 > [ 1443.148841] [] ? writeback_sb_inodes+0x13c/0x550 > [ 1443.148845] [] do_writepages+0x23/0x40 > [ 1443.148849] [] __writeback_single_inode+0x45/0x310 > [ 1443.148853] [] writeback_sb_inodes+0x2c8/0x550 > [ 1443.148856] [] __writeback_inodes_wb+0x9e/0xd0 > [ 1443.148860] [] wb_writeback+0x34b/0x370 > [ 1443.148864] [] ? get_nr_inodes+0x5e/0xb0 > [ 1443.148868] [] wb_check_old_data_flush+0x9f/0xb0 > [ 1443.148872] [] wb_do_writeback+0x179/0x200 > [ 1443.148877] [] ? debug_object_assert_init+0x7a/0xf0 > [ 1443.148881] [] ? del_timer+0x2b/0x80 > [ 1443.148887] [] bdi_writeback_thread+0xac/0x300 > [ 1443.148894] [] ? wb_do_writeback+0x200/0x200 > [ 1443.148900] [] kthread+0xea/0xf0 > [ 1443.148905] [] ? flush_kthread_worker+0x150/0x150 > [ 1443.148919] INFO: task ext4lazyinit:2065 blocked for more than 120 seconds. > [ 1443.148921] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1443.148925] ext4lazyinit D ffff88007e93b828 0 2065 2 0x00000000 > [ 1443.148929] ffff88007ebffbd8 0000000000000046 ffff88007ebffb78 ffffffff810ae74d > [ 1443.148934] ffff88002eee5f10 ffff88007ebfffd8 ffff88007ebfffd8 ffff88007ebfffd8 > [ 1443.148939] ffffffff81c10440 ffff88002eee5f10 ffff88007e93b800 0000000000000001 > [ 1443.148943] Call Trace: > [ 1443.148948] [] ? trace_hardirqs_on+0xd/0x10 > [ 1443.148952] [] schedule+0x29/0x70 > [ 1443.148960] [] start_this_handle+0x2b5/0x560 [jbd2] > [ 1443.148964] [] ? static_obj+0x5a/0x70 > [ 1443.148967] [] ? __init_waitqueue_head+0x60/0x60 > [ 1443.148972] [] jbd2__journal_start+0xed/0x210 [jbd2] > [ 1443.148980] [] ? ext4_lazyinit_thread+0xb6/0x330 [ext4] > [ 1443.148987] [] ? ext4_lazyinit_thread+0xb6/0x330 [ext4] > [ 1443.148994] [] ? ext4_init_inode_table+0xaa/0x360 [ext4] > [ 1443.149002] [] __ext4_journal_start_sb+0x99/0x1a0 [ext4] > [ 1443.149009] [] ext4_init_inode_table+0xaa/0x360 [ext4] > [ 1443.149016] [] ? ext4_lazyinit_thread+0xb6/0x330 [ext4] > [ 1443.149023] [] ext4_lazyinit_thread+0x120/0x330 [ext4] > [ 1443.149029] [] ? init_once+0x70/0x70 [ext4] > [ 1443.149033] [] kthread+0xea/0xf0 > [ 1443.149036] [] ? flush_kthread_worker+0x150/0x150 > [ 1443.149039] [] ret_from_fork+0x7c/0xb0 > [ 1443.149043] [] ? flush_kthread_worker+0x150/0x150 > [ 1443.149048] INFO: task jbd2/sdb-8:2411 blocked for more than 120 seconds. > [ 1443.149051] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1443.149054] jbd2/sdb-8 D ffff88006425bf60 0 2411 2 0x00000000 > [ 1443.149058] ffff88006d039bf8 0000000000000046 ffff88006d039b98 ffffffff810ae74d > [ 1443.149063] ffff88006425bf60 ffff88006d039fd8 ffff88006d039fd8 ffff88006d039fd8 > [ 1443.149067] ffff88002eee5f10 ffff88006425bf60 ffff88007d8983c0 ffff88006d039d28 > [ 1443.149072] Call Trace: > [ 1443.149075] [] ? trace_hardirqs_on+0xd/0x10 > [ 1443.149079] [] schedule+0x29/0x70 > [ 1443.149083] [] jbd2_journal_commit_transaction+0x220/0x1d00 [jbd2] > [ 1443.149088] [] ? debug_object_assert_init+0x5c/0xf0 > [ 1443.149092] [] ? trace_hardirqs_off+0xd/0x10 > [ 1443.149096] [] ? _raw_spin_unlock_irqrestore+0x67/0x70 > [ 1443.149100] [] ? __init_waitqueue_head+0x60/0x60 > [ 1443.149103] [] ? del_timer_sync+0x5/0xd0 > [ 1443.149108] [] kjournald2+0xc1/0x260 [jbd2] > [ 1443.149112] [] ? __init_waitqueue_head+0x60/0x60 > [ 1443.149116] [] ? commit_timeout+0x10/0x10 [jbd2] > [ 1443.149120] [] kthread+0xea/0xf0 > [ 1443.149123] [] ? flush_kthread_worker+0x150/0x150 > [ 1443.149127] [] ret_from_fork+0x7c/0xb0 > [ 1443.149130] [] ? flush_kthread_worker+0x150/0x150 > [ 1443.149135] INFO: task doer:2425 blocked for more than 120 seconds. > [ 1443.149137] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1443.149141] doer D ffffffff8112d160 0 2425 11234 0x00000000 > [ 1443.149145] ffff88002f13f9b8 0000000000000046 0000000000000000 ffff880082f8b4b8 > [ 1443.149149] ffff880030093f60 ffff88002f13ffd8 ffff88002f13ffd8 ffff88002f13ffd8 > [ 1443.149154] ffffffff81c10440 ffff880030093f60 ffff88002f13f988 ffff880082a144e0 > [ 1443.149158] Call Trace: > [ 1443.149162] [] ? __lock_page+0x70/0x70 > [ 1443.149165] [] schedule+0x29/0x70 > [ 1443.149169] [] io_schedule+0x8f/0xd0 > [ 1443.149172] [] sleep_on_page+0xe/0x20 > [ 1443.149176] [] __wait_on_bit_lock+0x5a/0xc0 > [ 1443.149180] [] ? find_get_pages_tag+0x2e/0x1e0 > [ 1443.149183] [] __lock_page+0x67/0x70 > [ 1443.149187] [] ? autoremove_wake_function+0x50/0x50 > [ 1443.149193] [] write_cache_pages_da+0x549/0x560 [ext4] > [ 1443.149200] [] ? ext4_da_writepages+0x377/0x6a0 [ext4] > [ 1443.149208] [] ? __ext4_journal_start_sb+0x99/0x1a0 [ext4] > [ 1443.149214] [] ext4_da_writepages+0x3a3/0x6a0 [ext4] > [ 1443.149218] [] ? __do_fault+0x14a/0x470 > [ 1443.149222] [] do_writepages+0x23/0x40 > [ 1443.149226] [] __filemap_fdatawrite_range+0x59/0x60 > [ 1443.149230] [] filemap_write_and_wait_range+0x3a/0x80 > [ 1443.149236] [] ext4_punch_hole+0x1f5/0x5c0 [ext4] > [ 1443.149240] [] ? __do_page_fault+0x108/0x550 > [ 1443.149244] [] ? do_fallocate+0x101/0x190 > [ 1443.149248] [] ? do_fallocate+0x101/0x190 > [ 1443.149255] [] ext4_fallocate+0x30c/0x5d0 [ext4] > [ 1443.149258] [] ? do_fallocate+0x101/0x190 > [ 1443.149262] [] ? __fput+0x16d/0x2e0 > [ 1443.149265] [] do_fallocate+0x117/0x190 > [ 1443.149269] [] SyS_fallocate+0x57/0x90 > [ 1443.149272] [] system_call_fastpath+0x16/0x1b > [ 1563.153036] INFO: task flush-8:16:11233 blocked for more than 120 seconds. > [ 1563.153045] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1563.153049] flush-8:16 D ffffffff8112d160 0 11233 2 0x00000000 > [ 1563.153055] ffff88002fe5d768 0000000000000046 0000000000000000 ffff880082f8b4b8 > [ 1563.153061] ffff8800300b9fb0 ffff88002fe5dfd8 ffff88002fe5dfd8 ffff88002fe5dfd8 > [ 1563.153065] ffff88002ed75f10 ffff8800300b9fb0 ffff88002fe5d768 ffff880082a144e0 > [ 1563.153071] Call Trace: > [ 1563.153080] [] ? __lock_page+0x70/0x70 > [ 1563.153086] [] schedule+0x29/0x70 > [ 1563.153090] [] io_schedule+0x8f/0xd0 > [ 1563.153093] [] sleep_on_page+0xe/0x20 > [ 1563.153097] [] __wait_on_bit_lock+0x5a/0xc0 > [ 1563.153101] [] ? find_get_pages_tag+0x2e/0x1e0 > [ 1563.153107] [] ? __block_write_full_page+0x211/0x390 > [ 1563.153111] [] __lock_page+0x67/0x70 > [ 1563.153116] [] ? autoremove_wake_function+0x50/0x50 > [ 1563.153127] [] ext4_num_dirty_pages.isra.53+0x1fe/0x210 [ext4] > [ 1563.153133] [] ? pagevec_lookup_tag+0x25/0x40 > [ 1563.153137] [] ? write_cache_pages+0x144/0x4e0 > [ 1563.153144] [] ext4_da_writepages+0x63d/0x6a0 [ext4] > [ 1563.153148] [] ? set_page_dirty_lock+0x70/0x70 > [ 1563.153153] [] ? __writeback_single_inode+0x63/0x310 > [ 1563.153157] [] ? __writeback_single_inode+0x63/0x310 > [ 1563.153161] [] ? writeback_sb_inodes+0x13c/0x550 > [ 1563.153165] [] do_writepages+0x23/0x40 > [ 1563.153169] [] __writeback_single_inode+0x45/0x310 > [ 1563.153173] [] writeback_sb_inodes+0x2c8/0x550 > [ 1563.153177] [] __writeback_inodes_wb+0x9e/0xd0 > [ 1563.153181] [] wb_writeback+0x34b/0x370 > [ 1563.153185] [] ? get_nr_inodes+0x5e/0xb0 > [ 1563.153189] [] wb_check_old_data_flush+0x9f/0xb0 > [ 1563.153193] [] wb_do_writeback+0x179/0x200 > [ 1563.153199] [] ? debug_object_assert_init+0x7a/0xf0 > [ 1563.153203] [] ? del_timer+0x2b/0x80 > [ 1563.153207] [] bdi_writeback_thread+0xac/0x300 > [ 1563.153211] [] ? wb_do_writeback+0x200/0x200 > [ 1563.153214] [] kthread+0xea/0xf0 > [ 1563.153218] [] ? flush_kthread_worker+0x150/0x150 > [ 1563.153222] [] ret_from_fork+0x7c/0xb0 > [ 1563.153226] [] ? flush_kthread_worker+0x150/0x150 > [ 1563.153232] INFO: task ext4lazyinit:2065 blocked for more than 120 seconds. > [ 1563.153235] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1563.153238] ext4lazyinit D ffff88007e93b828 0 2065 2 0x00000000 > [ 1563.153242] ffff88007ebffbd8 0000000000000046 ffff88007ebffb78 ffffffff810ae74d > [ 1563.153247] ffff88002eee5f10 ffff88007ebfffd8 ffff88007ebfffd8 ffff88007ebfffd8 > [ 1563.153252] ffffffff81c10440 ffff88002eee5f10 ffff88007e93b800 0000000000000001 > [ 1563.153257] Call Trace: > [ 1563.153261] [] ? trace_hardirqs_on+0xd/0x10 > [ 1563.153265] [] schedule+0x29/0x70 > [ 1563.153392] [] start_this_handle+0x2b5/0x560 [jbd2] > [ 1563.153397] [] ? static_obj+0x5a/0x70 > [ 1563.153401] [] ? __init_waitqueue_head+0x60/0x60 > [ 1563.153406] [] jbd2__journal_start+0xed/0x210 [jbd2] > [ 1563.153414] [] ? ext4_lazyinit_thread+0xb6/0x330 [ext4] > [ 1563.153422] [] ? ext4_lazyinit_thread+0xb6/0x330 [ext4] > [ 1563.153429] [] ? ext4_init_inode_table+0xaa/0x360 [ext4] > [ 1563.153438] [] __ext4_journal_start_sb+0x99/0x1a0 [ext4] > [ 1563.153445] [] ext4_init_inode_table+0xaa/0x360 [ext4] > [ 1563.153452] [] ? ext4_lazyinit_thread+0xb6/0x330 [ext4] > [ 1563.153459] [] ext4_lazyinit_thread+0x120/0x330 [ext4] > [ 1563.153466] [] ? init_once+0x70/0x70 [ext4] > [ 1563.153470] [] kthread+0xea/0xf0 > [ 1563.153473] [] ? flush_kthread_worker+0x150/0x150 > [ 1563.153477] [] ret_from_fork+0x7c/0xb0 > [ 1563.153480] [] ? flush_kthread_worker+0x150/0x150 > [ 1563.153486] INFO: task jbd2/sdb-8:2411 blocked for more than 120 seconds. > [ 1563.153489] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1563.153492] jbd2/sdb-8 D ffff88006425bf60 0 2411 2 0x00000000 > [ 1563.153497] ffff88006d039bf8 0000000000000046 ffff88006d039b98 ffffffff810ae74d > [ 1563.153502] ffff88006425bf60 ffff88006d039fd8 ffff88006d039fd8 ffff88006d039fd8 > [ 1563.153507] ffff88002eee5f10 ffff88006425bf60 ffff88007d8983c0 ffff88006d039d28 > [ 1563.153512] Call Trace: > [ 1563.153515] [] ? trace_hardirqs_on+0xd/0x10 > [ 1563.153519] [] schedule+0x29/0x70 > [ 1563.153524] [] jbd2_journal_commit_transaction+0x220/0x1d00 [jbd2] > [ 1563.153528] [] ? debug_object_assert_init+0x5c/0xf0 > [ 1563.153532] [] ? trace_hardirqs_off+0xd/0x10 > [ 1563.153537] [] ? _raw_spin_unlock_irqrestore+0x67/0x70 > [ 1563.153541] [] ? __init_waitqueue_head+0x60/0x60 > [ 1563.153545] [] ? del_timer_sync+0x5/0xd0 > [ 1563.153550] [] kjournald2+0xc1/0x260 [jbd2] > [ 1563.153554] [] ? __init_waitqueue_head+0x60/0x60 > [ 1563.153559] [] ? commit_timeout+0x10/0x10 [jbd2] > [ 1563.153562] [] kthread+0xea/0xf0 > [ 1563.153566] [] ? flush_kthread_worker+0x150/0x150 > [ 1563.153569] [] ret_from_fork+0x7c/0xb0 > [ 1563.153573] [] ? flush_kthread_worker+0x150/0x150 > [ 1563.153579] INFO: task doer:2425 blocked for more than 120 seconds. > [ 1563.153581] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1563.153585] doer D ffffffff8112d160 0 2425 11234 0x00000000 > [ 1563.153589] ffff88002f13f9b8 0000000000000046 0000000000000000 ffff880082f8b4b8 > [ 1563.153594] ffff880030093f60 ffff88002f13ffd8 ffff88002f13ffd8 ffff88002f13ffd8 > [ 1563.153599] ffffffff81c10440 ffff880030093f60 ffff88002f13f988 ffff880082a144e0 > [ 1563.153604] Call Trace: > [ 1563.153607] [] ? __lock_page+0x70/0x70 > [ 1563.153611] [] schedule+0x29/0x70 > [ 1563.153615] [] io_schedule+0x8f/0xd0 > [ 1563.153618] [] sleep_on_page+0xe/0x20 > [ 1563.153622] [] __wait_on_bit_lock+0x5a/0xc0 > [ 1563.153626] [] ? find_get_pages_tag+0x2e/0x1e0 > [ 1563.153630] [] __lock_page+0x67/0x70 > [ 1563.153633] [] ? autoremove_wake_function+0x50/0x50 > [ 1563.153640] [] write_cache_pages_da+0x549/0x560 [ext4] > [ 1563.153647] [] ? ext4_da_writepages+0x377/0x6a0 [ext4] > [ 1563.153655] [] ? __ext4_journal_start_sb+0x99/0x1a0 [ext4] > [ 1563.153662] [] ext4_da_writepages+0x3a3/0x6a0 [ext4] > [ 1563.153666] [] ? __do_fault+0x14a/0x470 > [ 1563.153670] [] do_writepages+0x23/0x40 > [ 1563.153674] [] __filemap_fdatawrite_range+0x59/0x60 > [ 1563.153679] [] filemap_write_and_wait_range+0x3a/0x80 > [ 1563.153685] [] ext4_punch_hole+0x1f5/0x5c0 [ext4] > [ 1563.153690] [] ? __do_page_fault+0x108/0x550 > [ 1563.153694] [] ? do_fallocate+0x101/0x190 > [ 1563.153698] [] ? do_fallocate+0x101/0x190 > [ 1563.153705] [] ext4_fallocate+0x30c/0x5d0 [ext4] > [ 1563.153720] [] SyS_fallocate+0x57/0x90 > [ 1563.153723] [] system_call_fastpath+0x16/0x1b > [ 1683.155015] INFO: task flush-8:16:11233 blocked for more than 120 seconds. > [ 1683.155039] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1683.155056] flush-8:16 D ffffffff8112d160 0 11233 2 0x00000000 > [ 1683.155078] ffff88002fe5d768 0000000000000046 0000000000000000 ffff880082f8b4b8 > [ 1683.155101] ffff8800300b9fb0 ffff88002fe5dfd8 ffff88002fe5dfd8 ffff88002fe5dfd8 > [ 1683.155120] ffff88002ed75f10 ffff8800300b9fb0 ffff88002fe5d768 ffff880082a144e0 > [ 1683.155141] Call Trace: > [ 1683.155166] [] ? __lock_page+0x70/0x70 > [ 1683.155186] [] schedule+0x29/0x70 > [ 1683.155202] [] io_schedule+0x8f/0xd0 > [ 1683.155217] [] sleep_on_page+0xe/0x20 > [ 1683.155233] [] __wait_on_bit_lock+0x5a/0xc0 > [ 1683.155250] [] ? find_get_pages_tag+0x2e/0x1e0 > [ 1683.155269] [] ? __block_write_full_page+0x211/0x390 > [ 1683.155286] [] __lock_page+0x67/0x70 > [ 1683.155303] [] ? autoremove_wake_function+0x50/0x50 > [ 1683.155339] [] ext4_num_dirty_pages.isra.53+0x1fe/0x210 [ext4] > [ 1683.155361] [] ? pagevec_lookup_tag+0x25/0x40 > [ 1683.155377] [] ? write_cache_pages+0x144/0x4e0 > [ 1683.155407] [] ext4_da_writepages+0x63d/0x6a0 [ext4] > [ 1683.155424] [] ? set_page_dirty_lock+0x70/0x70 > [ 1683.155443] [] ? __writeback_single_inode+0x63/0x310 > [ 1683.155459] [] ? __writeback_single_inode+0x63/0x310 > [ 1683.155477] [] ? writeback_sb_inodes+0x13c/0x550 > [ 1683.155493] [] do_writepages+0x23/0x40 > [ 1683.155509] [] __writeback_single_inode+0x45/0x310 > [ 1683.155526] [] writeback_sb_inodes+0x2c8/0x550 > [ 1683.155543] [] __writeback_inodes_wb+0x9e/0xd0 > [ 1683.155560] [] wb_writeback+0x34b/0x370 > [ 1683.155576] [] ? get_nr_inodes+0x5e/0xb0 > [ 1683.155592] [] wb_check_old_data_flush+0x9f/0xb0 > [ 1683.155610] [] wb_do_writeback+0x179/0x200 > [ 1683.155629] [] ? debug_object_assert_init+0x7a/0xf0 > [ 1683.155645] [] ? del_timer+0x2b/0x80 > [ 1683.155661] [] bdi_writeback_thread+0xac/0x300 > [ 1683.155678] [] ? wb_do_writeback+0x200/0x200 > [ 1683.155693] [] kthread+0xea/0xf0 > [ 1683.155708] [] ? flush_kthread_worker+0x150/0x150 > [ 1683.155723] [] ret_from_fork+0x7c/0xb0 > [ 1683.155738] [] ? flush_kthread_worker+0x150/0x150 > [ 1683.155761] INFO: task ext4lazyinit:2065 blocked for more than 120 seconds. > [ 1683.155773] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1683.155787] ext4lazyinit D ffff88007e93b828 0 2065 2 0x00000000 > [ 1683.155805] ffff88007ebffbd8 0000000000000046 ffff88007ebffb78 ffffffff810ae74d > [ 1683.155825] ffff88002eee5f10 ffff88007ebfffd8 ffff88007ebfffd8 ffff88007ebfffd8 > [ 1683.155844] ffffffff81c10440 ffff88002eee5f10 ffff88007e93b800 0000000000000001 > [ 1683.155864] Call Trace: > [ 1683.155879] [] ? trace_hardirqs_on+0xd/0x10 > [ 1683.155896] [] schedule+0x29/0x70 > [ 1683.155921] [] start_this_handle+0x2b5/0x560 [jbd2] > [ 1683.155938] [] ? static_obj+0x5a/0x70 > [ 1683.155953] [] ? __init_waitqueue_head+0x60/0x60 > [ 1683.155973] [] jbd2__journal_start+0xed/0x210 [jbd2] > [ 1683.156007] [] ? ext4_lazyinit_thread+0xb6/0x330 [ext4] > [ 1683.158547] [] ? ext4_lazyinit_thread+0xb6/0x330 [ext4] > [ 1683.162391] [] ? ext4_init_inode_table+0xaa/0x360 [ext4] > [ 1683.162400] [] __ext4_journal_start_sb+0x99/0x1a0 [ext4] > [ 1683.162407] [] ext4_init_inode_table+0xaa/0x360 [ext4] > [ 1683.162414] [] ? ext4_lazyinit_thread+0xb6/0x330 [ext4] > [ 1683.162420] [] ext4_lazyinit_thread+0x120/0x330 [ext4] > [ 1683.162427] [] ? init_once+0x70/0x70 [ext4] > [ 1683.162431] [] kthread+0xea/0xf0 > [ 1683.162434] [] ? flush_kthread_worker+0x150/0x150 > [ 1683.162438] [] ret_from_fork+0x7c/0xb0 > [ 1683.162441] [] ? flush_kthread_worker+0x150/0x150 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-ext4" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Jan Kara SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/