Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 13 Feb 2002 19:29:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 13 Feb 2002 19:29:18 -0500 Received: from dsl-213-023-039-092.arcor-ip.net ([213.23.39.92]:2702 "EHLO starship.berlin") by vger.kernel.org with ESMTP id ; Wed, 13 Feb 2002 19:29:03 -0500 Content-Type: text/plain; charset=US-ASCII From: Daniel Phillips To: Bill Davidsen Subject: Re: [patch] sys_sync livelock fix Date: Thu, 14 Feb 2002 01:33:19 +0100 X-Mailer: KMail [version 1.3.2] Cc: Andrew Morton , Linux Kernel Mailing List In-Reply-To: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On February 13, 2002 11:53 pm, Bill Davidsen wrote: > On Wed, 13 Feb 2002, Daniel Phillips wrote: > > > Because people count on something broken we should keep the bug? You do > > > realize that the sync may NEVER finish? > > > > You do realize that if you lose your data you may NEVER get it back? ;-) > > The sync doesn't protect my data, after my data has been written why > should I care to wait while all the data in every active program in the > system gets written. This makes checkpoints stop points on a busy system. Sync should not wait for data written after the sync. If it does, it's broken and needs to be fixed. > > > Your example is a good example of bad practive, since even with > > > ext3 a program creating files quickly would lose data, even though the > > > directory structure is returned to a known state, without stopping the > > > writing processes the results are unknown. > > > > Huh? You know about journal commit, right? > > Read or reread my other notes on that, journal prevents directory > corruption, it doesn't prevent data loss like a database transaction. > Returning to a known good state does not include "without losing any data > written to unclosed files." It's true, we get into great areas with ordered-data journalling, but it's black and white with full data journalling. > I leave it to Mr Reiser to clarify that or correct me if data is protected > without using unbuffered writes. -- Daniel - 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/