From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin M Subject: Re: kernel thread "flush-254:12" eats 100% CPU Date: Thu, 08 Sep 2011 11:45:55 +0200 Message-ID: References: <4E684F8C.3050308@tao.ma> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: linux-ext4@vger.kernel.org Return-path: Received: from lo.gmane.org ([80.91.229.12]:51209 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758163Ab1IHJqJ (ORCPT ); Thu, 8 Sep 2011 05:46:09 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R1bBQ-0005pB-4d for linux-ext4@vger.kernel.org; Thu, 08 Sep 2011 11:46:08 +0200 Received: from cadera.waw.pl ([62.121.127.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Sep 2011 11:46:08 +0200 Received: from gmane by cadera.waw.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Sep 2011 11:46:08 +0200 In-Reply-To: <4E684F8C.3050308@tao.ma> Sender: linux-ext4-owner@vger.kernel.org List-ID: W dniu 08.09.2011 07:15, Tao Ma pisze: > So do you have the backstrace for it? Just wonder what it is doing. > echo t> /proc/sysrq-trigger should tell us what the flusher is doing at > that time. I don't have backstrace, if you tellme how to get it then i'll do it:) I did echo t>.... when flush was too active, here it is: [70946.742426] flush-254:12 R running task 0 27198 2 0x00000000 [70946.742426] ffff88001ea5bde0 0000000000000046 0000000000000265 ffff88001ead56a0 [70946.742426] 000000000000fe00 ffff88000f515fd8 0000000000004000 ffff88000f514000 [70946.742426] ffff88000f515fd8 000000000000fe00 ffff88001ea5bde0 000000000000fe00 [70946.742426] Call Trace: [70946.742426] [] ? radix_tree_gang_lookup_tag_slot+0x83/0xe0 [70946.742426] [] ? find_get_pages_tag+0x33/0x130 [70946.742426] [] ? __cond_resched+0x1d/0x30 [70946.742426] [] ? _cond_resched+0x2f/0x40 [70946.742426] [] ? write_cache_pages_da+0x32f/0x380 [70946.742426] [] ? jbd2__journal_start+0xd5/0x120 [70946.742426] [] ? ext4_journal_start_sb+0x68/0x170 [70946.742426] [] ? ext4_da_writepages+0x23e/0x440 [70946.742426] [] ? writeback_single_inode+0x11e/0x2c0 [70946.742426] [] ? writeback_sb_inodes+0x1c0/0x280 [70946.742426] [] ? __writeback_inodes_wb+0x8e/0xc0 [70946.742426] [] ? wb_writeback+0x1d3/0x1e0 [70946.742426] [] ? get_nr_dirty_inodes+0x51/0x80 [70946.742426] [] ? wb_do_writeback+0x1ce/0x1e0 [70946.742426] [] ? bdi_writeback_thread+0x82/0x150 [70946.742426] [] ? wb_do_writeback+0x1e0/0x1e0 [70946.742426] [] ? wb_do_writeback+0x1e0/0x1e0 [70946.742426] [] ? kthread+0x96/0xa0 [70946.742426] [] ? kernel_thread_helper+0x4/0x10 [70946.742426] [] ? kthread_worker_fn+0x120/0x120 [70946.742426] [] ? gs_change+0xb/0xb Thanks.