Btw, allowing some kind of buffer cache write through would be an usefull
feature. Some applications (like data logging) work better blocks written
by an application are sent to the disk immediately. In this way the disk
I/O caused by the application is distributed over longer period of time
and it doesn't become an bottleneck. This kind of mode could be turned on
using fcntl() or something like it so that it doesn't disturb normal
applications. Is anybody interested in implementing this kind of feature
in Linux?
It's there already --- see O_SYNC.
- Ted