Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161103AbWJXRJB (ORCPT ); Tue, 24 Oct 2006 13:09:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965159AbWJXRJB (ORCPT ); Tue, 24 Oct 2006 13:09:01 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:7867 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S965157AbWJXRJA (ORCPT ); Tue, 24 Oct 2006 13:09:00 -0400 Date: Tue, 24 Oct 2006 18:08:57 +0100 From: Christoph Hellwig To: Oleg Verych Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] Freeze bdevs when freezing processes. Message-ID: <20061024170857.GB17956@infradead.org> Mail-Followup-To: Christoph Hellwig , Oleg Verych , linux-kernel@vger.kernel.org References: <1161576735.3466.7.camel@nigel.suspend2.net> <200610231236.54317.rjw@sisk.pl> <20061024144446.GD11034@melbourne.sgi.com> <200610241730.00488.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 770 Lines: 21 On Tue, Oct 24, 2006 at 04:20:31PM +0000, Oleg Verych wrote: > > Do you mean calling sys_sync() after the userspace has been frozen > > may not be sufficient? > > Please see > > > it's bottom of > > > IMHO it's may be helpful. It's not. It'sa step in the wrong direction. The only way to guarantee a filesystem (not just xfs, _any_ filesystem - xfs is just most sensitive) is to call the write_super_lockfs method. - 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/