Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755602AbZJVXAU (ORCPT ); Thu, 22 Oct 2009 19:00:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755502AbZJVXAT (ORCPT ); Thu, 22 Oct 2009 19:00:19 -0400 Received: from bld-mail12.adl6.internode.on.net ([150.101.137.97]:52998 "EHLO mail.internode.on.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755423AbZJVXAT (ORCPT ); Thu, 22 Oct 2009 19:00:19 -0400 Date: Fri, 23 Oct 2009 10:00:10 +1100 From: Dave Chinner To: Justin Piszcz Cc: linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, xfs@oss.sgi.com, Alan Piszcz Subject: Re: 2.6.31+2.6.31.4: XFS - All I/O locks up to D-state after 24-48 hours (sysrq-t+w available) Message-ID: <20091022230010.GE9464@discord.disaster> References: <20091019030456.GS9464@discord.disaster> <20091020003358.GW9464@discord.disaster> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2031 Lines: 54 On Thu, Oct 22, 2009 at 06:49:46PM -0400, Justin Piszcz wrote: > On Wed, 21 Oct 2009, Justin Piszcz wrote: >> On Tue, 20 Oct 2009, Justin Piszcz wrote: >>>> It appears that both the xfslogd and the xfsdatad on CPU 0 are in >>>> the running state but don't appear to be consuming any significant >>>> CPU time. If they remain like this then I think that means they are >>>> stuck waiting on the run queue. Do these XFS threads always appear >>>> like this when the hang occurs? If so, is there something else that >>>> is hogging CPU 0 preventing these threads from getting the CPU? >>> Yes, the XFS threads show up like this on each time the kernel >>> crashed. So far >>> with 2.6.30.9 after ~48hrs+ it has not crashed. So it appears to be >>> some issue >>> between 2.6.30.9 and 2.6.31.x when this began happening. Any >>> recommendations >>> on how to catch this bug w/certain options enabled/etc? >> >> Uptime with 2.6.30.9: >> >> 06:18:41 up 2 days, 14:10, 14 users, load average: 0.41, 0.21, 0.07 >> >> No issues yet, so it first started happening in 2.6.(31).(x). Ok. >> Any further recommendations on how to debug this issue? BTW: Do >> you view this as an XFS bug or MD/VFS layer issue based on the >> logs/output thus far? Could be either. Nothing so far points at a cause. > Any other ideas? If it is relatively quick to reproduce, you could run a git bisect to try to find the offending commit. Or when it has locked up, run oprofile with callgraph sampling and so we can get an idea of what is actually running when XFS appears to hang. > Currently stuck on 2.6.30.9.. (no issues, no lockups)-- Box normally has > no load at all either.. Has anyone else reported similar problems? Not that I know of. Cheers, Dave. -- Dave Chinner david@fromorbit.com -- 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/