From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261185AbTJCU3s (ORCPT ); Fri, 3 Oct 2003 16:29:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261186AbTJCU3s (ORCPT ); Fri, 3 Oct 2003 16:29:48 -0400 Received: from fw.osdl.org ([65.172.181.6]:41649 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261185AbTJCU3j (ORCPT ); Fri, 3 Oct 2003 16:29:39 -0400 Date: Fri, 3 Oct 2003 13:29:38 -0700 From: Andrew Morton To: PALFFY Daniel Cc: linux-kernel@vger.kernel.org, Jan Kara Subject: Re: 2.6 deadlock, maybe ext2 related Message-Id: <20031003132938.6f834b69.akpm@osdl.org> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.6 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org PALFFY Daniel wrote: > > This problem has been around since at least about test1, but this was the > first time i could capture a trace. It looks like this process is the culprit: > apache D C278A120 77489808 9714 496 9233 (NOTLB) > c6befab8 00000086 c278a2a0 c278a120 c0292604 c278a120 c1e1e460 c882a040 > c041f460 c35d6abc c2207390 c6befac4 c7e400c0 c01f0cad c35d6ac0 c6bd1ec0 > c35d6ac0 c2207390 00000001 00000400 00000400 00000000 c7e400c0 c017069f > Call Trace: > [] tcp_v4_rcv+0x654/0x880 > [] rwsem_down_read_failed+0x8d/0x130 > [] .text.lock.dquot+0xcd/0x2fe > [] ip_local_deliver_finish+0xc5/0x1c0 > [] ip_local_deliver_finish+0x0/0x1c0 > [] ext2_new_block+0xad/0x5e0 ext2_new_block ->DQUOT_PREALLOC_SPACE_NODIRTY ->dquot_alloc_space ->down_read(dqptr_sem) > [] ext2_alloc_block+0x6f/0xb0 > [] ext2_alloc_branch+0x34/0x230 > [] ext2_get_block+0x155/0x390 > [] netif_receive_skb+0x17b/0x200 > [] __block_prepare_write+0x1e3/0x420 > [] inode_update_time+0xcd/0xe0 > [] block_prepare_write+0x34/0x50 > [] ext2_get_block+0x0/0x390 > [] generic_file_aio_write_nolock+0x36e/0xa90 > [] ext2_get_block+0x0/0x390 > [] ip_finish_output2+0x0/0x190 > [] dst_output+0x0/0x30 > [] ip_queue_xmit+0x40c/0x520 > [] dst_output+0x0/0x30 > [] generic_file_write_nolock+0x7e/0xa0 > [] __find_get_block+0x52/0xc0 > [] __getblk+0x2b/0x60 > [] __bread+0x1f/0x40 > [] dquot_free_space+0x63/0x110 > [] ext2_free_blocks+0xe7/0x2f0 > [] generic_file_write+0x5b/0x80 > [] v1_commit_dqblk+0xa6/0x100 > [] commit_dqblk+0x3e/0x60 > [] dqput+0x35/0xc0 > [] mark_buffer_dirty+0x32/0x50 > [] dquot_drop_nolock+0x3d/0x50 > [] dquot_drop+0x2f/0x60 down_write(dqptr_sem); > [] ext2_free_inode+0x14f/0x170 > [] ext2_delete_inode+0x0/0x90 > [] ext2_delete_inode+0x0/0x90 > [] generic_delete_inode+0x85/0x120 > [] iput+0x55/0x80 > [] dput+0xd4/0x170 > [] __fput+0x99/0xf0 > [] filp_close+0x59/0x90 > [] sys_close+0x50/0x60 > [] syscall_call+0x7/0xb > >