From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752600AbYI2OgS (ORCPT ); Mon, 29 Sep 2008 10:36:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751477AbYI2OgI (ORCPT ); Mon, 29 Sep 2008 10:36:08 -0400 Received: from sandeen.net ([209.173.210.139]:13803 "EHLO sandeen.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751367AbYI2OgH (ORCPT ); Mon, 29 Sep 2008 10:36:07 -0400 Message-ID: <48E0E7D4.1090409@sandeen.net> Date: Mon, 29 Sep 2008 09:36:04 -0500 From: Eric Sandeen User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Christoph Hellwig CC: 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 Subject: Re: [PATCH 3/3] Add timeout feature References: <20080908205337t-sato@mail.jp.nec.com> <20080908171119.GB22521@infradead.org> <48DBFD42.6030307@redhat.com> <20080929141326.GA31781@infradead.org> In-Reply-To: <20080929141326.GA31781@infradead.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. I'm still not really sold on the timeout, but I think the above was the intent. -Eric