From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o4RFgrcr142804 for ; Thu, 27 May 2010 10:42:53 -0500 Received: from kaylee.flamingspork.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 9D8F8145452F for ; Thu, 27 May 2010 08:45:16 -0700 (PDT) Received: from kaylee.flamingspork.com (kaylee.flamingspork.com [74.207.245.61]) by cuda.sgi.com with ESMTP id vxXpkw7HAFyQYhjg for ; Thu, 27 May 2010 08:45:16 -0700 (PDT) From: Stewart Smith Subject: Re: NOW: o_direct -- WAS: Re: WARNING in xfs_lwr.c, xfs_write() In-Reply-To: <20100527145714.GA28678@infradead.org> References: <20100523002023.41f5a5c8@aaa.pulp.binarylife.net> <20100523101856.GL2150@dastard> <20100523092344.0fcaab42@aaa.pulp.binarylife.net> <4BF9FCA8.8090906@hardwarefreak.com> <20100524143428.6f3a117c@abend.internal.xtremedata.com> <20100526070620.GT2150@dastard> <4BFD3926.6040208@hardwarefreak.com> <20100527114736.GA13112@infradead.org> <87pr0hbg4g.fsf@willster.local.flamingspork.com> <20100527145714.GA28678@infradead.org> Date: Fri, 28 May 2010 01:45:14 +1000 Message-ID: <877hmpjqlx.fsf@willster.local.flamingspork.com> MIME-Version: 1.0 List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Christoph Hellwig Cc: Stan Hoeppner , xfs@oss.sgi.com On Thu, 27 May 2010 10:57:14 -0400, Christoph Hellwig wrote: > On Thu, May 27, 2010 at 11:58:55PM +1000, Stewart Smith wrote: > > There is O_DIRECT type functionality available on Windows, with similar > > restrictions for aligned IO too. You have to use the Win32 APIs to do it > > though, the POSIX ones won't get you it (or more than 2048 files open at > > once). > > > > In practice we've only ever found Solaris (other than linux) to be > > reliable with O_DIRECT (at least on UFS... ZFS is... well... I wouldn't > > run a database server on it yet). > > Solaris doesn't support O_DIRECT either, it instead has a separate > directio call - just another pointless difference. Oh yeah, casually forgot about that. Shows how much I'm writing new code on Solaris that is IO performance critical (on Solaris). -- Stewart Smith _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs