Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 28 Jul 2001 21:53:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 28 Jul 2001 21:53:33 -0400 Received: from vasquez.zip.com.au ([203.12.97.41]:5138 "EHLO vasquez.zip.com.au") by vger.kernel.org with ESMTP id ; Sat, 28 Jul 2001 21:53:26 -0400 Message-ID: <3B636E09.40F12A6@zip.com.au> Date: Sun, 29 Jul 2001 11:59:37 +1000 From: Andrew Morton X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.7 i686) X-Accept-Language: en MIME-Version: 1.0 To: Alan Cox CC: "Patrick J. LoPresti" , linux-kernel@vger.kernel.org Subject: Re: ext3-2.4-0.9.4 In-Reply-To: from "Patrick J. LoPresti" at Jul 28, 2001 12:46:51 PM Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Original-Recipient: rfc822;linux-kernel-outgoing Alan Cox wrote: > >... > > If you have metadata journalling, all you need for this algorithm to > > work is to have rename() write to the journal before returning. Is > > this true for any of the current journalling file systems on Linux? > > Ext3 I believe so, Reiserfs I would assume so but Hans can answer > definitively For ext3: this is true if something forces a commit. Apart from data in `-o data=writeback' mode, a commit syncs the entire filesystem. Things which force a commit include: - completing a write() on an O_SYNC file. - Performing any metadata operation on a `chattr +S' object - Performing any metadata operation on an object on a `mount -o sync' filesystem. In `data=journal' or `data=ordered' mode, any of these things will commit everything to non-volatile storage. - - 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/