On Wed, Jun 02, 2010 at 03:37:48PM +0200, Christof Schmitt wrote: > On Tue, Jun 01, 2010 at 09:16:35AM -0400, Martin K. Petersen wrote: > > >>>>> "Christof" == Christof Schmitt <christof.schmitt@xxxxxxxxxx> writes: > > > > >> Yep, known bug. Page writeback locking is messed up for buffer_head > > >> users. The extNfs folks volunteered to look into this a while back > > >> but I don't think they have found the time yet. > > > > Christof> Thanks for the info. This means that this bug appears with all > > Christof> filesystems? > > > > XFS and btrfs should be fine. > > XFS looks good in my test, thanks for the hint. I am going to use XFS > for anything related to DIF for now. It would be nice to have a > solution that works for all filesystems, but it looks like this will > take some time and work. If you are running DIF hardware, then XFS is only OK for direct IO. XFS will still get torn writes if you are overwriting buffered data (either by write() or mmap()) because there are no interlocks to prevent cached pages under writeback from being modified while DMA is being performed..... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html