Subject: bypassing system cache?
To: None <>
From: Emmanuel Dreyfus <>
List: tech-kern
Date: 12/10/2007 09:39:05

I suspect I have a faulty disk controller. I would like to test that by
looping on writes and reads, and checking I get what I have poked on the

The problem is to avoid the system cache. As I understand, a call to fsync(2)
will ensure the data get pushed to the disk controller. How do I avoid the
read operations from being done from the system cache instead of from the 
disk controller?

Emmanuel Dreyfus