Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757577AbXFNA3J (ORCPT ); Wed, 13 Jun 2007 20:29:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756670AbXFNA26 (ORCPT ); Wed, 13 Jun 2007 20:28:58 -0400 Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:51211 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756492AbXFNA25 (ORCPT ); Wed, 13 Jun 2007 20:28:57 -0400 Date: Thu, 14 Jun 2007 10:28:23 +1000 From: David Chinner To: David Greaves Cc: Linus Torvalds , David Chinner , Tejun Heo , "Rafael J. Wysocki" , xfs@oss.sgi.com, "'linux-kernel@vger.kernel.org'" , linux-pm , Neil Brown , Jeff Garzik Subject: Re: 2.6.22-rc3 hibernate(?) fails totally - regression (xfs on raid6) Message-ID: <20070614002823.GY85884050@sgi.com> References: <46667160.80905@gmail.com> <46668EE0.2030509@dgreaves.com> <46679D56.7040001@gmail.com> <4667DE2D.6050903@dgreaves.com> <20070607110708.GS86004887@sgi.com> <46680F5E.6070806@dgreaves.com> <20070607222813.GG85884050@sgi.com> <4669A965.20403@dgreaves.com> <466FD214.9070603@dgreaves.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <466FD214.9070603@dgreaves.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1748 Lines: 48 On Wed, Jun 13, 2007 at 12:16:36PM +0100, David Greaves wrote: > Linus Torvalds wrote: > > > >On Fri, 8 Jun 2007, David Greaves wrote: > >>positive: I can now get sysrq-t :) > > > >Ok, so color me confused, > So what do you think that makes me > > >and maybe I have missed some of the emails or > >skimmed over them too fast (there's been too many of them ;), > > You may have missed these 'tests' with rc4+Tejun's fix: > * clean boot, unmounting the xfs fs : normal hibernate/resume > * clean boot, remount ro xfs fs : normal hibernate/resume > * clean boot, touch; sync; echo 1 > /proc/sys/vm/drop_caches: normal > hibernate/resume > * clean boot, touch; sync; echo 2 > /proc/sys/vm/drop_caches: hang > hibernating > * clean boot, touch; sync; echo 3 > /proc/sys/vm/drop_caches: hang > hibernating > > Dave asked me to do them but hasn't responded yet. Sorry 'bout that. Bit busy ATM. What I was effectively looking for was whether it was data or metadata that was causing the problems. From the above, it would appear that dropping the page cache (echo 1 > drop caches) allows a successful hibernate/resume. Next step would have been to isolate which cache being dropped made the difference (e.g. a file or a bdev cache?). However, it is clear from the back traces that there is something unwell with md/sata code, so I don't think this needs to be tracked any further from the filesystem perspective. Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group - 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/