WARNING in xfs_lwr.c, xfs_write()
Stan Hoeppner
stan at hardwarefreak.com
Sun May 23 23:12:24 CDT 2010
Roman Kononov put forth on 5/23/2010 9:23 AM:
> On 2010-05-23, 20:18:56 +1000, Dave Chinner <david at fromorbit.com> 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
More information about the xfs
mailing list