Re: Wrong DIF guard tag on ext2 write

From: Martin K. Petersen
Date: Thu Jun 03 2010 - 21:35:35 EST


>>>>> "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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/