Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 3 Sep 2002 11:49:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 3 Sep 2002 11:49:00 -0400 Received: from delta.ds2.pg.gda.pl ([213.192.72.1]:2041 "EHLO delta.ds2.pg.gda.pl") by vger.kernel.org with ESMTP id ; Tue, 3 Sep 2002 11:48:59 -0400 Date: Tue, 3 Sep 2002 17:53:39 +0200 (MET DST) From: "Maciej W. Rozycki" To: Rik van Riel cc: "Peter T. Breuer" , linux kernel Subject: Re: [RFC] mount flag "direct" In-Reply-To: Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 943 Lines: 24 On Tue, 3 Sep 2002, Rik van Riel wrote: > > Rationale: > > No caching means that each kernel doesn't go off with its own idea of > > what is on the disk in a file, at least. Dunno about directories and > > metadata. > > And what if they both allocate the same disk block to another > file, simultaneously ? You need a mutex then. For SCSI devices a reservation is the way to go -- the RESERVE/RELEASE commands are mandatory for direct-access devices, so thy should work universally for disks. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + - 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/