From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: with ECARTIS (v1.0.0; list xfs); Mon, 29 Sep 2008 07:36:28 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m8TEaPUE026194 for ; Mon, 29 Sep 2008 07:36:25 -0700 Received: from bombadil.infradead.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id EB70449273E for ; Mon, 29 Sep 2008 07:38:01 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by cuda.sgi.com with ESMTP id pWN4ST9lGu4c764v for ; Mon, 29 Sep 2008 07:38:01 -0700 (PDT) Date: Mon, 29 Sep 2008 10:37:49 -0400 From: Christoph Hellwig Subject: Re: [PATCH 3/3] Add timeout feature Message-ID: <20080929143749.GA13286@infradead.org> References: <20080908205337t-sato@mail.jp.nec.com> <20080908171119.GB22521@infradead.org> <48DBFD42.6030307@redhat.com> <20080929141326.GA31781@infradead.org> <48E0E7D4.1090409@sandeen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E0E7D4.1090409@sandeen.net> Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com List-Id: xfs To: Eric Sandeen Cc: Christoph Hellwig , Takashi Sato , Ric Wheeler , Andrew Morton , Oleg Nesterov , linux-fsdevel@vger.kernel.org, dm-devel@redhat.com, viro@ZenIV.linux.org.uk, linux-ext4@vger.kernel.org, xfs@oss.sgi.com, axboe@kernel.dk, mtk.manpages@googlemail.com, linux-kernel@vger.kernel.org On Mon, Sep 29, 2008 at 09:36:04AM -0500, Eric Sandeen wrote: > Christoph Hellwig wrote: > > On Fri, Sep 26, 2008 at 05:52:35PM +0900, Takashi Sato wrote: > >> I think that your concern is that the freezer cannot recognize the occurrence > >> of a timeout and it continues the backup process and the backup data is > >> corrupted finally. > > > > What timeout should happen? the freeze ioctl must not return until the > > filesystem is a clean state and all writes are blocked. > > The suggestion was that *UN*freeze would return ETIMEDOUT if the > filesystem had already unfrozen itself, I think. That way you know that > the snapshot you just took is worthless, at least. But why would the filesystem every unfreeze itself? That defeats the whole point of freezing it.