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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 18, 2010 at 08:21:31PM +0530, Nohez wrote:
> 
> Thank you for your reply.
> 
> I checked the archives and found a bug report. The function names in
> the call trace report are different from the ones I have reported.
> 
> Since it's an application bug, it does not matter which filesystem
> is being used. Can I assume that the data corruption can happen on
> ext3 too?

It depends on the way the filesystem handles parallelism when doing
direct IO. In general, though, you cannot rely on the filesystem
maintaining data coherence if you mix concurrent buffered/mmap IO
and direct IO to the same file. Filesystems do make efforts to
minimise the possibility of coherency problems, but they cannot be
prevented entirely. Hence the delegation of responsibility to the
application issuing the direct IO.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux