[Top] [All Lists]

Data corruption during direct-IO

To: 'linux-mips' <>
Subject: Data corruption during direct-IO
From: 이재준 <>
Date: Tue, 29 Aug 2006 16:23:55 +0900
In-reply-to: <>
Original-recipient: rfc822;
Thread-index: AcahhBZjm5Q6FhFfR1OnbzKQpyBJXgpsgKLA
Hi everyone.

I'm working on some application which is using directly block device with
When the application writes some patterns and reads it again. The pattern
is broken with 32bytes. I think that is due to the data-cache coherent

So, I inserted the code dma_cache_inv() before direct-IO().

After the patch, it works well. 

Could you tell me why the data is broken and why mips-kernel doesn't handle
data cache?

Thanks for any comments. 

Best Regards

<Prev in Thread] Current Thread [Next in Thread>
  • Data corruption during direct-IO, 이재준 <=