Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758055AbZC1Lxu (ORCPT ); Sat, 28 Mar 2009 07:53:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753948AbZC1Lxk (ORCPT ); Sat, 28 Mar 2009 07:53:40 -0400 Received: from mail-in-13.arcor-online.net ([151.189.21.53]:47936 "EHLO mail-in-13.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753914AbZC1Lxj (ORCPT ); Sat, 28 Mar 2009 07:53:39 -0400 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-01.arcor-online.net DE4B9332A61 From: Bodo Eggert <7eggert@gmx.de> Subject: Re: Linux 2.6.29 To: Linus Torvalds , Matthew Garrett , Alan Cox , Theodore Tso , Andrew Morton , David Rees , Jesper Krogh , Linux Kernel Mailing List Reply-To: 7eggert@gmx.de Date: Sat, 28 Mar 2009 12:53:34 +0100 References: User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-Id: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 21 Linus Torvalds wrote: > On Fri, 27 Mar 2009, Linus Torvalds wrote: >> Yes, some editors (vi, emacs) do it, but even there it's configurable. > > .. and looking at history, it's even pretty modern. From the vim logs: > > Patch 6.2.499 > Problem: When writing a file and halting the system, the file might be lost > when using a journalling file system. > Solution: Use fsync() to flush the file data to disk after writing a file. > (Radim Kolar) > Files: src/fileio.c > > so it looks (assuming those patch numbers mean what they would seem to > mean) that 'fsync()' in vim is from after 6.2 was released. Some time in > 2004. Besides that, it's a fix specific for /journaled/ filesystems. It's easy to see that the same journal that was supposed to increase filesystem reliability is CAUSING more unreliable behavior. -- 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/