xfs
[Top] [All Lists]

Re: kernel bug in xfs_lrw.c (centos v5.5, directio, aio)

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: kernel bug in xfs_lrw.c (centos v5.5, directio, aio)
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed, 18 Aug 2010 19:47:09 -0500
Cc: Nohez <nohez@xxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
In-reply-to: <20100818114305.GR10429@dastard>
References: <alpine.LNX.2.00.1008171906220.21398@xxxxxxxxxxxxxxxxxx> <20100818114305.GR10429@dastard>
On Aug 18, 2010, at 6:43 AM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:

> On Tue, Aug 17, 2010 at 07:12:12PM +0530, Nohez wrote:
>> 
>> Hi,
>> 
>> I had a kernel bug today when running xfs on CentOS v5.5. I moved to
>> xfs from ext3 today.
>> 
>> The only application accessing the xfs filesystem is Sybase ASE v15.x.
>> Database has been configured to use directio with native kernel
>> asynchronous disk i/o enabled.
> 
> The warning is being issued because the application is mixing
> buffered IO with direct IO on the same file. i.e. data corruption
> waiting to happen. This is an application bug - the responsibility
> for ensuring data coherency and integrity is assumed by the
> application issuing the direct IO.
> 
You know... A clearer kernel message might help a lot here...

-Eric
> This was discussed in more detail on a recent thread on this list -
> you shoul dbe able to find it in the archives easily enough.
> 
>> Let me know if there is any other information I can provide to help
>> with debugging.
> 
> Report it to the application vendor - it's an application bug, not
> a filesystem bug.
> 
> Cheers,
> 
> Dave.
> -- 
> Dave Chinner
> david@xxxxxxxxxxxxx
> 
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs
> 

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