Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756262Ab1D0Q0i (ORCPT ); Wed, 27 Apr 2011 12:26:38 -0400 Received: from legolas.restena.lu ([158.64.1.34]:34859 "EHLO legolas.restena.lu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750988Ab1D0Q0h convert rfc822-to-8bit (ORCPT ); Wed, 27 Apr 2011 12:26:37 -0400 Date: Wed, 27 Apr 2011 18:26:22 +0200 From: Bruno =?UTF-8?B?UHLDqW1vbnQ=?= To: Dave Chinner Cc: xfs-masters@oss.sgi.com, xfs@oss.sgi.com, Christoph Hellwig , Alex Elder , Dave Chinner , linux-kernel@vger.kernel.org Subject: Re: 2.6.39-rc3, 2.6.39-rc4: XFS lockup - regression since 2.6.38 Message-ID: <20110427182622.05a068a2@neptune.home> In-Reply-To: <20110427050850.GG12436@dastard> References: <20110423224403.5fd1136a@neptune.home> <20110427050850.GG12436@dastard> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4298 Lines: 79 On Wed, 27 April 2011 Dave Chinner wrote: > On Sat, Apr 23, 2011 at 10:44:03PM +0200, Bruno Prémont wrote: > > Running 2.6.39-rc3+ and now again on 2.6.39-rc4+ (I've not tested -rc1 > > or -rc2) I've hit a "dying machine" where processes writing to disk end > > up in D state. > > From occurrence with -rc3+ I don't have logs as those never hit the disk, > > for -rc4+ I have the following (sysrq+t was too big, what I have of it > > misses a dozen of kernel tasks - if needed, please ask): > > > > The -rc4 kernel is at commit 584f79046780e10cb24367a691f8c28398a00e84 > > (+ 1 patch of mine to stop disk on reboot), > > full dmesg available if needed; kernel config attached (only selected > > options). In case there is something I should do at next occurrence > > please tell. Unfortunately I have no trigger for it and it does not > > happen very often. > > > > [ 0.000000] Linux version 2.6.39-rc4-00120-g73b5b55 (kbuild@neptune) (gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) ) #12 Thu Apr 21 19:28:45 CEST 2011 > > > > > > [32040.120055] INFO: task flush-8:0:1665 blocked for more than 120 seconds. > > [32040.120068] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > > [32040.120077] flush-8:0 D 00000000 4908 1665 2 0x00000000 > > [32040.120099] f55efb5c 00000046 00000000 00000000 00000000 00000001 e0382924 00000000 > > [32040.120118] f55efb0c f55efb5c 00000004 f629ba70 572f01a2 00001cfe f629ba70 ffffffc0 > > [32040.120135] f55efc68 f55efb30 f889d7f8 f55efb20 00000000 f55efc68 e0382900 f55efc94 > > [32040.120153] Call Trace: > > [32040.120220] [] ? xfs_bmap_search_multi_extents+0x88/0xe0 [xfs] > > [32040.120239] [] ? kmem_cache_alloc+0x2d/0x110 > > [32040.120294] [] ? xlog_space_left+0x2a/0xc0 [xfs] > > [32040.120346] [] xlog_wait+0x4b/0x70 [xfs] > > [32040.120359] [] ? try_to_wake_up+0xc0/0xc0 > > [32040.120411] [] xlog_grant_log_space+0x8b/0x240 [xfs] > > [32040.120464] [] ? xlog_grant_push_ail+0xbe/0xf0 [xfs] > > [32040.120516] [] xfs_log_reserve+0xab/0xb0 [xfs] > > [32040.120571] [] xfs_trans_reserve+0x78/0x1f0 [xfs] > > Hmmmmm. That may be caused by the conversion of the xfsaild to a > work queue. Can you post the output of "xfs_info " and the > mount options (/proc/mounts) used on you system? Here it comes (including all XFS mount-points - with affected kernel but after fresh boot): * /proc/mountinfo * /dev/sda6 /mnt/.SRC xfs rw,noatime,attr2,delaylog,noquota 0 0 /dev/sda7 /home xfs rw,noatime,attr2,delaylog,noquota 0 0 /dev/sda6 /var/cache/edb xfs rw,noatime,attr2,delaylog,noquota 0 0 /dev/sda6 /usr/src xfs rw,noatime,attr2,delaylog,noquota 0 0 /dev/sda6 /var/tmp xfs rw,noatime,attr2,delaylog,noquota 0 0 /dev/sda6 /var/log xfs rw,noatime,attr2,delaylog,noquota 0 0 /dev/sda6 /var/lib/portage/packages xfs rw,noatime,attr2,delaylog,noquota 0 0 * xfs_info * meta-data=/dev/sda7 isize=256 agcount=4, agsize=987996 blks = sectsz=512 attr=2 data = bsize=4096 blocks=3951982, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal bsize=4096 blocks=2560, version=2 = sectsz=512 sunit=0 blks, lazy-count=0 realtime =none extsz=4096 blocks=0, rtextents=0 meta-data=/dev/sda6 isize=256 agcount=4, agsize=655149 blks = sectsz=512 attr=2 data = bsize=4096 blocks=2620595, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal bsize=4096 blocks=2560, version=2 = sectsz=512 sunit=0 blks, lazy-count=0 realtime =none extsz=4096 blocks=0, rtextents=0 Bruno -- 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/