From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932551AbXF2Nag (ORCPT ); Fri, 29 Jun 2007 09:30:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763610AbXF2Na2 (ORCPT ); Fri, 29 Jun 2007 09:30:28 -0400 Received: from s2.ukfsn.org ([217.158.120.143]:37152 "EHLO mail.ukfsn.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753678AbXF2Na0 (ORCPT ); Fri, 29 Jun 2007 09:30:26 -0400 Message-ID: <4685096B.9000400@dgreaves.com> Date: Fri, 29 Jun 2007 14:30:19 +0100 From: David Greaves User-Agent: Mozilla-Thunderbird 2.0.0.4 (X11/20070618) MIME-Version: 1.0 To: "Rafael J. Wysocki" Cc: David Chinner , Pavel Machek , linux-pm , "'linux-kernel@vger.kernel.org'" , xfs@oss.sgi.com, LinuxRaid , LVM general discussion and development , David Robinson , Oleg Nesterov Subject: Re: [linux-pm] Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume References: <46744065.6060605@dgreaves.com> <20070629074322.GT31489@sgi.com> <4684BAA4.4010905@dgreaves.com> <200706291518.18072.rjw@sisk.pl> In-Reply-To: <200706291518.18072.rjw@sisk.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Rafael J. Wysocki wrote: > On Friday, 29 June 2007 09:54, David Greaves wrote: >> David Chinner wrote: >>> On Fri, Jun 29, 2007 at 08:40:00AM +0100, David Greaves wrote: >>>> What happens if a filesystem is frozen and I hibernate? >>>> Will it be thawed when I resume? >>> If you froze it yourself, then you'll have to thaw it yourself. >> So hibernate will not attempt to re-freeze a frozen fs and, during resume, it >> will only thaw filesystems that were frozen by the suspend? > > Right now it doesn't freeze (or thaw) any filesystems. It just sync()s them > before creating the hibernation image. Thanks. Yes I realise that :) I wasn't clear, I should have said: So hibernate should not attempt to re-freeze a frozen fs and, during resume, it should only thaw filesystems that were frozen by the suspend. > However, the fact that you've seen corruption with the XFS filesystems frozen > before the hibernation indicates that the problem occurs on a lower level. And that was why I chimed in - I don't think freezing fixes the problem (though it may make sense for other reasons). David