xfs
[Top] [All Lists]

Re: NOW: o_direct -- WAS: Re: WARNING in xfs_lwr.c, xfs_write()

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: NOW: o_direct -- WAS: Re: WARNING in xfs_lwr.c, xfs_write()
From: Stewart Smith <stewart@xxxxxxxxxxxxxxxx>
Date: Fri, 28 May 2010 01:45:14 +1000
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20100527145714.GA28678@xxxxxxxxxxxxx>
References: <20100523002023.41f5a5c8@xxxxxxxxxxxxxxxxxxxxxxx> <20100523101856.GL2150@dastard> <20100523092344.0fcaab42@xxxxxxxxxxxxxxxxxxxxxxx> <4BF9FCA8.8090906@xxxxxxxxxxxxxxxxx> <20100524143428.6f3a117c@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100526070620.GT2150@dastard> <4BFD3926.6040208@xxxxxxxxxxxxxxxxx> <20100527114736.GA13112@xxxxxxxxxxxxx> <87pr0hbg4g.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100527145714.GA28678@xxxxxxxxxxxxx>
User-agent: Notmuch/0.3.1-17-gc50524e (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu)
On Thu, 27 May 2010 10:57:14 -0400, Christoph Hellwig <hch@xxxxxxxxxxxxx> 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

<Prev in Thread] Current Thread [Next in Thread>