From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761274AbXGCQFl (ORCPT ); Tue, 3 Jul 2007 12:05:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756787AbXGCQFf (ORCPT ); Tue, 3 Jul 2007 12:05:35 -0400 Received: from cavan.codon.org.uk ([217.147.92.49]:55454 "EHLO vavatch.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755342AbXGCQFe (ORCPT ); Tue, 3 Jul 2007 12:05:34 -0400 Date: Tue, 3 Jul 2007 17:05:26 +0100 From: Matthew Garrett To: Alan Stern Cc: linux-kernel@vger.kernel.org, linux-pm@lists.linux-foundation.org Message-ID: <20070703160526.GA24334@srcf.ucam.org> References: <20070703042916.GA17240@srcf.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@codon.org.uk Subject: Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway X-SA-Exim-Version: 4.2.1 (built Tue, 20 Jun 2006 01:35:45 +0000) X-SA-Exim-Scanned: Yes (on vavatch.codon.org.uk) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 03, 2007 at 12:03:33PM -0400, Alan Stern wrote: > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > > Suspend to RAM on a machine with / on a fuse filesystem turns out to be > > a screaming nightmare - either the suspend fails because syslog (for > > instance) can't be frozen, or the machine deadlocks for some other > > reason I haven't tracked down. We could "fix" fuse, or alternatively we > > could do what we do for suspend to RAM on other platforms (PPC and APM) > > and just not use the freezer. > > Quite apart from the sync() matter, _any_ synchronous call to a FUSE > filesystem during STR will cause trouble. Even if the user task > implementing the filesystem isn't frozen, when it tries to carry out > some I/O to a suspended device it will either: > > block until the system wakes up, or For the suspend to RAM case, that sounds absolutely fine. -- Matthew Garrett | mjg59@srcf.ucam.org