xfs
[Top] [All Lists]

Re: WARNING in xfs_lwr.c, xfs_write()

To: xfs@xxxxxxxxxxx
Subject: Re: WARNING in xfs_lwr.c, xfs_write()
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Sun, 23 May 2010 23:12:24 -0500
In-reply-to: <20100523092344.0fcaab42@xxxxxxxxxxxxxxxxxxxxxxx>
References: <20100523002023.41f5a5c8@xxxxxxxxxxxxxxxxxxxxxxx> <20100523101856.GL2150@dastard> <20100523092344.0fcaab42@xxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
Roman Kononov put forth on 5/23/2010 9:23 AM:
> On 2010-05-23, 20:18:56 +1000, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
>> You've got some workload that is mixing direct IO writes with some
>> form of buffered or mmap IO on the same file and they are racing.
>> Mixing different types of IO on the one inode is also known as A
>> Really Bad Idea because there is no guarantee of coherency between
>> them....
>>
>> Can you find out what the application is triggering this?
> 
> This is severely modified Postgresql, which does mix direct IO with
> buffered one.

"The whole notion of "direct IO" is totally braindamaged. Just say no.

        This is your brain: O
        This is your brain on O_DIRECT: .

        Any questions?"


                Linus

From:  http://lkml.org/lkml/2007/1/10/235


-- 
Stan

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