Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754391AbYJCEYV (ORCPT ); Fri, 3 Oct 2008 00:24:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750873AbYJCEYJ (ORCPT ); Fri, 3 Oct 2008 00:24:09 -0400 Received: from casper.infradead.org ([85.118.1.10]:34085 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750771AbYJCEYI (ORCPT ); Fri, 3 Oct 2008 00:24:08 -0400 Date: Thu, 2 Oct 2008 21:23:55 -0700 From: Arjan van de Ven To: Arjan van de Ven Cc: Andrew Morton , Jens Axboe , linux-kernel@vger.kernel.org, Alan Cox Subject: Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority Message-ID: <20081002212355.621a4fb6@infradead.org> In-Reply-To: <20081002210117.0f5062f7@infradead.org> References: <20081001200034.65eb67d6@infradead.org> <20081001215638.3a65134c.akpm@linux-foundation.org> <20081002062736.GR19428@kernel.dk> <20081001235501.2b7f50fe.akpm@linux-foundation.org> <20081002061236.3c71c877@infradead.org> <20081002132457.46ad8d05.akpm@linux-foundation.org> <20081002210117.0f5062f7@infradead.org> Organization: Intel X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.12; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5486 Lines: 108 On Thu, 2 Oct 2008 21:01:17 -0700 Arjan van de Ven wrote: > > _ > > > > perhaps for varying values of "1". > caught a few, a few were over 3 1/2 seconds in stall time (specifically I know this for the last one) (I've stripped out the ? entries to keep them reasonable) [ 410.168277] WARNING: at kernel/sched.c:5652 io_schedule+0x77/0xb0() [ 410.168347] Pid: 699, comm: kjournald Not tainted 2.6.27-rc8-tip #50 [ 410.168366] [] warn_on_slowpath+0x41/0x65 [ 410.168414] [] io_schedule+0x77/0xb0 [ 410.168421] [] sync_buffer+0x33/0x37 [ 410.168429] [] __wait_on_bit+0x36/0x5d [ 410.168445] [] out_of_line_wait_on_bit+0xab/0xb3 [ 410.168471] [] __wait_on_buffer+0x19/0x1c [ 410.168478] [] journal_commit_transaction+0x484/0xcb2 [ 410.168519] [] kjournald+0xc7/0x1ea [ 410.168544] [] kthread+0x3b/0x61 [ 410.168559] [] kernel_thread_helper+0x7/0x10 [ 410.168567] ======================= [ 410.168572] ---[ end trace de523043f88bd9a7 ]--- [ 451.605034] ------------[ cut here ]------------ [ 451.605041] WARNING: at kernel/sched.c:5652 io_schedule+0x77/0xb0() [ 451.605114] Pid: 699, comm: kjournald Tainted: G W 2.6.27-rc8-tip #50 [ 451.605133] [] warn_on_slowpath+0x41/0x65 [ 451.605182] [] io_schedule+0x77/0xb0 [ 451.605189] [] sync_buffer+0x33/0x37 [ 451.605198] [] __wait_on_bit+0x36/0x5d [ 451.605213] [] out_of_line_wait_on_bit+0xab/0xb3 [ 451.605240] [] __wait_on_buffer+0x19/0x1c [ 451.605248] [] journal_commit_transaction+0x484/0xcb2 [ 451.605300] [] kjournald+0xc7/0x1ea [ 451.605324] [] kthread+0x3b/0x61 [ 451.605339] [] kernel_thread_helper+0x7/0x10 [ 451.605348] ======================= [ 451.605353] ---[ end trace de523043f88bd9a7 ]--- [ 514.780993] ------------[ cut here ]------------ [ 514.781001] WARNING: at kernel/sched.c:5652 io_schedule+0x77/0xb0() [ 514.781074] Pid: 699, comm: kjournald Tainted: G W 2.6.27-rc8-tip #50 [ 514.781092] [] warn_on_slowpath+0x41/0x65 [ 514.781152] [] io_schedule+0x77/0xb0 [ 514.781159] [] sync_buffer+0x33/0x37 [ 514.781167] [] __wait_on_bit_lock+0x34/0x5e [ 514.781183] [] out_of_line_wait_on_bit_lock+0xab/0xb3 [ 514.781210] [] __lock_buffer+0x24/0x2a [ 514.781218] [] journal_commit_transaction+0x285/0xcb2 [ 514.781288] [] kjournald+0xc7/0x1ea [ 514.781313] [] kthread+0x3b/0x61 [ 514.781334] [] kernel_thread_helper+0x7/0x10 [ 514.781345] ======================= [ 514.781352] ---[ end trace de523043f88bd9a7 ]--- [ 517.064300] ------------[ cut here ]------------ [ 517.064379] Pid: 699, comm: kjournald Tainted: G W 2.6.27-rc8-tip #50 [ 517.064398] [] warn_on_slowpath+0x41/0x65 [ 517.064474] [] io_schedule+0x77/0xb0 [ 517.064481] [] sync_buffer+0x33/0x37 [ 517.064490] [] __wait_on_bit+0x36/0x5d [ 517.064505] [] out_of_line_wait_on_bit+0xab/0xb3 [ 517.064530] [] __wait_on_buffer+0x19/0x1c [ 517.064538] [] journal_commit_transaction+0x484/0xcb2 [ 517.064579] [] kjournald+0xc7/0x1ea [ 517.064603] [] kthread+0x3b/0x61 [ 517.064618] [] kernel_thread_helper+0x7/0x10 [ 517.064626] ======================= [ 517.064631] ---[ end trace de523043f88bd9a7 ]--- [ 517.067487] ------------[ cut here ]------------ [ 517.067493] WARNING: at kernel/sched.c:5652 io_schedule+0x77/0xb0() [ 517.067556] Pid: 4320, comm: claws-mail Tainted: G W 2.6.27-rc8-tip #50 [ 517.067572] [] warn_on_slowpath+0x41/0x65 [ 517.067652] [] io_schedule+0x77/0xb0 [ 517.067659] [] sync_buffer+0x33/0x37 [ 517.067666] [] __wait_on_bit_lock+0x34/0x5e [ 517.067682] [] out_of_line_wait_on_bit_lock+0xab/0xb3 [ 517.067707] [] __lock_buffer+0x24/0x2a [ 517.067715] [] do_get_write_access+0x64/0x3b1 [ 517.067743] [] journal_get_write_access+0x1b/0x2a [ 517.067752] [] __ext3_journal_get_write_access+0x19/0x3c [ 517.067761] [] ext3_reserve_inode_write+0x34/0x68 [ 517.067769] [] ext3_mark_inode_dirty+0x2f/0x46 [ 517.067777] [] ext3_dirty_inode+0x53/0x67 [ 517.067784] [] __mark_inode_dirty+0x29/0x144 [ 517.067794] [] file_update_time+0x80/0xa9 [ 517.067803] [] __generic_file_aio_write_nolock+0x2f0/0x41b [ 517.067842] [] generic_file_aio_write+0x5a/0xb7 [ 517.067850] [] ext3_file_write+0x1a/0x89 [ 517.067858] [] do_sync_write+0xab/0xe9 [ 517.067896] [] vfs_write+0x8a/0x12e [ 517.067903] [] sys_write+0x3b/0x60 [ 517.067910] [] sysenter_do_call+0x12/0x2f [ 517.067919] ======================= [ 517.067923] ---[ end trace de523043f88bd9a7 ]--- -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- 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/