>>>>> "Dave" == Dave Chinner <david@xxxxxxxxxxxxx> writes: Dave> If you are running DIF hardware, then XFS is only OK for direct Dave> IO. XFS will still get torn writes if you are overwriting Dave> buffered data (either by write() or mmap()) because there are no Dave> interlocks to prevent cached pages under writeback from being Dave> modified while DMA is being performed..... Didn't you use to wait_on_page_writeback() in page_mkwrite()? -- Martin K. Petersen Oracle Linux Engineering -- 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