Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750871AbXAKQx4 (ORCPT ); Thu, 11 Jan 2007 11:53:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750880AbXAKQx4 (ORCPT ); Thu, 11 Jan 2007 11:53:56 -0500 Received: from smtp19.orange.fr ([80.12.242.17]:27411 "EHLO smtp19.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750871AbXAKQxz convert rfc822-to-8bit (ORCPT ); Thu, 11 Jan 2007 11:53:55 -0500 X-Greylist: delayed 317 seconds by postgrey-1.27 at vger.kernel.org; Thu, 11 Jan 2007 11:53:55 EST X-ME-UUID: 20070111164836435.6A5CE1C00049@mwinf1903.orange.fr Subject: Re: O_DIRECT question From: Xavier Bestel To: Linus Torvalds Cc: Nick Piggin , Aubrey , Hua Zhong , Hugh Dickins , linux-kernel@vger.kernel.org, hch@infradead.org, kenneth.w.chen@intel.com, akpm@osdl.org, mjt@tls.msk.ru In-Reply-To: References: <6d6a94c50701101857v2af1e097xde69e592135e54ae@mail.gmail.com> <45A5D4A7.7020202@yahoo.com.au> Content-Type: text/plain; charset=ISO-8859-15 Date: Thu, 11 Jan 2007 17:52:42 +0100 Message-Id: <1168534362.7365.3.camel@bip.parateam.prv> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 535 Lines: 16 Le jeudi 11 janvier 2007 ? 07:50 -0800, Linus Torvalds a ?crit : > > O_DIRECT is still crazily racy versus pagecache operations. > > Yes. O_DIRECT is really fundamentally broken. There's just no way to fix > it sanely. How about aliasing O_DIRECT to POSIX_FADV_NOREUSE (sortof) ? Xav - 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/