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

Eric Sandeen sandeen at sandeen.net
Wed Aug 18 19:47:09 CDT 2010


On Aug 18, 2010, at 6:43 AM, Dave Chinner <david at fromorbit.com> 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 at fromorbit.com
> 
> _______________________________________________
> xfs mailing list
> xfs at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
> 




More information about the xfs mailing list