From: Linus Torvalds Subject: Re: [PATCH] direct-IO API change Date: Fri, 4 Oct 2002 16:44:46 -0700 (PDT) Sender: nfs-admin@lists.sourceforge.net Message-ID: References: <3D9E25A7.B3E13D8@digeo.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Badari Pulavarty , Janet Morgan , Chuck Lever , Linux Kernel Mailing List , Linux NFS List Return-path: Received: from neon-gw-l3.transmeta.com ([63.209.4.196] helo=neon-gw.transmeta.com) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17xc5x-000601-00 for ; Fri, 04 Oct 2002 16:42:57 -0700 To: Andrew Morton In-Reply-To: <3D9E25A7.B3E13D8@digeo.com> Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: On Fri, 4 Oct 2002, Andrew Morton wrote: > > > Especially since I thought that O_DIRECT on the regular file (or block > > device) performed about as well as raw does anyway these days? Or is that > > just one of my LSD-induced flashbacks? > > > > Now we're not holding i_sem for O_DIRECT writes to blockdevs, > I don't think the raw driver offers any advantages at all. It's > a compatibility thing to save people from having to add "|O_DIRECT" to > their source and then typing `ln -s /dev/hda1 /dev/raw/raw0'. Maybe the raw driver could become a shell that just adds the O_DIRECT? Unless it can do something more, of course.. Linus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs